X-Git-Url: http://nitlanguage.org diff --git a/tests/Makefile b/tests/Makefile index b75c520..0b8c466 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,17 +1,42 @@ -all: separate global icode +PROGS=*.nit ../examples/*.nit ../examples/leapfrog/leapfrog.nit ../examples/shoot/shoot_logic.nit ../contrib/pep8analysis/src/pep8analysis ../contrib/nitiwiki/src/nitiwiki ../lib/*.nit ../src/nitdoc.nit ../src/test_parser.nit ../src/nit.nit ../src/nitmetrics.nit ../src/nitc.nit -separate: - ./tests.sh *.nit ../examples/*.nit ../lib/*.nit ../src/nitdoc.nit ../src/nitc.nit ../src/test_parser.nit +all: niti nitg-g nitg-s + +alot: niti nitg-g nitg-s nitg-s-bm nitg-s-phmod nitg-s-phand nitg-e nitg-e-bm nitg-e-phmod nitg-e-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../src/nits.nit ../src/test_parser.nit +niti: + ./testfull.sh --engine niti + +nitg-g: + ./testfull.sh --engine nitg-g + +nitg-s: + ./testfull.sh --engine nitg-s + +nitg-s-bm: + ./testfull.sh --engine nitg-s -o --bm-typing + +nitg-s-phmod: + ./testfull.sh --engine nitg-s -o --phmod-typing + +nitg-s-phand: + ./testfull.sh --engine nitg-s -o --phand-typing + +nitg-e: + ./testfull.sh --engine nitg-e + +nitg-e-bm: + ./testfull.sh --engine nitg-e -o --bm-typing + +nitg-e-phmod: + ./testfull.sh --engine nitg-e -o --phmod-typing -icode: - ./tests_icode.sh icode*.nit +nitg-e-phand: + ./testfull.sh --engine nitg-e -o --phand-typing failed: @[ ! -s errlist ] && echo 'No failed tests to execute' ; true @@ -21,4 +46,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