From 90c56d31352a0eeccd382ef5921baf3af4971040 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 26 Jan 2018 20:20:12 -0800 Subject: Added a ton of tests for virtually all the functionality. Helped me find and fix a lot of latent problems. --- compile_lib.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compile_lib.sh') diff --git a/compile_lib.sh b/compile_lib.sh index c8d573e..8cdfcdb 100755 --- a/compile_lib.sh +++ b/compile_lib.sh @@ -24,3 +24,8 @@ for file in $(cat lib/core.nom | lua -e "for filename in io.read('*a'):gmatch('u ./nomsu.moon -c $file echo "done." done +for file in $(cat tests/all.nom | lua -e "for filename in io.read('*a'):gmatch('run file \"([^\"]*)\"') do print(filename) end") ; do + printf "Compiling $file ..." + ./nomsu.moon -c $file + echo "done." +done -- cgit v1.2.3