Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / Makefile
index 3d91575..07b39b1 100644 (file)
@@ -1,17 +1,40 @@
 
-all: separate global icode
+all: niti nitcg nitcs
 
-separate:
-       ./tests.sh *.nit ../examples/*.nit ../lib/*.nit ../src/nitdoc.nit ../src/nitc.nit
+alot: niti nitcg nitcs nitcs-bm nitcs-phmod nitcs-phand nitce nitce-bm nitce-phmod nitce-phand icode
 
 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
+niti:
+       ./testfull.sh --engine niti
 
-icode:
-       ./tests_icode.sh icode*.nit
+nitcg:
+       ./testfull.sh --engine nitcg
+
+nitcs:
+       ./testfull.sh --engine nitcs
+
+nitcs-bm:
+       ./testfull.sh --engine nitcs -o --bm-typing
+
+nitcs-phmod:
+       ./testfull.sh --engine nitcs -o --phmod-typing
+
+nitcs-phand:
+       ./testfull.sh --engine nitcs -o --phand-typing
+
+nitce:
+       ./testfull.sh --engine nitce
+
+nitce-bm:
+       ./testfull.sh --engine nitce -o --bm-typing
+
+nitce-phmod:
+       ./testfull.sh --engine nitce -o --phmod-typing
+
+nitce-phand:
+       ./testfull.sh --engine nitce -o --phand-typing
 
 failed:
        @[ ! -s errlist ] && echo 'No failed tests to execute' ; true
@@ -21,4 +44,4 @@ store:
        ./store_save.sh *.nit
 
 clean:
-       @rm -r -f -- *.bin *.res *.write *.err *.log alt || true
+       rm -r -f -- out/ alt nit_compile errlist errlist.bak *.xml 2> /dev/null || true