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 \
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} \
47
45
--suitepath=../${top_srcdir}/plugin \
48
46
--testdir=../${top_srcdir}/tests \
49
47
--dtr-build-thread=$$$$
51
TEST_RUN_DBQP= $(PYTHON) ../$(top_srcdir)/tests/dbqp.py \
52
--top-srcdir=../${top_srcdir} \
53
--top-builddir=../${top_builddir} \
55
--basedir=../${top_srcdir} \
56
--testdir=../${top_srcdir}/tests \
57
--workdir=../${top_srcdir}/tests/dbqp_work
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
80
65
check-local: test-drizzle
117
101
# Please keep the list of tests in alphabetical order for ease of
118
102
# maintenance and verification
121
( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(ALL_TESTS))
124
( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN_MEM) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS))
127
( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS))
130
( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --force --suite=$(NORMAL_TESTS) && python strip-valgrind)
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)
136
( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS) --subunit | subunit2junitxml --no-passthrough > junit-format.xml )
139
( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big )
142
( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big --subunit | subunit2junitxml --no-passthrough > junit-format-big.xml )
145
( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=jp )
148
( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(PLUGIN_TESTS) )
151
( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN_DBQP) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS) )
105
( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(ALL_TESTS))
108
( cd tests && $(TEST_RUN_MEM) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS))
111
( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS))
114
( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --force --suite=$(NORMAL_TESTS) && python strip-valgrind)
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)
120
( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS) --subunit | subunit2junitxml --no-passthrough > junit-format.xml )
123
( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big )
126
( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big --subunit | subunit2junitxml --no-passthrough > junit-format-big.xml )
129
( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=jp )
132
( cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(PLUGIN_TESTS) )
154
134
distclean-local: nukevar
158
rm -rf tests/dbqp_work \