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 |
||
685.1.35
by Monty Taylor
Added ${srcdir} to extra dist in tests. Weird. |
18 |
srcdir= ${top_srcdir}/tests |
1
by brian
clean slate |
19 |
benchdir_root= $(prefix) |
20 |
testdir = $(benchdir_root)/mysql-test |
|
77.1.32
by Monty Taylor
Merged from trunk. |
21 |
EXTRA_SCRIPTS = valgrind.supp $(PRESCRIPTS) |
168
by Brian Aker
Rename of test (better tab completion!) |
22 |
GENSCRIPTS = install_test_db dtr test-run |
23 |
PRESCRIPTS = test-run.pl stress-test.pl |
|
1008.5.11
by lbieber
move csv tests back to regular test suite, remove dead test files, add top level test-all target |
24 |
PLUGIN_TESTS = md5 |
1014.5.8
by Lee Bieber
added a test-all target that runs all the test suites specified by macro |
25 |
ALL_TESTS = main,big,$(PLUGIN_TESTS) |
236.1.36
by Monty Taylor
Removed mysql-test from the install. |
26 |
noinst_SCRIPTS = $(GENSCRIPTS) $(PRESCRIPTS) |
77.1.105
by Monty Taylor
Added more things to distclean targets so that it really does a distclean. |
27 |
CLEANFILES = $(GENSCRIPTS) mtr |
77.1.32
by Monty Taylor
Merged from trunk. |
28 |
noinst_PROGRAMS = resolve_stack_dump |
590.2.19
by Super-User
Yay! Compiles on Solaris. |
29 |
resolve_stack_dump_SOURCES = resolve_stack_dump.cc |
77.1.32
by Monty Taylor
Merged from trunk. |
30 |
|
264.1.3
by Monty Taylor
Removed libmysyslt.la, made mysys a noinst_ and made everything use it. It's |
31 |
LDADD= $(top_builddir)/mysys/libmysys.la \ |
266.4.3
by Monty Taylor
Removed mystringslt conv lib and replaced it with a noinst lib. |
32 |
$(top_builddir)/mystrings/libmystrings.la \ |
264.1.20
by Monty Taylor
Added LIBINTL to tests for resolve_stack_dump. |
33 |
$(LIBINTL) |
77.1.32
by Monty Taylor
Merged from trunk. |
34 |
|
685.1.13
by Monty Taylor
Attempt at some VPATH support for test suite. |
35 |
TEST_RUN= $(PERL) -I$(top_srcdir)/tests/lib \ |
36 |
${top_srcdir}/tests/test-run.pl \ |
|
37 |
--vardir=${top_builddir}/tests/var \ |
|
685.1.36
by Monty Taylor
Made make test rotate ports. |
38 |
--testdir=${top_srcdir}/tests \ |
39 |
--mtr-build-thread=$$$$ |
|
685.1.13
by Monty Taylor
Attempt at some VPATH support for test suite. |
40 |
|
685.1.8
by Monty Taylor
Added missing things to Makefiles for distcheck. |
41 |
EXTRA_DIST = \ |
42 |
$(EXTRA_SCRIPTS) \ |
|
685.1.17
by Monty Taylor
Makde mtr work in VPATH. |
43 |
suite \
|
722.2.35
by Monty Taylor
Added missing file to the dist. |
44 |
${srcdir}/t \ |
685.1.35
by Monty Taylor
Added ${srcdir} to extra dist in tests. Weird. |
45 |
${srcdir}/extra/rpl_tests/*.test \ |
46 |
${srcdir}/extra/binlog_tests/*.test \ |
|
47 |
${srcdir}/include/*.inc \ |
|
48 |
${srcdir}/include/*.sql \ |
|
49 |
${srcdir}/include/*.test \ |
|
50 |
${srcdir}/r/*.result \ |
|
51 |
${srcdir}/r/*.require \ |
|
52 |
${srcdir}/std_data/Moscow_leap \ |
|
53 |
${srcdir}/std_data/Index.xml \ |
|
54 |
${srcdir}/std_data/*.dat \ |
|
55 |
${srcdir}/std_data/*.000001 \ |
|
56 |
${srcdir}/std_data/des_key_file \ |
|
57 |
${srcdir}/std_data/*.pem \ |
|
722.2.4
by Monty Taylor
Fixed some distcheck build issues. |
58 |
${srcdir}/std_data/*.txt \ |
685.1.35
by Monty Taylor
Added ${srcdir} to extra dist in tests. Weird. |
59 |
${srcdir}/std_data/*.frm \ |
60 |
${srcdir}/std_data/*.MY* \ |
|
61 |
${srcdir}/std_data/*.cnf \ |
|
62 |
${srcdir}/std_data/parts/part_* \ |
|
63 |
${srcdir}/lib/*.pl \ |
|
64 |
${srcdir}/lib/My/*.pm |
|
685.1.8
by Monty Taylor
Added missing things to Makefiles for distcheck. |
65 |
|
656.1.21
by Monty Taylor
Hooked test-suite into make check. |
66 |
check: test-drizzle |
1
by brian
clean slate |
67 |
|
168
by Brian Aker
Rename of test (better tab completion!) |
68 |
# dtr - a shortcut for executing test-run.pl
|
77.1.40
by Monty Taylor
More naming changes. |
69 |
dtr: |
70 |
$(RM) -f mtr dtr |
|
685.1.22
by Monty Taylor
Added testdir setting support to drizzletest. |
71 |
$(LN_S) ${top_srcdir}/tests/test-run.pl mtr |
72 |
$(LN_S) ${top_srcdir}/tests/test-run.pl dtr |
|
760.1.1
by Kristian Nielsen
Use mkdir_p instead of MKDIR_P to not require as new autotool versions. |
73 |
$(mkdir_p) ${top_builddir}/tests/var |
1
by brian
clean slate |
74 |
|
168
by Brian Aker
Rename of test (better tab completion!) |
75 |
# test-run - a shortcut for executing test-run.pl
|
76 |
test-run: |
|
77 |
$(RM) -f test-run |
|
685.1.22
by Monty Taylor
Added testdir setting support to drizzletest. |
78 |
$(LN_S) ${top_srcdir}/tests/test-run.pl test-run |
1
by brian
clean slate |
79 |
|
236.1.22
by Monty Taylor
A couple of changes to move the actual test code to the tests dir and attempt |
80 |
|
81 |
.PHONY: test \ |
|
1014.5.8
by Lee Bieber
added a test-all target that runs all the test suites specified by macro |
82 |
test-all \ |
83 |
test-big \ |
|
942.1.4
by Monty Taylor
Moved big tests to big suite. Added make target "make test-big" to allow for easy running of the big tests. |
84 |
test-drizzle \ |
1014.5.8
by Lee Bieber
added a test-all target that runs all the test suites specified by macro |
85 |
test-plugins |
236.1.22
by Monty Taylor
A couple of changes to move the actual test code to the tests dir and attempt |
86 |
|
87 |
# Target 'test' will run the regression test suite using the built server.
|
|
88 |
#
|
|
89 |
# If you are running in a shared environment, users can avoid clashing
|
|
90 |
# port numbers by setting individual small numbers 1-100 to the
|
|
91 |
# environment variable MTR_BUILD_THREAD. The script "test-run"
|
|
92 |
# will then calculate the various port numbers it needs from this,
|
|
93 |
# making sure each user use different ports.
|
|
94 |
||
95 |
test: test-drizzle |
|
96 |
||
370.1.1
by arjen at com
Initial mods for making all tests work again. Some tests adapted+added. |
97 |
# Please keep the list of tests in alphabetical order for ease of
|
98 |
# maintenance and verification
|
|
99 |
||
1014.5.8
by Lee Bieber
added a test-all target that runs all the test suites specified by macro |
100 |
test-all: |
101 |
$(TEST_RUN) --fast --force --suite=$(ALL_TESTS) |
|
102 |
||
236.1.22
by Monty Taylor
A couple of changes to move the actual test code to the tests dir and attempt |
103 |
test-drizzle: |
977.1.1
by Stewart Smith
Disable virtual column (vcol) support |
104 |
$(TEST_RUN) --fast --force --suite=main |
755.1.8
by Monty Taylor
Remove tests/var on distclean to make distcheck happy. |
105 |
|
942.1.4
by Monty Taylor
Moved big tests to big suite. Added make target "make test-big" to allow for easy running of the big tests. |
106 |
test-big: |
1014.5.7
by Lee Bieber
remove --big-test flag |
107 |
$(TEST_RUN) --fast --force --suite=big |
942.1.4
by Monty Taylor
Moved big tests to big suite. Added make target "make test-big" to allow for easy running of the big tests. |
108 |
|
1014.5.5
by Lee Bieber
add tests for hello_world plugin and add target in tests/Makefile to run all plugin tests |
109 |
test-plugins: |
1014.5.7
by Lee Bieber
remove --big-test flag |
110 |
$(TEST_RUN) --fast --force --suite=$(PLUGIN_TESTS) |
1014.5.5
by Lee Bieber
add tests for hello_world plugin and add target in tests/Makefile to run all plugin tests |
111 |
|
755.1.8
by Monty Taylor
Remove tests/var on distclean to make distcheck happy. |
112 |
distclean-local: |
113 |
rm -rf var |