source: tags/arb-6.0.1/UNIT_TESTER/Makefile.setup.template

Last change on this file was 11401, checked in by westram, 10 years ago
  • reintegrates 'tree' into 'trunk':
    • consensus trees:
      • support for merging partial trees ("worked" before, but results were crap; implements #65)
      • generated trees are automatically re-rooted and -ordered
      • always list source trees in consensus-tree-comment; show info about partial trees
      • fixed progress bar
    • made GBT_TREE a base class of other tree classes (implements #31)
    • save tree properties in properties (not in DB)
    • new functions 'Remove zombies/marked from ALL trees'
    • tree load/save: layout fixes
    • unit tests
      • added tests for basic tree modifications (PARSIMONY)
    • performance:
      • compute_tree updates tree information in one traversal
      • tree generators are now capable to generate any type of tree (w/o needing to copy it once)
    • bugfixes:
      • NNI (of marked species) was also always performed for colored species
      • centered beautify-order is stable now
      • improved 'search optimal root'
  • adds:
File size: 3.8 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# for higher leak resolution edit ../SOURCE_TOOLS/arb_valgrind@resolution
26
27# ---------- restrict tests to modules matching regexpr 'RESTRICT_MODULE':
28RESTRICT_MODULE='.'
29#RESTRICT_MODULE='ED4_mini_classes\.cxx'
30#RESTRICT_MODULE='(ED4_mini_classes|ED4_cursor)\.cxx'
31
32# ---------- restrict tests by name to test-functions matching regexpr 'RESTRICT_FUN':
33RESTRICT_FUN='.'
34#RESTRICT_FUN='arb_export_tree'
35#RESTRICT_FUN='tree'
36
37# ---------- restrict what coverage is displayed
38# to activate COVERAGE edit ../config.makefile@COVERAGE
39
40RESTRICT_COVERAGE=MODULE # only show for RESTRICT_MODULE (if '.' -> restrict to tested modules)
41#RESTRICT_COVERAGE=NO # show all
42#RESTRICT_COVERAGE='(ED4_mini_classes|ED4_cursor)\.cxx'
43
44# ---------- define how uncovered sections are sorted
45
46SORT_COVERAGE=LOCATION # line order
47#SORT_COVERAGE=SIZE # sort by size (biggest uncovered region first)
48
49# ---------- restrict tests to library with basename
50# (empty=no restriction, ':'-separated list of allowed test-names)
51#
52RESTRICT_LIB=# run all tests
53
54#RESTRICT_LIB=NOSUCHLIB# run no tests (useful to generate patch on successful compilation)
55#RESTRICT_LIB=arb_help2xml
56#RESTRICT_LIB=libARBDB
57#RESTRICT_LIB=libAWT
58#RESTRICT_LIB=AWTC
59#RESTRICT_LIB=CONVERTALN
60#RESTRICT_LIB=FAST_ALIGNER
61#RESTRICT_LIB=MERGE
62#RESTRICT_LIB=mkptypes
63#RESTRICT_LIB=NTREE
64#RESTRICT_LIB=SEQIO
65#RESTRICT_LIB=libCORE
66#RESTRICT_LIB=EDIT4
67#RESTRICT_LIB=TREEDISP
68#RESTRICT_LIB=PARSIMONY
69
70#RESTRICT_LIB=arb_probe
71#RESTRICT_LIB=arb_probe:arb_test
72#RESTRICT_LIB=arb_test
73
74#RESTRICT_LIB=libCORE:libARBDB
75#RESTRICT_LIB=AWTC:FAST_ALIGNER
76#RESTRICT_LIB=SEQIO:CONVERTALN
77#RESTRICT_LIB=client:arb_probe:AWTC
78#RESTRICT_LIB=libARBDB:libWINDOW:SEQIO
79#RESTRICT_LIB=libARBDB:DBSERVER
80#RESTRICT_LIB=TREE_READ:CONSENSUS_TREE:arb_consensus_tree:arb_test:TREEDISP
81
82#RESTRICT_LIB=CONSENSUS_TREE:arb_consensus_tree:DIST:NEIGHBOURJOIN# NJ related
83#RESTRICT_LIB=arb_probe:arb_test:AWTC:PTCLEAN:PROBE:MULTI_PROBE# ptserver related tests
84#RESTRICT_LIB=TREE_READ:CONSENSUS_TREE:arb_consensus_tree:arb_test:TREEDISP:PARSIMONY# tree related tests
85#RESTRICT_LIB=libARBDB:TREE_READ:CONSENSUS_TREE:arb_consensus_tree:arb_test:TREEDISP:PARSIMONY# tree related tests (including tree handling in ARBDB)
86
87# ---------- slow tests
88SKIP_SLOW=15# skip slow tests (run only every SKIP_SLOW minutes)
89SKIP_SLOW=0# always run all tests
90
91# ---------- warnings?
92WARN_LEVEL=1# enable warnings (recommended)
93#WARN_LEVEL=0# disable warnings
94
95# ---------- unit tests create a patch each time tests pass ok
96# PATCHES_KEEP_HOURS and PATCHES_MIN_KEPT define when patches are removed again
97
98#PATCHES_KEEP_HOURS=336# delete created patches after two weeks
99PATCHES_KEEP_HOURS=168# delete created patches after one week
100#PATCHES_KEEP_HOURS=72# delete created patches after 3 days
101#PATCHES_KEEP_HOURS=0# delete created patches instantly (always PATCHES_MIN_KEPT patches present)
102
103PATCHES_MIN_KEPT=50# how many patches to keep at least
104
105# ---------- end
106
107
Note: See TracBrowser for help on using the repository browser.