<commit_before>#
#  Convenience Makefile; SCons is used for the actual build
#

.PHONY: default all clean test install

default:	all

all:
	scons -s -j 8

clean:
	scons -c -s

test:
	cd testcases; python runtests.py --run-duk --run-nodejs --run-rhino --num-threads 8 --test-log=/tmp/duk-test.log --test-all --cmd-duk=$(shell pwd)/build/400/duk.400

install:
	scons -j 8 install

<commit_msg>change unit testing to use node-based test runner<commit_after>#
#  Convenience Makefile; SCons is used for the actual build
#

.PHONY: default all clean test install

default:	all

all:
	scons -s -j 8

clean:
	scons -c -s

test:
	node runtests/runtests.js --run-duk --cmd-duk=$(shell pwd)/build/400/duk.400 --run-nodejs --run-rhino --num-threads 8 --log-file=/tmp/duk-test.log testcases/

vgtest:
	node runtests/runtests.js --run-duk --cmd-duk=$(shell pwd)/build/400/duk.400 --run-nodejs --run-rhino --num-threads 1 --log-file=/tmp/duk-vgtest.log --valgrind testcases/
	
install:
	scons -j 8 install


{'fraction_non_alphanumeric': 0.1470292044310171, 'fraction_numerical': 0.025176233635448138, 'mean_word_length': 3.057142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1124921', 'n_tokens_mistral': 417, 'n_tokens_neox': 392, 'n_words': 110}