tests: use [ ] instead of [[ ]] in Makefile
[nit.git] / tests / Makefile
index dc11450..2b01363 100644 (file)
@@ -1,11 +1,13 @@
+
 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
 
 failed:
-       ./tests.sh `sort -u errlist`
+       @[ ! -s errlist ] && echo 'No failed tests to execute' ; true
+       @[ -s errlist ] && ./tests.sh `cat errlist | sort -u` ; true
 
 store:
        ./store_save.sh *.nit