~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Brian Aker
  • Date: 2008-07-15 19:42:02 UTC
  • Revision ID: brian@tangent.org-20080715194202-ysm6b5v54ojrjv9n
Rename of test (better tab completion!)

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
#
51
51
# If you are running in a shared environment, users can avoid clashing
52
52
# port numbers by setting individual small numbers 1-100 to the
53
 
# environment variable MTR_BUILD_THREAD. The script "drizzle-test-run"
 
53
# environment variable MTR_BUILD_THREAD. The script "test-run"
54
54
# will then calculate the various port numbers it needs from this,
55
55
# making sure each user use different ports.
56
56
 
57
 
test-ps:
58
 
        cd tests ; \
59
 
            @PERL@ ./drizzle-test-run.pl $(force) --ps-protocol --mysqld=--binlog-format=mixed
60
 
 
61
57
test-nr:
62
58
        cd tests ; \
63
 
            @PERL@ ./drizzle-test-run.pl $(force) --mysqld=--binlog-format=row
64
 
 
65
 
test-pr:
66
 
        cd tests ; \
67
 
            @PERL@ ./drizzle-test-run.pl $(force) $(mem) --ps-protocol --mysqld=--binlog-format=row
 
59
            @PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=row
68
60
 
69
61
test-ns:
70
62
        cd tests ; \
71
 
            @PERL@ ./drizzle-test-run.pl $(force) $(mem) --mysqld=--binlog-format=mixed
 
63
            @PERL@ ./test-run.pl $(force) $(mem) --mysqld=--binlog-format=mixed
72
64
 
73
65
test-binlog-statement:
74
66
        cd tests ; \
75
 
            @PERL@ ./drizzle-test-run.pl $(force) --mysqld=--binlog-format=statement
 
67
            @PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=statement
76
68
 
77
69
test: test-drizzle
78
70
 
79
 
test-old:       test-ns test-pr
80
 
 
81
 
test-full:      test test-nr test-ps
 
71
test-full:      test test-nr
82
72
 
83
73
test-force:
84
74
        $(MAKE) force=--force test
92
82
 
93
83
test-bt:
94
84
        -cd tests ; MTR_BUILD_THREAD=auto \
95
 
            @PERL@ ./drizzle-test-run.pl --force --comment=funcs1_ps --ps-protocol --suite=funcs_1
96
 
        -cd tests ; MTR_BUILD_THREAD=auto \
97
 
            @PERL@ ./drizzle-test-run.pl --force --comment=funcs2 --suite=funcs_2
98
 
        -cd tests ; MTR_BUILD_THREAD=auto \
99
 
            @PERL@ ./drizzle-test-run.pl --force --comment=rpl --suite=rpl
100
 
        -if [ -d test/suite/nist ] ; then \
101
 
          cd tests ; MTR_BUILD_THREAD=auto \
102
 
              @PERL@ ./drizzle-test-run.pl --comment=NIST+normal --force --suite=nist ; \
103
 
        fi
104
 
        -if [ -d test/suite/nist ] ; then \
105
 
          cd tests ; MTR_BUILD_THREAD=auto \
106
 
              @PERL@ ./drizzle-test-run.pl --comment=NIST+ps --force --suite=nist --ps-protocol ; \
107
 
        fi
108
 
        -cd tests ; MTR_BUILD_THREAD=auto \
109
 
            @PERL@ ./drizzle-test-run.pl --force --comment=stress --suite=stress
 
85
            @PERL@ ./test-run.pl --force --comment=funcs1_ps --ps-protocol --suite=funcs_1
 
86
        -cd tests ; MTR_BUILD_THREAD=auto \
 
87
            @PERL@ ./test-run.pl --force --comment=funcs2 --suite=funcs_2
 
88
        -cd tests ; MTR_BUILD_THREAD=auto \
 
89
            @PERL@ ./test-run.pl --force --comment=rpl --suite=rpl
 
90
        -if [ -d test/suite/nist ] ; then \
 
91
          cd tests ; MTR_BUILD_THREAD=auto \
 
