~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: Monty Taylor
  • Date: 2008-07-31 06:32:06 UTC
  • mto: (202.3.5 gettextize)
  • mto: This revision was merged to the branch mainline in revision 243.
  • Revision ID: monty@inaugust.com-20080731063206-hmsr1txhg0809v7r
A couple of changes to move the actual test code to the tests dir and attempt
to support out-of-tree tests. _That_ part doesn't work, but running make test
out of the tests dir does.

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
        $(RM) -f test-run
136
136
        $(LN_S) test-run.pl test-run
137
137
 
 
138
 
 
139
.PHONY: test \
 
140
    test-force \
 
141
    test-full \
 
142
    test-force-full \
 
143
    test-force-mem \
 
144
    test-pl \
 
145
    test-force-pl \
 
146
    test-full-pl \
 
147
    test-force-full-pl \
 
148
    test-force-pl-mem \
 
149
    test-ps test-nr \
 
150
    test-pr test-ns \
 
151
    test-binlog-statement \
 
152
    test-ext-funcs \
 
153
    test-ext-rpl \
 
154
    test-ext-jp \
 
155
    test-ext-stress \
 
156
    test-ext \
 
157
    test-embedded \
 
158
    test-fast \
 
159
    test-fast-cursor \
 
160
    test-fast-view \
 
161
    test-full-qa
 
162
 
 
163
# Target 'test' will run the regression test suite using the built server.
 
164
#
 
165
# If you are running in a shared environment, users can avoid clashing
 
166
# port numbers by setting individual small numbers 1-100 to the
 
167
# environment variable MTR_BUILD_THREAD. The script "test-run"
 
168
# will then calculate the various port numbers it needs from this,
 
169
# making sure each user use different ports.
 
170
 
 
171
test-nr:
 
172
        cd tests ; \
 
173
          ./test-run $(force) --mysqld=--binlog-format=row
 
174
 
 
175
test-ns:
 
176
        cd tests ; \
 
177
          ./test-run $(force) $(mem) --mysqld=--binlog-format=mixed
 
178
 
 
179
test-binlog-statement:
 
180
        cd tests ; \
 
181
          ./test-run $(force) --mysqld=--binlog-format=statement
 
182
 
 
183
test: test-drizzle
 
184
 
 
185
test-drizzle:
 
186
          $(PERL) -I$(top_srcdir)/tests/lib \
 
187
                $(top_srcdir)/tests/test-run.pl --fast --reorder --force \
 
188
          alter_table \
 
189
          join_crash \
 
190
          join_nested \
 
191
          join_outer_innodb \
 
192
          delete \
 
193
          join_outer \
 
194
          distinct \
 
195
          type_newdecimal \
 
196
          join \
 
197
          subselect \
 
198
          subselect3 \
 
199
          subselect_innodb \
 
200
          insert \
 
201
          select \
 
202
          update \
 
203
          information_schema \
 
204
          mysqlslap \
 
205
          lock \
 
206
          lock_tables_lost_commit