nitg: introduction of the the global compiler
[nit.git] / tests / Makefile
1
2 PROGS=*.nit ../examples/*.nit ../lib/*.nit ../src/nitdoc.nit ../src/nits.nit ../src/nitc.nit ../src/test_parser.nit ../src/nit.nit ../src/nitstats.nit ../src/nitg.nit
3
4 all: separate global 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 nitdoc:
16 ./tests.sh ../src/nitdoc.nit
17
18 icode:
19 ./tests_icode.sh icode*.nit
20
21 failed:
22 @[ ! -s errlist ] && echo 'No failed tests to execute' ; true
23 @[ -s errlist ] && ./tests.sh `cat errlist | sort -u` ; true
24
25 store:
26 ./store_save.sh *.nit
27
28 clean:
29 rm -r -f -- out/ alt .nit_compile errlist 2> /dev/null || true
30
31 distclean: clean