nitstats: renamed in nitmetrics
[nit.git] / tests / Makefile
1
2 PROGS=*.nit ../examples/*.nit ../examples/leapfrog/leapfrog.nit ../examples/shoot/shoot_logic.nit ../lib/*.nit ../src/nitdoc.nit ../src/nits.nit ../src/nitc.nit ../src/test_parser.nit ../src/nit.nit ../src/nitmetrics.nit ../src/nitg.nit
3
4 all: separate global niti nitg icode
5
6 separate:
7 ./tests.sh ${PROGS}
8
9 some:
10 ./tests.sh base_compile.nit base_attr.nit base_gen.nit test_gen_inh.nit bench_fib.nit example_objet.nit
11
12 global:
13 ./tests.sh -o --global ${PROGS}
14
15 niti:
16 ./tests.sh --engine niti ${PROGS}
17
18 nitg:
19 ./tests.sh --engine nitg ${PROGS}
20
21 nitdoc:
22 ./tests.sh ../src/nitdoc.nit
23
24 icode:
25 ./tests_icode.sh icode*.nit
26
27 failed:
28 @[ ! -s errlist ] && echo 'No failed tests to execute' ; true
29 @[ -s errlist ] && ./tests.sh `cat errlist | sort -u` ; true
30
31 store:
32 ./store_save.sh *.nit
33
34 clean:
35 rm -r -f -- out/ alt .nit_compile errlist 2> /dev/null || true
36
37 distclean: clean