nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nitmetrics: moved CSVDocument from metrics_base to /lib
[nit.git]
/
tests
/
Makefile
diff --git
a/tests/Makefile
b/tests/Makefile
index
dc11450
..
3220876
100644
(file)
--- a/
tests/Makefile
+++ b/
tests/Makefile
@@
-1,14
+1,37
@@
-all:
- ./tests.sh *.nit ../examples/*.nit
+
+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
+
+all: separate global niti nitg icode
+
+separate:
+ ./tests.sh ${PROGS}
some:
./tests.sh base_compile.nit base_attr.nit base_gen.nit test_gen_inh.nit bench_fib.nit example_objet.nit
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 ${PROGS}
+
+niti:
+ ./tests.sh --engine niti ${PROGS}
+
+nitg:
+ ./tests.sh --engine nitg ${PROGS}
+
+nitdoc:
+ ./tests.sh ../src/nitdoc.nit
+
+icode:
+ ./tests_icode.sh icode*.nit
+
failed:
failed:
- ./tests.sh `sort -u errlist`
+ @[ ! -s errlist ] && echo 'No failed tests to execute' ; true
+ @[ -s errlist ] && ./tests.sh `cat errlist | sort -u` ; true
store:
./store_save.sh *.nit
clean:
store:
./store_save.sh *.nit
clean:
- @rm -r -f -- *.bin *.res *.write *.err *.log alt || true
+ rm -r -f -- out/ alt .nit_compile errlist 2> /dev/null || true
+
+distclean: clean