Merge: Basename fix
[nit.git] / tests / Makefile
1
2 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
3
4 all: niti nitcg nitcs
5
6 alot: niti nitcg nitcs nitcs-bm nitcs-phmod nitcs-phand nitce nitce-bm nitce-phmod nitce-phand icode
7
8 some:
9 ./tests.sh base_compile.nit base_attr.nit base_gen.nit test_gen_inh.nit bench_fib.nit example_objet.nit
10
11 niti:
12 ./testfull.sh --engine niti
13
14 nitcg:
15 ./testfull.sh --engine nitcg
16
17 nitcs:
18 ./testfull.sh --engine nitcs
19
20 nitcs-bm:
21 ./testfull.sh --engine nitcs -o --bm-typing
22
23 nitcs-phmod:
24 ./testfull.sh --engine nitcs -o --phmod-typing
25
26 nitcs-phand:
27 ./testfull.sh --engine nitcs -o --phand-typing
28
29 nitce:
30 ./testfull.sh --engine nitce
31
32 nitce-bm:
33 ./testfull.sh --engine nitce -o --bm-typing
34
35 nitce-phmod:
36 ./testfull.sh --engine nitce -o --phmod-typing
37
38 nitce-phand:
39 ./testfull.sh --engine nitce -o --phand-typing
40
41 failed:
42 @[ ! -s errlist ] && echo 'No failed tests to execute' ; true
43 @[ -s errlist ] && ./tests.sh `cat errlist | sort -u` ; true
44
45 store:
46 ./store_save.sh *.nit
47
48 clean:
49 rm -r -f -- out/ alt nit_compile errlist errlist.bak *.xml 2> /dev/null || true