~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include.am

  • Committer: Brian Aker
  • Date: 2010-08-18 16:12:58 UTC
  • mto: This revision was merged to the branch mainline in revision 1720.
  • Revision ID: brian@tangent.org-20100818161258-1vm71da888dfvwsx
Remove the code surrounding stack trace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# vim:ft=automake
2
2
# Copyright (C) 2000-2006 MySQL AB
3
 
# Copyright (c) 2010 Monty Taylor
4
3
#
5
4
# This library is free software; you can redistribute it and/or
6
5
# modify it under the terms of the GNU Library General Public
14
13
#
15
14
# You should have received a copy of the GNU Library General Public
16
15
# License along with this library; if not, write to the Free
17
 
# Software Foundation, Inc., 51 Franklin Place - Suite 330, Boston,
18
 
# MA 02110-1301, USA
 
16
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 
17
# MA 02111-1307, USA
19
18
 
20
19
benchdir_root=          $(prefix)
21
20
testdir =               $(benchdir_root)/mysql-test
23
22
GENSCRIPTS =            tests/dtr tests/mtr tests/test-run
24
23
PRESCRIPTS =            tests/test-run.pl tests/stress-test.pl
25
24
PLUGIN_TESTS =          $(pandora_plugin_test_list)
26
 
NORMAL_TESTS =          main,jp,tamil,regression,$(PLUGIN_TESTS)
27
 
ALL_TESTS =             main,big,jp,tamil,regression,$(PLUGIN_TESTS)
 
25
ALL_TESTS =             main,big,$(PLUGIN_TESTS)
28
26
noinst_SCRIPTS =        $(GENSCRIPTS) $(PRESCRIPTS)
29
27
CLEANFILES +=           $(GENSCRIPTS) tests/mtr
30
28
 
35
33
                --vardir=../${top_builddir}/tests/var \
36
34
                --suitepath=../${top_srcdir}/plugin \
37
35
                --testdir=../${top_srcdir}/tests \
38
 
                --dtr-build-thread=$$$$
39
 
 
40
 
TEST_RUN_MEM= $(PERL) -I../$(top_srcdir)/tests/lib \
41
 
              ../${top_srcdir}/tests/test-run.pl \
42
 
              --top-srcdir=../${top_srcdir} \
43
 
              --top-builddir=../${top_builddir} \
44
 
              --mem \
45
 
              --suitepath=../${top_srcdir}/plugin \
46
 
              --testdir=../${top_srcdir}/tests \
47
 
              --dtr-build-thread=$$$$
 
36
                --mtr-build-thread=$$$$
48
37
 
49
38
EXTRA_DIST += \
50
39
        $(EXTRA_SCRIPTS) \
59
48
        ${srcdir}/tests/r/pbxt/*result \
60
49
        ${srcdir}/tests/std_data \
61
50
        ${srcdir}/tests/lib/*.pl \
62
 
        ${srcdir}/tests/lib/My/*.pm \
63
 
        tests/strip-valgrind
 
51
        ${srcdir}/tests/lib/My/*.pm
64
52
 
65
53
check-local: test-drizzle
66
54
 
104
92
test-all:
105
93
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(ALL_TESTS))
106
94
 
107
 
test-mem:
108
 
        ( cd tests && $(TEST_RUN_MEM) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS))
109
 
 
110
95
test-drizzle:
111
 
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS))
 
96
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=main,$(PLUGIN_TESTS))
112
97
 
113
98
test-valgrind:
114
 
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --force --suite=$(NORMAL_TESTS) && python strip-valgrind)
 
99
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --force --suite=main,$(PLUGIN_TESTS))
115
100
 
116
101
test-valgrind-suppressions:
117
 
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --valgrind-option='--gen-suppressions=all' --valgrind-option='--show-reachable=yes' --force --suite=$(NORMAL_TESTS) && python strip-valgrind)
 
102
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --valgrind-option='--gen-suppressions=all' --valgrind-option='--show-reachable=yes' --force --suite=main,$(PLUGIN_TESTS))
118
103
 
119
104
test-junitxml:
120
 
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS) --subunit | subunit2junitxml --no-passthrough > junit-format.xml )
 
105
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=main,$(PLUGIN_TESTS) --subunit | subunit2junitxml --no-passthrough > junit-format.xml )
121
106
 
122
107
test-big:
123
108
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big )