Added expected output to READMEs for examples.
[vvhitespace] / Makefile
index 1412ac5..1b5e913 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 # (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
 # (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
-# All rights reserved.
+# See LICENSE.txt file for copyright and license details.
 
 ####################################################################################################
 # Configuration
 
 ####################################################################################################
 # Configuration
@@ -18,9 +18,17 @@ vvi:
 vvc:
        $(CC) $(CC_FLAGS) -o $@ vv_compiler.c
 
 vvc:
        $(CC) $(CC_FLAGS) -o $@ vv_compiler.c
 
-test: all
-       @echo "Starting test suite:"
-       @./vv_test.py
-
 clean:
        @rm -f vvc vvc.core vvi vvi.core
 clean:
        @rm -f vvc vvc.core vvi vvi.core
+
+test: testvvi teststdlib
+
+testvvi: all
+       @cd tests; make test
+
+teststdlib: all
+       @cd stdlib_tests; make test
+
+testclean:
+       @cd tests; make clean
+       @cd stdlib_tests; make clean