source: tags/ms_r16q2/UNIT_TESTER/Makefile.setup.template

Last change on this file was 12585, checked in by epruesse, 10 years ago

disable UNIT_TESTER warnings by default

File size: 3.9 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# ---------- slow tests
10#SKIP_SLOW=15# skip slow tests (run only every SKIP_SLOW minutes)
11SKIP_SLOW=0# always run all tests
12
13# ---------- warnings?
14#WARN_LEVEL=1# enable warnings (recommended)
15WARN_LEVEL=0# disable warnings
16
17# ---------- only changed tests?
18ONLY_CHANGED_TESTS=1# only run changed tests
19#ONLY_CHANGED_TESTS=0# also run unchanged tests
20
21# ---------- Valgrind
22# @@@ valgrind makes tests fail atm
23# (most likely two pt-servers try to start parallel on the same port)
24VALGRIND=# do not valgrind anything
25#VALGRIND=A# run valgrind after sucessful test
26#VALGRIND=B# run valgrind before test (useful if test traps w/o any helpful information)
27#VALGRIND=E# run external tools in valgrind (must be coded; look for make_valgrinded_call())
28#VALGRIND=AE# valgrind after tests and external tools
29
30# also see test_unit.h@ENABLE_CRASH_TESTS
31# also see ../TEMPLATES/ut_valgrinded.h@VALGRIND_ONLY_SOME
32
33# ---------- Leak checking needs VALGRIND!=0
34#CHECK_LEAKS=0# check no leaks
35CHECK_LEAKS=1# check definite leaks
36#CHECK_LEAKS=2# check reachable leaks
37# for higher leak resolution edit ../SOURCE_TOOLS/arb_valgrind@resolution
38
39# ---------- restrict tests to modules matching regexpr 'RESTRICT_MODULE':
40RESTRICT_MODULE='.'
41#RESTRICT_MODULE='ED4_mini_classes\.cxx'
42#RESTRICT_MODULE='(ED4_mini_classes|ED4_cursor)\.cxx'
43
44# ---------- restrict tests by name to test-functions matching regexpr 'RESTRICT_FUN':
45RESTRICT_FUN='.'
46#RESTRICT_FUN='arb_export_tree'
47#RESTRICT_FUN='tree'
48
49# ---------- restrict what coverage is displayed
50# to activate COVERAGE edit ../config.makefile@COVERAGE
51
52RESTRICT_COVERAGE=MODULE # only show for RESTRICT_MODULE (if '.' -> restrict to tested modules)
53#RESTRICT_COVERAGE=NO # show all
54#RESTRICT_COVERAGE='(ED4_mini_classes|ED4_cursor)\.cxx'
55
56# ---------- define how uncovered sections are sorted
57
58SORT_COVERAGE=LOCATION # line order
59#SORT_COVERAGE=SIZE # sort by size (biggest uncovered region first)
60
61# ---------- restrict tests to library with basename
62# (empty=no restriction, ':'-separated list of allowed test-names)
63#
64RESTRICT_LIB=# run all tests
65
66#RESTRICT_LIB=NOSUCHLIB# run no tests (useful to generate patch on successful compilation)
67#RESTRICT_LIB=arb_help2xml
68#RESTRICT_LIB=libARBDB
69#RESTRICT_LIB=libAWT
70#RESTRICT_LIB=AWTC
71#RESTRICT_LIB=CONVERTALN
72#RESTRICT_LIB=FAST_ALIGNER
73#RESTRICT_LIB=MERGE
74#RESTRICT_LIB=mkptypes
75#RESTRICT_LIB=NTREE
76#RESTRICT_LIB=SEQIO
77#RESTRICT_LIB=libCORE
78#RESTRICT_LIB=EDIT4
79#RESTRICT_LIB=TREEDISP
80#RESTRICT_LIB=PARSIMONY
81
82#RESTRICT_LIB=arb_probe
83#RESTRICT_LIB=arb_probe:arb_test
84#RESTRICT_LIB=arb_test
85
86#RESTRICT_LIB=libCORE:libARBDB
87#RESTRICT_LIB=AWTC:FAST_ALIGNER
88#RESTRICT_LIB=SEQIO:CONVERTALN
89#RESTRICT_LIB=client:arb_probe:AWTC
90#RESTRICT_LIB=libARBDB:libWINDOW:SEQIO
91#RESTRICT_LIB=libARBDB:DBSERVER
92#RESTRICT_LIB=TREE_READ:CONSENSUS_TREE:arb_consensus_tree:arb_test:TREEDISP
93
94#RESTRICT_LIB=CONSENSUS_TREE:arb_consensus_tree:DIST:NEIGHBOURJOIN# NJ related
95#RESTRICT_LIB=arb_probe:arb_test:AWTC:PTCLEAN:PROBE:MULTI_PROBE# ptserver related tests
96#RESTRICT_LIB=TREE_READ:CONSENSUS_TREE:arb_consensus_tree:arb_test:TREEDISP:PARSIMONY# tree related tests
97#RESTRICT_LIB=libARBDB:TREE_READ:CONSENSUS_TREE:arb_consensus_tree:arb_test:TREEDISP:PARSIMONY# tree related tests (including tree handling in ARBDB)
98
99# ---------- unit tests create a patch each time tests pass ok
100# PATCHES_KEEP_HOURS and PATCHES_MIN_KEPT define when patches are removed again
101
102#PATCHES_KEEP_HOURS=336# delete created patches after two weeks
103PATCHES_KEEP_HOURS=168# delete created patches after one week
104#PATCHES_KEEP_HOURS=72# delete created patches after 3 days
105#PATCHES_KEEP_HOURS=0# delete created patches instantly (always PATCHES_MIN_KEPT patches present)
106
107PATCHES_MIN_KEPT=50# how many patches to keep at least
108
109# ---------- end
110
111
Note: See TracBrowser for help on using the repository browser.