~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include.am

  • Committer: Olaf van der Spek
  • Date: 2011-08-04 08:13:04 UTC
  • mfrom: (2384 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2385.
  • Revision ID: olafvdspek@gmail.com-20110804081304-rlejjpvoos17bjdf
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
noinst_SCRIPTS =        $(GENSCRIPTS) $(PRESCRIPTS)
29
29
CLEANFILES +=           $(GENSCRIPTS) tests/mtr
30
30
 
31
 
TEST_RUN= $(PERL) -I../$(top_srcdir)/tests/lib \
32
 
                ../${top_srcdir}/tests/test-run.pl \
33
 
                --top-srcdir=../${top_srcdir} \
34
 
                --top-builddir=../${top_builddir} \
35
 
                --vardir=../${top_builddir}/tests/var \
 
31
TEST_RUN= $(PERL) -I$(top_srcdir)/tests/lib \
 
32
                ${top_srcdir}/tests/test-run.pl \
 
33
                --top-srcdir=${top_srcdir} \
 
34
                --top-builddir=${top_builddir} \
 
35
                --vardir=${top_builddir}/tests/var \
36
36
                --reorder \
37
 
                --suitepath=../${top_srcdir}/plugin \
38
 
                --testdir=../${top_srcdir}/tests \
 
37
                --suitepath=${top_srcdir}/plugin \
 
38
                --testdir=${top_srcdir}/tests \
39
39
                --dtr-build-thread=$$$$
40
40
 
41
 
TEST_RUN_MEM= $(PERL) -I../$(top_srcdir)/tests/lib \
42
 
              ../${top_srcdir}/tests/test-run.pl \
43
 
              --top-srcdir=../${top_srcdir} \
44
 
              --top-builddir=../${top_builddir} \
 
41
TEST_RUN_MEM= $(PERL) -I$(top_srcdir)/tests/lib \
 
42
              ${top_srcdir}/tests/test-run.pl \
 
43
              --top-srcdir=${top_srcdir} \
 
44
              --top-builddir=${top_builddir} \
45
45
              --mem \
46
46
              --reorder \
47
 
              --suitepath=../${top_srcdir}/plugin \
48
 
              --testdir=../${top_srcdir}/tests \
 
47
              --suitepath=${top_srcdir}/plugin \
 
48
              --testdir=${top_srcdir}/tests \
49
49
              --dtr-build-thread=$$$$
50
50
 
51
 
TEST_RUN_DBQP= $(PYTHON) ../$(top_srcdir)/tests/dbqp.py \
52
 
                --top-srcdir=../${top_srcdir} \
53
 
                --top-builddir=../${top_builddir} \
 
51
TEST_RUN_DBQP= $(PYTHON) $(top_srcdir)/tests/dbqp.py \
 
52
                --top-srcdir=${top_srcdir} \
 
53
                --top-builddir=${top_builddir} \
54
54
                --reorder \
55
 
                --basedir=../${top_srcdir} \
56
 
                --testdir=../${top_srcdir}/tests \
57
 
                --workdir=../${top_srcdir}/tests/workdir
 
55
                --basedir=${top_srcdir} \
 
56
                --testdir=${top_srcdir}/tests \
 
57
                --workdir=${top_srcdir}/tests/workdir
58
58
 
59
59
 
60
60
EXTRA_DIST += \
112
112
        $(LN_S) dbqp.py tests/dbqp
113
113
 
114
114
 
115
 
.PHONY: test \
116
 
        test-all \
117
 
        test-big \
118
 
        test-drizzle \
119
 
        test-dbqp \
120
 
        test-plugins
 
115
.PHONY: test
 
116
.PHONY: test-all
 
117
.PHONY: test-big
 
118
.PHONY: test-drizzle
 
119
.PHONY: test-dbqp
 
120
.PHONY: test-plugins
121
121
 
122
122
# Target 'test' will run the regression test suite using the built server.
123
123
#
132
132
# Please keep the list of tests in alphabetical order for ease of
133
133
# maintenance and verification
134
134
 
 
135
#check_PROGRAMS+= test-all
 
136
 
135
137
test-all: 
136
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(ALL_TESTS))
 
138
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(ALL_TESTS)
137
139
 
138
140
test-mem: 
139
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN_MEM) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS))
 
141
        $(TEST_RUN_MEM) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS)
140
142
 
141
143
test-drizzle: 
142
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS))
 
144
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS)
143
145
 
144
146
gdb-drizzled: 
145
147
        ./libtool --mode=execute gdb ./drizzled/drizzled
146
148
 
147
149
test-valgrind: 
148
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --force --suite=$(NORMAL_TESTS) && python strip-valgrind)
 
150
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --force --suite=$(NORMAL_TESTS) && python strip-valgrind
149
151
 
150
152
test-valgrind-suppressions: 
151
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --valgrind-option='--gen-suppressions=all' --valgrind-option='--show-reachable=yes' --force --suite=$(NORMAL_TESTS) && python strip-valgrind)
 
153
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --valgrind-option='--gen-suppressions=all' --valgrind-option='--show-reachable=yes' --force --suite=$(NORMAL_TESTS) && python strip-valgrind)
152
154
 
153
155
test-junitxml: 
154
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS) --subunit | subunit2junitxml --no-passthrough > junit-format.xml )
 
156
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS) --subunit | subunit2junitxml --no-passthrough > junit-format.xml
155
157
 
156
158
test-big: 
157
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big )
 
159
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big
158
160
 
159
161
test-big-junitxml: 
160
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big --subunit | subunit2junitxml --no-passthrough > junit-format-big.xml )
 
162
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big --subunit | subunit2junitxml --no-passthrough > junit-format-big.xml
161
163
 
162
164
test-jp: 
163
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=jp )
 
165
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=jp
164
166
 
165
167
test-plugins: 
166
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(PLUGIN_TESTS) )
 
168
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(PLUGIN_TESTS)
167
169
 
168
170
test-dbqp: 
169
 
        ( $(MAKE) $(AM_MAKEFLAGS) && cd tests && $(TEST_RUN_DBQP) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS) )
 
171
        $(TEST_RUN_DBQP) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS)
170
172
 
171
173
 
172
174
distclean-local: nukevar