16
16
# Process this file with automake to create Makefile.in
24
strings mysys $(d_dbug) \
26
libdrizzle client storage plugin \
30
DIST_SUBDIRS = $(SUBDIRS) mysys/tests strings/tests
32
DISTCLEANFILES = ac_available_languages_fragment
31
DIST_SUBDIRS = $(SUBDIRS) \
35
DISTCLEANFILES = ac_available_languages_fragment
34
37
# Create empty datadir
35
38
install-data-local:
36
$(MKDIR_P) $(DESTDIR)$(localstatedir)
37
@if test `id -u` = 0 ; then \
38
chown $(MYSQLD_USER) $(DESTDIR)$(localstatedir) ;\
39
$(MKDIR_P) $(DESTDIR)$(localstatedir)
40
@if test `id -u` = 0 ; then \
41
chown $(MYSQLD_USER) $(DESTDIR)$(localstatedir) ;\
42
@RM@ -r -f autom4te.cache
45
@RM@ -r -f autom4te.cache
44
.PHONY: test test-force test-full test-force-full test-force-mem \
45
test-pl test-force-pl test-full-pl test-force-full-pl test-force-pl-mem \
46
test-ps test-nr test-pr test-ns test-binlog-statement \
47
test-ext-funcs test-ext-rpl test-ext-jp \
48
test-ext-stress test-ext test-embedded \
49
test-fast test-fast-cursor test-fast-view test-fast-prepare \
59
test-binlog-statement \
52
71
# Target 'test' will run the regression test suite using the built server.
58
77
# making sure each user use different ports.
62
@PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=row
81
@PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=row
66
@PERL@ ./test-run.pl $(force) $(mem) --mysqld=--binlog-format=mixed
85
@PERL@ ./test-run.pl $(force) $(mem) --mysqld=--binlog-format=mixed
68
87
test-binlog-statement:
70
@PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=statement
89
@PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=statement
74
93
test-full: test test-nr
77
$(MAKE) force=--force test
96
$(MAKE) force=--force test
80
$(MAKE) force=--force test-full
99
$(MAKE) force=--force test-full
82
101
#used by autopush.pl to run memory based tests
84
$(MAKE) force=--force mem=--mem test
103
$(MAKE) force=--force mem=--mem test
87
-cd tests ; MTR_BUILD_THREAD=auto \
88
@PERL@ ./test-run.pl --force --comment=funcs1_ps --ps-protocol --suite=funcs_1
89
-cd tests ; MTR_BUILD_THREAD=auto \
90
@PERL@ ./test-run.pl --force --comment=funcs2 --suite=funcs_2
91
-cd tests ; MTR_BUILD_THREAD=auto \
92
@PERL@ ./test-run.pl --force --comment=rpl --suite=rpl
93
-if [ -d test/suite/nist ] ; then \
94
cd tests ; MTR_BUILD_THREAD=auto \
95
@PERL@ ./test-run.pl --comment=NIST+normal --force --suite=nist ; \
97
-if [ -d test/suite/nist ] ; then \
98
cd tests ; MTR_BUILD_THREAD=auto \
99
@PERL@ ./test-run.pl --comment=NIST+ps --force --suite=nist --ps-protocol ; \
101
-cd tests ; MTR_BUILD_THREAD=auto \
102
@PERL@ ./test-run.pl --force --comment=stress --suite=stress
106
-cd tests ; MTR_BUILD_THREAD=auto \
107
@PERL@ ./test-run.pl --force --comment=funcs1_ps --ps-protocol --suite=funcs_1
108
-cd tests ; MTR_BUILD_THREAD=auto \
109
@PERL@ ./test-run.pl --force --comment=funcs2 --suite=funcs_2
110
-cd tests ; MTR_BUILD_THREAD=auto \
111
@PERL@ ./test-run.pl --force --comment=rpl --suite=rpl
112
-if [ -d test/suite/nist ] ; then \
113
cd tests ; MTR_BUILD_THREAD=auto \
114
@PERL@ ./test-run.pl --comment=NIST+normal --force --suite=nist ; \
116
-if [ -d test/suite/nist ] ; then \
117
cd tests ; MTR_BUILD_THREAD=auto \
118
@PERL@ ./test-run.pl --comment=NIST+ps --force --suite=nist --ps-protocol ; \
120
-cd tests ; MTR_BUILD_THREAD=auto \
121
@PERL@ ./test-run.pl --force --comment=stress --suite=stress
104
123
# Re-enable the "jp" suite when bug#28563 is fixed
105
124
# -cd tests ; MTR_BUILD_THREAD=auto \
106
125
# @PERL@ ./test-run.pl --force --comment=jp --suite=jp
109
-cd tests ; MTR_BUILD_THREAD=auto \
110
@PERL@ ./test-run.pl --comment=debug --force --timer \
111
--skip-rpl --report-features
128
-cd tests ; MTR_BUILD_THREAD=auto \
129
@PERL@ ./test-run.pl --comment=debug --force --timer \
130
--skip-rpl --report-features
113
132
# Keep these for a while
118
137
test-force-full-pl: test-force-full
122
@PERL@ ./test-run.pl --force --suite=funcs_1 ; \
123
@PERL@ ./test-run.pl --force --suite=funcs_2
141
@PERL@ ./test-run.pl --force --suite=funcs_1 ; \
142
@PERL@ ./test-run.pl --force --suite=funcs_2
127
@PERL@ ./test-run.pl --force --suite=rpl
146
@PERL@ ./test-run.pl --force --suite=rpl
131
@PERL@ ./test-run.pl --force --suite=jp
150
@PERL@ ./test-run.pl --force --suite=jp
135
@PERL@ ./test-run.pl --force --big-test --suite=stress
154
@PERL@ ./test-run.pl --force --big-test --suite=stress
137
test-ext: test-ext-funcs test-ext-rpl test-ext-jp test-ext-stress
156
test-ext: test-ext-funcs \
140
$(MAKE) force=--force test-pr \
141
test-binlog-statement test-ext
162
$(MAKE) force=--force test-pr \
163
test-binlog-statement test-ext
145
@PERL@ ./test-run.pl --fast --reorder --force \
162
lock_tables_lost_commit
167
@PERL@ ./test-run.pl --fast --reorder --force \
184
lock_tables_lost_commit