16
16
# Process this file with automake to create Makefile.in
31
DIST_SUBDIRS = $(SUBDIRS) \
35
DISTCLEANFILES = ac_available_languages_fragment
31
DIST_SUBDIRS = $(SUBDIRS) \
35
DISTCLEANFILES = ac_available_languages_fragment
37
37
# Create empty datadir
38
38
install-data-local:
39
$(MKDIR_P) $(DESTDIR)$(localstatedir)
40
@if test `id -u` = 0 ; then \
41
chown $(MYSQLD_USER) $(DESTDIR)$(localstatedir) ;\
39
$(MKDIR_P) $(DESTDIR)$(localstatedir)
40
@if test `id -u` = 0 ; then \
41
chown $(MYSQLD_USER) $(DESTDIR)$(localstatedir) ;\
45
@RM@ -r -f autom4te.cache
45
@RM@ -r -f autom4te.cache
59
test-binlog-statement \
59
test-binlog-statement \
71
71
# Target 'test' will run the regression test suite using the built server.
77
77
# making sure each user use different ports.
81
@PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=row
81
./test-run $(force) --mysqld=--binlog-format=row
85
@PERL@ ./test-run.pl $(force) $(mem) --mysqld=--binlog-format=mixed
85
./test-run $(force) $(mem) --mysqld=--binlog-format=mixed
87
87
test-binlog-statement:
89
@PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=statement
89
./test-run $(force) --mysqld=--binlog-format=statement
93
test-full: test test-nr
96
$(MAKE) force=--force test
99
$(MAKE) force=--force test-full
101
#used by autopush.pl to run memory based tests
103
$(MAKE) force=--force mem=--mem test
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
123
# Re-enable the "jp" suite when bug#28563 is fixed
124
# -cd tests ; MTR_BUILD_THREAD=auto \
125
# @PERL@ ./test-run.pl --force --comment=jp --suite=jp
128
-cd tests ; MTR_BUILD_THREAD=auto \
129
@PERL@ ./test-run.pl --comment=debug --force --timer \
130
--skip-rpl --report-features
132
# Keep these for a while
134
test-full-pl: test-full
135
test-force-pl: test-force
136
test-force-pl-mem: test-force-mem
137
test-force-full-pl: test-force-full
141
@PERL@ ./test-run.pl --force --suite=funcs_1 ; \
142
@PERL@ ./test-run.pl --force --suite=funcs_2
146
@PERL@ ./test-run.pl --force --suite=rpl
150
@PERL@ ./test-run.pl --force --suite=jp
154
@PERL@ ./test-run.pl --force --big-test --suite=stress
156
test-ext: test-ext-funcs \
162
$(MAKE) force=--force test-pr \
163
test-binlog-statement test-ext
167
@PERL@ ./test-run.pl --fast --reorder --force \
184
lock_tables_lost_commit
95
./test-run.pl --fast --reorder --force \
113
lock_tables_lost_commit