tools: generate logs in a selected directory
[nit.git] / tests / Makefile
index ed6ef6b..173d25f 100644 (file)
@@ -1,9 +1,17 @@
+
 all:
-       ./tests.sh *.nit ../examples/*.nit 
+       ./tests.sh *.nit ../examples/*.nit ../src/nitdoc.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 ../src/nitdoc.nit
+
+failed:
+       @[ ! -s errlist ] && echo 'No failed tests to execute' ; true
+       @[ -s errlist ] && ./tests.sh `cat errlist | sort -u` ; true
+
 store:
        ./store_save.sh *.nit