update NOTICE and LICENSE
[nit.git] / tests / Makefile
index 7b8ab2d..a45286a 100644 (file)
@@ -1,13 +1,21 @@
 
-all:
-       ./tests.sh *.nit ../examples/*.nit ../src/nitdoc.nit
+all: separate global icode
+
+separate:
+       ./tests.sh *.nit ../examples/*.nit ../lib/*.nit ../src/nitdoc.nit ../src/nitc.nit ../src/test_parser.nit
 
 some:
        ./tests.sh base_compile.nit base_attr.nit base_gen.nit test_gen_inh.nit bench_fib.nit example_objet.nit
 
+global:
+       ./tests.sh -o --global *.nit ../examples/*.nit ../lib/*.nit ../src/nitdoc.nit ../src/nitc.nit ../src/test_parser.nit
+
+icode:
+       ./tests_icode.sh icode*.nit
+
 failed:
-       @[[ ! -s errlist ]] && echo 'No failed tests to execute' ; true
-       @[[ -s errlist ]] && ./tests.sh `cat errlist | sort -u` ; true
+       @[ ! -s errlist ] && echo 'No failed tests to execute' ; true
+       @[ -s errlist ] && ./tests.sh `cat errlist | sort -u` ; true
 
 store:
        ./store_save.sh *.nit