~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: Brian Aker
  • Date: 2008-07-14 22:40:46 UTC
  • Revision ID: brian@tangent.org-20080714224046-x183907w9wp1txwv
Removed sql_manager. Ever heard of just setting up the OS to sync when you
want it to?

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
24
 
EXTRA_SCRIPTS =         valgrind.supp $(PRESCRIPTS)
25
 
EXTRA_DIST =            $(EXTRA_SCRIPTS) suite
26
 
GENSCRIPTS =            install_test_db dtr test-run
27
 
PRESCRIPTS =            test-run.pl stress-test.pl
28
 
noinst_SCRIPTS =        $(GENSCRIPTS) $(PRESCRIPTS)
29
 
CLEANFILES =            $(GENSCRIPTS) mtr
30
 
noinst_PROGRAMS =       resolve_stack_dump
31
 
 
32
 
LDADD=                  $(top_builddir)/mysys/libmysys.la \
33
 
                        $(top_builddir)/mystrings/libmystrings.la \
34
 
                        $(LIBINTL)
35
 
 
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
 
 
76
 
# dtr - a shortcut for executing test-run.pl
77
 
dtr:
78
 
        $(RM) -f mtr dtr
79
 
        $(LN_S) test-run.pl mtr
80
 
        $(LN_S) test-run.pl dtr
81
 
 
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
86
 
 
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
 
 
134
 
# Please keep the list of tests in alphabetical order for ease of
135
 
# maintenance and verification
136
 
 
137
 
test-drizzle:
138
 
          $(PERL) -I$(top_srcdir)/tests/lib \
139
 
                $(top_srcdir)/tests/test-run.pl --fast --reorder --force \
140
 
        1st \
141
 
        alter_table \
142
 
        bench_count_distinct \
143
 
        bulk_replace \
144
 
        comment_column2 \
145
 
        comment_table \
146
 
        comments \
147
 
        consistent_snapshot \
148
 
        count_distinct \
149
 
        count_distinct2 \
150
 
        count_distinct3 \
151
 
        create_select_tmp \
152
 
        ctype_filename \
153
 
        delete \
154
 
        distinct \
155
 
        drizzleslap \
156
 
        endspace \
157
 
        flush2 \
158
 
        func_equal \
159
 
        func_group_innodb \
160
 
        func_isnull \
161
 
        func_like \
162
 
                                func_math \
163
 
        func_compress \
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 \
183
 
        limit \
184
 
        lock_tables_lost_commit \
185
 
        overflow \
186
 
        rollback \
187
 
        select \
188
 
        subselect \
189
 
        subselect3 \
190
 
        subselect_innodb \
191
 
        sum_distinct \
192
 
        tablelock \
193
 
        type_newdecimal \
194
 
        unsafe_binlog_innodb \
195
 
        update \
196
 
        variables-notembedded