946f6be21a86a0a8470c2c44df9f0de554eb3186
[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
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 icode:
16 ./tests_icode.sh icode*.nit
17
18 failed:
19 @[ ! -s errlist ] && echo 'No failed tests to execute' ; true
20 @[ -s errlist ] && ./tests.sh `cat errlist | sort -u` ; true
21
22 store:
23 ./store_save.sh *.nit
24
25 clean:
26 rm -r -f -- *.bin *.res *.write *.err *.log alt .nit_compile errlist 2> /dev/null || true
27
28 distclean: clean