1
by brian
clean slate |
1 |
# Copyright (C) 2000-2006 MySQL AB
|
2 |
#
|
|
3 |
# This library is free software; you can redistribute it and/or
|
|
4 |
# modify it under the terms of the GNU Library General Public
|
|
5 |
# License as published by the Free Software Foundation; version 2
|
|
6 |
# of the License.
|
|
7 |
#
|
|
8 |
# This library is distributed in the hope that it will be useful,
|
|
9 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
11 |
# Library General Public License for more details.
|
|
12 |
#
|
|
13 |
# You should have received a copy of the GNU Library General Public
|
|
14 |
# License along with this library; if not, write to the Free
|
|
15 |
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
|
16 |
# MA 02111-1307, USA
|
|
17 |
||
18 |
## Process this file with automake to create Makefile.in
|
|
19 |
||
20 |
SUBDIRS = |
|
21 |
||
22 |
benchdir_root= $(prefix) |
|
23 |
testdir = $(benchdir_root)/mysql-test |
|
77.1.32
by Monty Taylor
Merged from trunk. |
24 |
EXTRA_SCRIPTS = valgrind.supp $(PRESCRIPTS) |
1
by brian
clean slate |
25 |
EXTRA_DIST = $(EXTRA_SCRIPTS) suite |
168
by Brian Aker
Rename of test (better tab completion!) |
26 |
GENSCRIPTS = install_test_db dtr test-run |
27 |
PRESCRIPTS = test-run.pl stress-test.pl |
|
236.1.36
by Monty Taylor
Removed mysql-test from the install. |
28 |
noinst_SCRIPTS = $(GENSCRIPTS) $(PRESCRIPTS) |
77.1.105
by Monty Taylor
Added more things to distclean targets so that it really does a distclean. |
29 |
CLEANFILES = $(GENSCRIPTS) mtr |
77.1.32
by Monty Taylor
Merged from trunk. |
30 |
noinst_PROGRAMS = resolve_stack_dump |
31 |
||
264.1.3
by Monty Taylor
Removed libmysyslt.la, made mysys a noinst_ and made everything use it. It's |
32 |
LDADD= $(top_builddir)/mysys/libmysys.la \ |
266.4.3
by Monty Taylor
Removed mystringslt conv lib and replaced it with a noinst lib. |
33 |
$(top_builddir)/mystrings/libmystrings.la \ |
264.1.20
by Monty Taylor
Added LIBINTL to tests for resolve_stack_dump. |
34 |
$(LIBINTL) |
77.1.32
by Monty Taylor
Merged from trunk. |
35 |
|
1
by brian
clean slate |
36 |
|
37 |
||
38 |
dist-hook: |
|
39 |
mkdir -p \
|
|
40 |
$(distdir)/t \ |
|
41 |
$(distdir)/extra/binlog_tests \ |
|
42 |
$(distdir)/extra/rpl_tests \ |
|
43 |
$(distdir)/r \ |
|
44 |
$(distdir)/include \ |
|
45 |
$(distdir)/std_data \ |
|
46 |
$(distdir)/std_data/parts \ |
|
47 |
$(distdir)/lib \ |
|
48 |
$(distdir)/lib/My |
|
49 |
-$(INSTALL_DATA) $(srcdir)/t/*.def $(distdir)/t |
|
50 |
$(INSTALL_DATA) $(srcdir)/t/*.test $(distdir)/t |
|
51 |
-$(INSTALL_DATA) $(srcdir)/t/*.imtest $(distdir)/t |
|
52 |
$(INSTALL_DATA) $(srcdir)/t/*.sql $(distdir)/t |
|
53 |
-$(INSTALL_DATA) $(srcdir)/t/*.disabled $(distdir)/t |
|
54 |
-$(INSTALL_DATA) $(srcdir)/t/*.opt $(srcdir)/t/*.slave-mi $(distdir)/t |
|
55 |
-$(INSTALL_SCRIPT) $(srcdir)/t/*.sh $(distdir)/t |
|
56 |
$(INSTALL_DATA) $(srcdir)/extra/binlog_tests/*.test $(distdir)/extra/binlog_tests |
|
57 |
$(INSTALL_DATA) $(srcdir)/extra/rpl_tests/*.test $(distdir)/extra/rpl_tests |
|
58 |
-$(INSTALL_DATA) $(srcdir)/extra/binlog_tests/*.opt $(distdir)/extra/binlog_tests |
|
59 |
-$(INSTALL_DATA) $(srcdir)/extra/rpl_tests/*.opt $(distdir)/extra/rpl_tests |
|
60 |
$(INSTALL_DATA) $(srcdir)/include/*.inc $(distdir)/include |
|
61 |
$(INSTALL_DATA) $(srcdir)/include/*.sql $(distdir)/include |
|
62 |
$(INSTALL_DATA) $(srcdir)/include/*.test $(distdir)/include |
|
63 |
$(INSTALL_DATA) $(srcdir)/r/*.result $(srcdir)/r/*.require $(distdir)/r |
|
64 |
$(INSTALL_DATA) $(srcdir)/std_data/Moscow_leap $(distdir)/std_data |
|
65 |
$(INSTALL_DATA) $(srcdir)/std_data/Index.xml $(distdir)/std_data |
|
66 |
$(INSTALL_DATA) $(srcdir)/std_data/*.dat $(srcdir)/std_data/*.000001 $(distdir)/std_data |
|
67 |
$(INSTALL_DATA) $(srcdir)/std_data/des_key_file $(distdir)/std_data |
|
68 |
$(INSTALL_DATA) $(srcdir)/std_data/*.pem $(distdir)/std_data |
|
69 |
$(INSTALL_DATA) $(srcdir)/std_data/*.frm $(distdir)/std_data |
|
70 |
$(INSTALL_DATA) $(srcdir)/std_data/*.MY* $(distdir)/std_data |
|
71 |
$(INSTALL_DATA) $(srcdir)/std_data/*.cnf $(distdir)/std_data |
|
72 |
$(INSTALL_DATA) $(srcdir)/std_data/parts/part_* $(distdir)/std_data/parts |
|
73 |
$(INSTALL_DATA) $(srcdir)/lib/*.pl $(distdir)/lib |
|
74 |
$(INSTALL_DATA) $(srcdir)/lib/My/*.pm $(distdir)/lib/My |
|
75 |
||
168
by Brian Aker
Rename of test (better tab completion!) |
76 |
# dtr - a shortcut for executing test-run.pl
|
77.1.40
by Monty Taylor
More naming changes. |
77 |
dtr: |
78 |
$(RM) -f mtr dtr |
|
168
by Brian Aker
Rename of test (better tab completion!) |
79 |
$(LN_S) test-run.pl mtr |
80 |
$(LN_S) test-run.pl dtr |
|
1
by brian
clean slate |
81 |
|
168
by Brian Aker
Rename of test (better tab completion!) |
82 |
# test-run - a shortcut for executing test-run.pl
|
83 |
test-run: |
|
84 |
$(RM) -f test-run |
|
85 |
$(LN_S) test-run.pl test-run |
|
1
by brian
clean slate |
86 |
|
236.1.22
by Monty Taylor
A couple of changes to move the actual test code to the tests dir and attempt |
87 |
|
88 |
.PHONY: test \ |
|
89 |
test-force \ |
|
90 |
test-full \ |
|
91 |
test-force-full \ |
|
92 |
test-force-mem \ |
|
93 |
test-pl \ |
|
94 |
test-force-pl \ |
|
95 |
test-full-pl \ |
|
96 |
test-force-full-pl \ |
|
97 |
test-force-pl-mem \ |
|
98 |
test-ps test-nr \ |
|
99 |
test-pr test-ns \ |
|
100 |
test-binlog-statement \ |
|
101 |
test-ext-funcs \ |
|
102 |
test-ext-rpl \ |
|
103 |
test-ext-jp \ |
|
104 |
test-ext-stress \ |
|
105 |
test-ext \ |
|
106 |
test-embedded \ |
|
107 |
test-fast \ |
|
108 |
test-fast-cursor \ |
|
109 |
test-fast-view \ |
|
110 |
test-full-qa |
|
111 |
||
112 |
# Target 'test' will run the regression test suite using the built server.
|
|
113 |
#
|
|
114 |
# If you are running in a shared environment, users can avoid clashing
|
|
115 |
# port numbers by setting individual small numbers 1-100 to the
|
|
116 |
# environment variable MTR_BUILD_THREAD. The script "test-run"
|
|
117 |
# will then calculate the various port numbers it needs from this,
|
|
118 |
# making sure each user use different ports.
|
|
119 |
||
120 |
test-nr: |
|
121 |
cd tests ; \ |
|
122 |
./test-run $(force) --mysqld=--binlog-format=row |
|
123 |
||
124 |
test-ns: |
|
125 |
cd tests ; \ |
|
126 |
./test-run $(force) $(mem) --mysqld=--binlog-format=mixed |
|
127 |
||
128 |
test-binlog-statement: |
|
129 |
cd tests ; \ |
|
130 |
./test-run $(force) --mysqld=--binlog-format=statement |
|
131 |
||
132 |
test: test-drizzle |
|
133 |
||
370.1.1
by arjen at com
Initial mods for making all tests work again. Some tests adapted+added. |
134 |
# Please keep the list of tests in alphabetical order for ease of
|
135 |
# maintenance and verification
|
|
136 |
||
236.1.22
by Monty Taylor
A couple of changes to move the actual test code to the tests dir and attempt |
137 |
test-drizzle: |
138 |
$(PERL) -I$(top_srcdir)/tests/lib \ |
|
139 |
$(top_srcdir)/tests/test-run.pl --fast --reorder --force \ |
|
383.3.1
by Jay Pipes
Re-enabled a number of passing tests from trunk |
140 |
1st \
|
370.1.1
by arjen at com
Initial mods for making all tests work again. Some tests adapted+added. |
141 |
alter_table \
|
142 |
bench_count_distinct \
|
|
377.1.4
by Brian Aker
Big, fat, UTF-8 patch. This fixes some of the oddities around only one |
143 |
bulk_replace \
|
144 |
comment_column2 \
|
|
383.4.2
by Jay Pipes
Removed SQL_MODE variances from comment_table.test and ensured correct error thrown when a comment that is too long was input. After moving to proto buffer definition for table, the 2048 length will go away. |
145 |
comment_table \
|
377.1.4
by Brian Aker
Big, fat, UTF-8 patch. This fixes some of the oddities around only one |
146 |
comments \
|
147 |
consistent_snapshot \
|
|
370.1.1
by arjen at com
Initial mods for making all tests work again. Some tests adapted+added. |
148 |
count_distinct \
|
149 |
count_distinct2 \
|
|
150 |
count_distinct3 \
|
|
377.1.4
by Brian Aker
Big, fat, UTF-8 patch. This fixes some of the oddities around only one |
151 |
create_select_tmp \
|
370.1.1
by arjen at com
Initial mods for making all tests work again. Some tests adapted+added. |
152 |
ctype_filename \
|
153 |
delete \
|
|
154 |
distinct \
|
|
373.1.9
by Monty Taylor
Added back mysqlslap as drizzleslap. Also made it C++ and removed DYNAMIC_STRING. |
155 |
drizzleslap \
|
370.1.1
by arjen at com
Initial mods for making all tests work again. Some tests adapted+added. |
156 |
endspace \
|
157 |
flush2 \
|
|
383.3.1
by Jay Pipes
Re-enabled a number of passing tests from trunk |
158 |
func_equal \
|
159 |
func_group_innodb \
|
|
160 |
func_isnull \
|
|
370.1.1
by arjen at com
Initial mods for making all tests work again. Some tests adapted+added. |
161 |
func_like \
|
383.4.1
by Jay Pipes
Fixed syntax errors in func_math test and re-enable the test in the make test target |
162 |
func_math \
|
139.1.9
by Stewart Smith
Move compression functions (compress, uncompress and compressed_length) out into modules and fix test |
163 |
func_compress \
|
370.1.1
by arjen at com
Initial mods for making all tests work again. Some tests adapted+added. |
164 |
greedy_optimizer \
|
165 |
group_min_max_innodb \
|
|
166 |
heap_auto_increment \
|
|
167 |
heap_btree \
|
|
168 |
heap_var \
|
|
169 |
information_schema \
|
|
170 |
innodb-lock \
|
|
171 |
innodb-semi-consistent \
|
|
172 |
innodb_timeout_rollback \
|
|
173 |
insert \
|
|
174 |
join \
|
|
175 |
join_crash \
|
|
176 |
join_nested \
|
|
177 |
join_outer \
|
|
178 |
join_outer_innodb \
|
|
179 |
key_diff \
|
|
180 |
key_primary \
|
|
181 |
keywords \
|
|
182 |
lock \
|
|
383.2.5
by Jay Pipes
Added limit test back into the test target |
183 |
limit \
|
370.1.1
by arjen at com
Initial mods for making all tests work again. Some tests adapted+added. |
184 |
lock_tables_lost_commit \
|
185 |
overflow \
|
|
383.3.1
by Jay Pipes
Re-enabled a number of passing tests from trunk |
186 |
rollback \
|
370.1.1
by arjen at com
Initial mods for making all tests work again. Some tests adapted+added. |
187 |
select \ |
188 |
subselect \
|
|
189 |
subselect3 \
|
|
190 |
subselect_innodb \
|
|
191 |
sum_distinct \
|
|
192 |
tablelock \
|
|
193 |
type_newdecimal \
|
|
194 |
unsafe_binlog_innodb \
|
|
383.3.1
by Jay Pipes
Re-enabled a number of passing tests from trunk |
195 |
update \
|
196 |
variables-notembedded |