source: tags/svn.1.5.4/UNIT_TESTER/Makefile.setup.template

Last change on this file was 7808, checked in by westram, 13 years ago

merge from dev [7736] [7740] [7741]

  • avoid accidental checkins of UNIT_TESTER/Makefile.setup
File size: 2.5 KB
Line 
1# ---------- setup file for unit tests
2
3# ---------- Debugging
4DEADLOCKGUARD=1# install guard to avoid deadlocks (SVN default!)
5#DEADLOCKGUARD=0# dont install guard (needed to debug in gdb)
6
7# also see test_unit.h@ENABLE_CRASH_TESTS
8
9# ---------- Valgrind
10# @@@ valgrind makes tests fail atm
11# (most likely two pt-servers try to start parallel on the same port)
12VALGRIND=# do not valgrind anything
13#VALGRIND=A# run valgrind after sucessful test
14#VALGRIND=B# run valgrind before test (useful if test traps w/o any helpful information)
15#VALGRIND=E# run external tools in valgrind (must be coded; look for make_valgrinded_call())
16#VALGRIND=AE# valgrind after tests and external tools
17
18# also see test_unit.h@ENABLE_CRASH_TESTS
19# also see ../TEMPLATES/ut_valgrinded.h@VALGRIND_ONLY_SOME
20
21# ---------- Leak checking needs VALGRIND!=0
22CHECK_LEAKS=0# check no leaks
23CHECK_LEAKS=1# check definite leaks
24#CHECK_LEAKS=2# check reachable leaks
25
26# ---------- restrict tests to modules matching regexpr 'RESTRICT_MODULE':
27RESTRICT_MODULE='.'
28#RESTRICT_MODULE='MG_species\.cxx'
29
30# ---------- restrict tests to library with basename
31# (empty=no restriction, ':'-separated list of allowed test-names)
32#
33RESTRICT_LIB=# run all tests
34
35#RESTRICT_LIB=NOSUCHLIB# run no tests (useful to generate patch on successful compilation)
36#RESTRICT_LIB=arb_help2xml
37#RESTRICT_LIB=ARBDB
38#RESTRICT_LIB=AWT
39#RESTRICT_LIB=AWTC
40#RESTRICT_LIB=CONVERTALN
41#RESTRICT_LIB=FAST_ALIGNER
42#RESTRICT_LIB=MERGE
43#RESTRICT_LIB=mkptypes
44#RESTRICT_LIB=NTREE
45#RESTRICT_LIB=SEQIO
46#RESTRICT_LIB=CORE
47#RESTRICT_LIB=EDIT4
48#RESTRICT_LIB=TREEDISP
49
50#RESTRICT_LIB=arb_probe
51#RESTRICT_LIB=arb_probe:arb_test
52#RESTRICT_LIB=arb_test
53
54#RESTRICT_LIB=CORE:ARBDB
55#RESTRICT_LIB=AWTC:FAST_ALIGNER
56#RESTRICT_LIB=SEQIO:CONVERTALN
57#RESTRICT_LIB=client:arb_probe:AWTC
58#RESTRICT_LIB=ARBDB:WINDOW:SEQIO
59
60# ---------- slow tests
61SKIP_SLOW=15# skip slow tests (run only every SKIP_SLOW minutes)
62SKIP_SLOW=0# always run all tests
63
64# ---------- warnings?
65WARN_LEVEL=1# enable warnings (recommended)
66#WARN_LEVEL=0# disable warnings
67
68# ---------- unit tests create a patch each time tests pass ok
69# PATCHES_KEEP_HOURS and PATCHES_MIN_KEPT define when patches are removed again
70
71#PATCHES_KEEP_HOURS=336# delete created patches after two weeks
72PATCHES_KEEP_HOURS=168# delete created patches after one week
73#PATCHES_KEEP_HOURS=72# delete created patches after 3 days
74#PATCHES_KEEP_HOURS=0# delete created patches instantly (always PATCHES_MIN_KEPT patches present)
75
76PATCHES_MIN_KEPT=50# how many patches to keep at least
77
78# ---------- end
79
80
Note: See TracBrowser for help on using the repository browser.