92
              @PERL@ ./test-run.pl --comment=NIST+normal --force --suite=nist ; \
 
93
        fi
 
94
        -if [ -d test/suite/nist ] ; then \
 
95
          cd tests ; MTR_BUILD_THREAD=auto \
 
96
              @PERL@ ./test-run.pl --comment=NIST+ps --force --suite=nist --ps-protocol ; \
 
97
        fi
 
98
        -cd tests ; MTR_BUILD_THREAD=auto \
 
99
            @PERL@ ./test-run.pl --force --comment=stress --suite=stress
110
100
 
111
101
# Re-enable the "jp" suite when bug#28563 is fixed
112
102
#       -cd tests ; MTR_BUILD_THREAD=auto \
113
 
#           @PERL@ ./drizzle-test-run.pl --force --comment=jp --suite=jp
 
103
#           @PERL@ ./test-run.pl --force --comment=jp --suite=jp
114
104
 
115
105
test-bt-debug:
116
106
        -cd tests ; MTR_BUILD_THREAD=auto \
117
 
            @PERL@ ./drizzle-test-run.pl --comment=debug  --force --timer \
 
107
            @PERL@ ./test-run.pl --comment=debug  --force --timer \
118
108
                --skip-rpl --report-features
119
109
 
120
110
# Keep these for a while
126
116
 
127
117
test-ext-funcs:
128
118
        cd tests ; \
129
 
            @PERL@ ./drizzle-test-run.pl --force --suite=funcs_1 ; \
130
 
            @PERL@ ./drizzle-test-run.pl --force --suite=funcs_2
 
119
            @PERL@ ./test-run.pl --force --suite=funcs_1 ; \
 
120
            @PERL@ ./test-run.pl --force --suite=funcs_2
131
121
 
132
122
test-ext-rpl:
133
123
        cd tests ; \
134
 
            @PERL@ ./drizzle-test-run.pl --force --suite=rpl
 
124
            @PERL@ ./test-run.pl --force --suite=rpl
135
125
 
136
126
test-ext-jp:
137
127
        cd tests ; \
138
 
            @PERL@ ./drizzle-test-run.pl --force --suite=jp
 
128
            @PERL@ ./test-run.pl --force --suite=jp
139
129
 
140
130
test-ext-stress:
141
131
        cd tests ; \
142
 
            @PERL@ ./drizzle-test-run.pl --force --big-test --suite=stress
 
132
            @PERL@ ./test-run.pl --force --big-test --suite=stress
143
133
 
144
134
test-ext:       test-ext-funcs test-ext-rpl test-ext-jp test-ext-stress
145
135
 
146
 
test-fast:
147
 
        cd tests ; \
148
 
            @PERL@ ./drizzle-test-run.pl $(subset) --force --skip-innodb --skip-im --skip-rpl ; \
149
 
            @PERL@ ./drizzle-test-run.pl $(subset) --force --suite=funcs_1 --do-test=myisam ; \
150
 
            @PERL@ ./drizzle-test-run.pl $(subset) --force --suite=stress --do-test=ddl_myisam 
151
 
 
152
 
test-fast-view:
153
 
        $(MAKE) subset=--view-protocol test-fast
154
 
 
155
 
test-fast-cursor:
156
 
        $(MAKE) subset=--cursor-protocol test-fast
157
 
 
158
 
test-fast-prepare:
159
 
        $(MAKE) subset=--ps-protocol test-fast
160
 
 
161
136
test-full-qa:
162
137
        $(MAKE) force=--force test-pr \
163
 
            test-binlog-statement test-ext test-fast-view \
164
 
                test-fast-cursor 
 
138
            test-binlog-statement test-ext
165
139
 
166
140
test-drizzle:
167
141
        cd tests ; \
168
 
        @PERL@ ./drizzle-test-run.pl --fast --reorder --force \
 
142
        @PERL@ ./test-run.pl --fast --reorder --force \
169
143
                join_crash \
170
144
                join_nested \
171
145
                join_outer_innodb \