~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include.am

  • Committer: Brian Aker
  • Date: 2011-08-16 01:07:54 UTC
  • mfrom: (2363.1.8 drizzle-trunk)
  • mto: This revision was merged to the branch mainline in revision 2399.
  • Revision ID: brian@tangent.org-20110816010754-14sxcxr7r9jczh6a
Fixes for --help work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
 
59
59
 
60
60
EXTRA_DIST += \
61
 
        $(EXTRA_SCRIPTS) \
62
 
        ${srcdir}/tests/crashme_tests \
63
 
        ${srcdir}/tests/dbqp.py \
64
 
        ${srcdir}/tests/dbqp_data \
65
 
        ${srcdir}/tests/randgen_tests \
66
 
        ${srcdir}/tests/sql-bench \
67
 
        ${srcdir}/tests/sqlbench_tests \
68
 
        ${srcdir}/tests/sysbench_tests \
69
 
        ${srcdir}/tests/README.stress \
70
 
        ${srcdir}/tests/suite \
71
 
        ${srcdir}/tests/t \
72
 
        ${srcdir}/tests/include/*.inc \
73
 
        ${srcdir}/tests/include/*.sql \
74
 
        ${srcdir}/tests/include/*.test \
75
 
        ${srcdir}/tests/r/*.result \
76
 
        ${srcdir}/tests/r/*.require \
77
 
        ${srcdir}/tests/r/pbxt/*result \
78
 
        ${srcdir}/tests/std_data \
79
 
        ${srcdir}/tests/lib/*.pl \
80
 
        ${srcdir}/tests/lib/*.py \
81
 
        ${srcdir}/tests/lib/drizzle_test_run/*.py \
82
 
        ${srcdir}/tests/lib/My/*.pm \
83
 
        ${srcdir}/tests/lib/randgen/*.py \
84
 
        ${srcdir}/tests/lib/server_mgmt/*py \
85
 
        ${srcdir}/tests/lib/sqlbench/*py \
86
 
        ${srcdir}/tests/lib/sysbench/*py \
87
 
        ${srcdir}/tests/lib/sys_mgmt/*py \
88
 
        ${srcdir}/tests/lib/test_mgmt/*py \
89
 
        tests/strip-valgrind
90
 
 
91
 
check-local: test-drizzle
 
61
              $(EXTRA_SCRIPTS) \
 
62
              ${srcdir}/tests/crashme_tests \
 
63
              ${srcdir}/tests/dbqp.py \
 
64
              ${srcdir}/tests/dbqp_data \
 
65
              ${srcdir}/tests/randgen_tests \
 
66
              ${srcdir}/tests/sql-bench \
 
67
              ${srcdir}/tests/sqlbench_tests \
 
68
              ${srcdir}/tests/sysbench_tests \
 
69
              ${srcdir}/tests/README.stress \
 
70
              ${srcdir}/tests/suite \
 
71
              ${srcdir}/tests/t \
 
72
              ${srcdir}/tests/include/*.inc \
 
73
              ${srcdir}/tests/include/*.sql \
 
74
              ${srcdir}/tests/include/*.test \
 
75
              ${srcdir}/tests/r/*.result \
 
76
              ${srcdir}/tests/r/*.require \
 
77
              ${srcdir}/tests/r/pbxt/*result \
 
78
              ${srcdir}/tests/std_data \
 
79
              ${srcdir}/tests/lib/*.pl \
 
80
              ${srcdir}/tests/lib/*.py \
 
81
              ${srcdir}/tests/lib/drizzle_test_run/*.py \
 
82
              ${srcdir}/tests/lib/My/*.pm \
 
83
              ${srcdir}/tests/lib/randgen/*.py \
 
84
              ${srcdir}/tests/lib/server_mgmt/*py \
 
85
              ${srcdir}/tests/lib/sqlbench/*py \
 
86
              ${srcdir}/tests/lib/sysbench/*py \
 
87
              ${srcdir}/tests/lib/sys_mgmt/*py \
 
88
              ${srcdir}/tests/lib/test_mgmt/*py \
 
89
              tests/strip-valgrind
 
90
 
 
91
check-local: tests/var/drizzle test-drizzle
 
92
 
 
93
tests/var:
 
94
        $(mkdir_p) tests/var
 
95
 
 
96
tests/var/drizzle: tests/var
 
97
        $(mkdir_p) tests/var/drizzle
 
98
 
92
99
 
93
100
# dtr - a shortcut for executing test-run.pl
94
 
tests/dtr:
 
101
tests/dtr: tests/var/drizzle
95
102
        $(RM) -f tests/dtr
96
103
        $(LN_S) test-run.pl tests/dtr
97
104
 
98
 
tests/var:
99
 
        $(mkdir_p) tests/var
100
 
 
101
 
tests/mtr:
 
105
tests/mtr: tests/var/drizzle
102
106
        $(RM) -f tests/mtr
103
107
        $(LN_S) test-run.pl tests/mtr
104
108
 
105
109
# test-run - a shortcut for executing test-run.pl
106
 
tests/test-run: tests/var
 
110
tests/test-run: tests/var/drizzle
107
111
        $(RM) -f tests/test-run
108
112
        $(LN_S) test-run.pl tests/test-run
109
113
 
110
 
tests/dbqp:  
 
114
tests/dbqp: tests/var/drizzle
111
115
        $(RM) -f tests/dbqp
112
116
        $(LN_S) dbqp.py tests/dbqp
113
117
 
127
131
# will then calculate the various port numbers it needs from this,
128
132
# making sure each user use different ports.
129
133
 
130
 
test: check
 
134
test: tests/var/drizzle check
131
135
 
132
136
# Please keep the list of tests in alphabetical order for ease of
133
137
# maintenance and verification
134
138
 
135
139
#check_PROGRAMS+= test-all
136
140
 
137
 
test-all: 
 
141
test-all: tests/var/drizzle
138
142
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(ALL_TESTS)
139
143
 
140
 
test-mem: 
 
144
test-mem: tests/var/drizzle
141
145
        $(TEST_RUN_MEM) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS)
142
146
 
143
 
test-drizzle: 
 
147
test-drizzle: tests/var/drizzle
144
148
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS)
145
149
 
146
 
gdb-drizzled: 
 
150
gdb-drizzled: tests/var/drizzle
147
151
        ./libtool --mode=execute gdb ./drizzled/drizzled
148
152
 
149
 
test-valgrind: 
 
153
test-valgrind: tests/var/drizzle
150
154
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --force --suite=$(NORMAL_TESTS) && python strip-valgrind
151
155
 
152
 
test-valgrind-suppressions: 
 
156
test-valgrind-suppressions: tests/var/drizzle
153
157
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --valgrind --valgrind-option='--gen-suppressions=all' --valgrind-option='--show-reachable=yes' --force --suite=$(NORMAL_TESTS) && python strip-valgrind)
154
158
 
155
 
test-junitxml: 
 
159
test-junitxml: tests/var/drizzle
156
160
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS) --subunit | subunit2junitxml --no-passthrough > junit-format.xml
157
161
 
158
 
test-big: 
 
162
test-big: tests/var/drizzle
159
163
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big
160
164
 
161
 
test-big-junitxml: 
 
165
test-big-junitxml: tests/var/drizzle
162
166
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=big --subunit | subunit2junitxml --no-passthrough > junit-format-big.xml
163
167
 
164
 
test-jp: 
 
168
test-jp: tests/var/drizzle
165
169
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=jp
166
170
 
167
 
test-plugins: 
 
171
test-plugins: tests/var/drizzle
168
172
        $(TEST_RUN) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(PLUGIN_TESTS)
169
173
 
170
 
test-dbqp: 
 
174
test-dbqp: tests/var/drizzle
171
175
        $(TEST_RUN_DBQP) $(TEST_RUN_EXTRA_OPTIONS) --fast --force --suite=$(NORMAL_TESTS)
172
176
 
173
 
 
174
177
distclean-local: nukevar
175
178
 
176
179
nukevar: