~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include.am

  • Committer: Lee Bieber
  • Date: 2011-01-12 02:31:03 UTC
  • mfrom: (2068.7.5 session-fix)
  • mto: This revision was merged to the branch mainline in revision 2076.
  • Revision ID: kalebral@gmail.com-20110112023103-nmz26cv1j32jc6n3
Merge Brian - fix bug 527084 - DROP TABLE: getTableDefiniton returns EEXIST but doDropTable returns ENOENT leads to SIGSEGV

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
GENSCRIPTS =            tests/dtr tests/mtr tests/test-run
24
24
PRESCRIPTS =            tests/test-run.pl tests/stress-test.pl
25
25
PLUGIN_TESTS =          $(pandora_plugin_test_list)
26
 
NORMAL_TESTS =          main,bool_type,cast,ddl_transactions,execute,flush_tables,identifiers,jp,mysql_compatibility,regression,tamil,time_type,unsigned_integer_type,uuid_type,microtime_type,$(PLUGIN_TESTS)
 
26
NORMAL_TESTS =          main,bool_type,cast,flush_tables,identifiers,jp,mysql_compatibility,regression,tamil,time_type,unsigned_integer_type,uuid_type,microtime_type,$(PLUGIN_TESTS)
27
27
ALL_TESTS =             main,big,jp,tamil,regression,microtime_type,$(PLUGIN_TESTS)
28
28
noinst_SCRIPTS =        $(GENSCRIPTS) $(PRESCRIPTS)
29
29
CLEANFILES +=           $(GENSCRIPTS) tests/mtr
33
33
                --top-srcdir=../${top_srcdir} \
34
34
                --top-builddir=../${top_builddir} \
35
35
                --vardir=../${top_builddir}/tests/var \
36
 
                --reorder \
37
36
                --suitepath=../${top_srcdir}/plugin \
38
37
                --testdir=../${top_srcdir}/tests \
39
38
                --dtr-build-thread=$$$$
43
42
              --top-srcdir=../${top_srcdir} \
44
43
              --top-builddir=../${top_builddir} \
45
44
              --mem \
46
 
              --reorder \
47
45
              --suitepath=../${top_srcdir}/plugin \
48
46
              --testdir=../${top_srcdir}/tests \
49
47
              --dtr-build-thread=$$$$
50
48
 
51
 
TEST_RUN_DBQP= $(PYTHON) ../$(top_srcdir)/tests/dbqp.py \
52
 
                --top-srcdir=../${top_srcdir} \
53
 
                --top-builddir=../${top_builddir} \
54
 
                --reorder \
55
 
                --basedir=../${top_srcdir} \
56
 
                --testdir=../${top_srcdir}/tests \
57
 
                --workdir=../${top_srcdir}/tests/dbqp_work
58
 
 
59
 
 
60
49
EXTRA_DIST += \
61
50
        $(EXTRA_SCRIPTS) \
62
51
        ${srcdir}/tests/README.stress \
70
59
        ${srcdir}/tests/r/pbxt/*result \
71
60
        ${srcdir}/tests/std_data \
72
61
        ${srcdir}/tests/lib/*.pl \
73
 
        ${srcdir}/tests/lib/*.py \
74
62
        ${srcdir}/tests/lib/My/*.pm \
75
 
        ${srcdir}/tests/lib/server_mgmt/*py \
76
 
        ${srcdir}/tests/lib/sys_mgmt/*py \
77
 
        ${srcdir}/tests/lib/test_mgmt/*py \
78
63
        tests/strip-valgrind
79
64
 
80
65
check-local: test-drizzle
101
86
        test-all \
102
87
        test-big \
103
88
        test-drizzle \
104
 
        test-dbqp \
105
89
        test-plugins
106
90
 
107
91
# Target 'test' will run the regression test suite using the built server.
117
101
# Please keep the list of tests in alphabetical order for ease of
118
102
# maintenance and verification
119
103
 
120
 
test-all: 
121
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(ALL_TESTS))
122
 
 
123
 
test-mem: 
124
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN_MEM) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS))
125
 
 
126
 
test-drizzle: 
127
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS))
128
 
 
129
 
test-valgrind: 
130
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --force --suite=$(NORMAL_TESTS) && python strip-valgrind)
131
 
 
132
 
test-valgrind-suppressions: 
133
 
        ( $(MAKE) $(AM_MAKEFLAGS) && 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)
134
 
 
135
 
test-junitxml: 
136
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS) --subunit | subunit2junitxml --no-passthrough > junit-format.xml )
137
 
 
138
 
test-big: 
139
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big )
140
 
 
141
 
test-big-junitxml: 
142
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big --subunit | subunit2junitxml --no-passthrough > junit-format-big.xml )
143
 
 
144
 
test-jp: 
145
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=jp )
146
 
 
147
 
test-plugins: 
148
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(PLUGIN_TESTS) )
149
 
 
150
 
test-dbqp: 
151
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN_DBQP) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS) )
152
 
 
 
104
test-all:
 
105
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(ALL_TESTS))
 
106
 
 
107
test-mem:
 
108
        ( cd tests && $(TEST_RUN_MEM) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS))
 
109
 
 
110
test-drizzle:
 
111
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS))
 
112
 
 
113
test-valgrind:
 
114
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --force --suite=$(NORMAL_TESTS) && python strip-valgrind)
 
115
 
 
116
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)
 
118
 
 
119
test-junitxml:
 
120
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS) --subunit | subunit2junitxml --no-passthrough > junit-format.xml )
 
121
 
 
122
test-big:
 
123
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big )
 
124
 
 
125
test-big-junitxml:
 
126
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big --subunit | subunit2junitxml --no-passthrough > junit-format-big.xml )
 
127
 
 
128
test-jp:
 
129
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=jp )
 
130
 
 
131
test-plugins:
 
132
        ( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(PLUGIN_TESTS) )
153
133
 
154
134
distclean-local: nukevar
155
135
 
156
136
nukevar:
157
 
        rm -rf tests/var \
158
 
        rm -rf tests/dbqp_work \
159
 
        rm tests/dbqp_data/*
160
 
 
 
137
        rm -rf tests/var
161
138
 
162
139
.PHONY: nukevar