~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Brian Aker
  • Date: 2008-07-18 20:10:26 UTC
  • mfrom: (51.3.29 remove-dbug)
  • Revision ID: brian@tangent.org-20080718201026-tto5golt0xhwqe4a
Merging in Jay's final patch on dbug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
# Process this file with automake to create Makefile.in
17
17
 
18
 
if BUILD_DBUG
19
 
  d_dbug = dbug
20
 
endif
21
 
 
22
 
SUBDIRS =               . include \
23
 
                        vio \
24
 
                        strings mysys $(d_dbug) \
25
 
                        extra \
26
 
                        libdrizzle client storage plugin \
27
 
                        server \
28
 
                        tests support-files
29
 
 
30
 
DIST_SUBDIRS =          $(SUBDIRS) mysys/tests strings/tests
31
 
 
32
 
DISTCLEANFILES = ac_available_languages_fragment
 
18
SUBDIRS =                                                                                               . include \
 
19
                                                                                                                                vio \
 
20
                                                                                                                                strings \
 
21
                                                                                                                                mysys \
 
22
                                                                                                                                extra \
 
23
                                                                                                                                libdrizzle \
 
24
                                                                                                                                client \
 
25
                                                                                                                                storage \
 
26
                                                                                                                                plugin \
 
27
                                                                                                                                server \
 
28
                                                                                                                                tests \
 
29
                                                                                                                                support-files
 
30
 
 
31
DIST_SUBDIRS =                                                                  $(SUBDIRS) \
 
32
                                                                                                                                mysys/tests \
 
33
                                                                                                                                strings/tests
 
34
 
 
35
DISTCLEANFILES =                                                                ac_available_languages_fragment
33
36
 
34
37
# Create empty datadir 
35
38
install-data-local:
36
 
        $(MKDIR_P) $(DESTDIR)$(localstatedir) 
37
 
        @if test `id -u` = 0 ; then \
38
 
                chown $(MYSQLD_USER) $(DESTDIR)$(localstatedir) ;\
39
 
        fi
 
39
                                                                                                                                $(MKDIR_P) $(DESTDIR)$(localstatedir) 
 
40
                                                                                                                                @if test `id -u` = 0 ; then \
 
41
                                                                                                                                        chown $(MYSQLD_USER) $(DESTDIR)$(localstatedir) ;\
 
42
                                                                                                                                fi
40
43
 
41
44
distclean-local:
42
 
        @RM@ -r -f autom4te.cache
 
45
                                                                                                                                @RM@ -r -f autom4te.cache
43
46
 
44
 
.PHONY: test    test-force    test-full    test-force-full    test-force-mem \
45
 
  test-pl test-force-pl test-full-pl test-force-full-pl test-force-pl-mem \
46
 
  test-ps test-nr test-pr test-ns test-binlog-statement \
47
 
  test-ext-funcs test-ext-rpl test-ext-jp \
48
 
  test-ext-stress test-ext test-embedded \
49
 
  test-fast test-fast-cursor test-fast-view test-fast-prepare \
50
 
  test-full-qa
 
47
.PHONY:                                                                                                 test \
 
48
                                                                                                                                test-force \
 
49
                                                                                                                                test-full \
 
50
                                                                                                                                test-force-full \
 
51
                                                                                                                                test-force-mem \
 
52
                                                                                                                                test-pl \
 
53
                                                                                                                                test-force-pl \
 
54
                                                                                                                                test-full-pl \
 
55
                                                                                                                                test-force-full-pl \
 
56
                                                                                                                                test-force-pl-mem \
 
57
                                                                                                                                test-ps test-nr \
 
58
                                                                                                                                test-pr test-ns \
 
59
                                                                                                                                test-binlog-statement \
 
60
                                                                                                                                test-ext-funcs \
 
61
                                                                                                                                test-ext-rpl \
 
62
                                                                                                                                test-ext-jp \
 
63
                                                                                                                                test-ext-stress \
 
64
                                                                                                                                test-ext \
 
65
                                                                                                                                test-embedded \
 
66
                                                                                                                                test-fast \
 
67
                                                                                                                                test-fast-cursor \
 
68
                                                                                                                                test-fast-view \
 
69
                                                                                                                                test-full-qa
51
70
 
52
71
# Target 'test' will run the regression test suite using the built server.
53
72
#
58
77
# making sure each user use different ports.
59
78
 
60
79
test-nr:
61
 
        cd tests ; \
62
 
            @PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=row
 
80
                                                                                                                                cd tests ; \
 
81
                                                                                                                                @PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=row
63
82
 
64
83
test-ns:
65
 
        cd tests ; \
66
 
            @PERL@ ./test-run.pl $(force) $(mem) --mysqld=--binlog-format=mixed
 
84
                                                                                                                                cd tests ; \
 
85
                                                                                                                                @PERL@ ./test-run.pl $(force) $(mem) --mysqld=--binlog-format=mixed
67
86
 
68
87
test-binlog-statement:
69
 
        cd tests ; \
70
 
            @PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=statement
 
88
                                                                                                                                cd tests ; \
 
89
                                                                                                                                @PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=statement
71
90
 
72
91
test: test-drizzle
73
92
 
74
93
test-full:      test test-nr
75
94
 
76
95
test-force:
77
 
        $(MAKE) force=--force test
 
96
                                                                                                                                $(MAKE) force=--force test
78
97
 
79
98
test-force-full:
80
 
        $(MAKE) force=--force test-full
 
99
                                                                                                                                $(MAKE) force=--force test-full
81
100
 
82
101
#used by autopush.pl to run memory based tests
83
102
test-force-mem:
84
 
        $(MAKE) force=--force mem=--mem test
 
103
                                                                                                                                $(MAKE) force=--force mem=--mem test
85
104
 
86
105
test-bt:
87
 
        -cd tests ; MTR_BUILD_THREAD=auto \
88
 
            @PERL@ ./test-run.pl --force --comment=funcs1_ps --ps-protocol --suite=funcs_1
89
 
        -cd tests ; MTR_BUILD_THREAD=auto \
90
 
            @PERL@ ./test-run.pl --force --comment=funcs2 --suite=funcs_2
91
 
        -cd tests ; MTR_BUILD_THREAD=auto \
92
 
            @PERL@ ./test-run.pl --force --comment=rpl --suite=rpl
93
 
        -if [ -d test/suite/nist ] ; then \
94
 
          cd tests ; MTR_BUILD_THREAD=auto \
95
 
              @PERL@ ./test-run.pl --comment=NIST+normal --force --suite=nist ; \
96
 
        fi
97
 
        -if [ -d test/suite/nist ] ; then \
98
 
          cd tests ; MTR_BUILD_THREAD=auto \
99
 
              @PERL@ ./test-run.pl --comment=NIST+ps --force --suite=nist --ps-protocol ; \
100
 
        fi
101
 
        -cd tests ; MTR_BUILD_THREAD=auto \
102
 
            @PERL@ ./test-run.pl --force --comment=stress --suite=stress
 
106
                                                                                                                                -cd tests ; MTR_BUILD_THREAD=auto \
 
107
                                                                                                                                        @PERL@ ./test-run.pl --force --comment=funcs1_ps --ps-protocol --suite=funcs_1
 
108
                                                                                                                                -cd tests ; MTR_BUILD_THREAD=auto \
 
109
                                                                                                                                        @PERL@ ./test-run.pl --force --comment=funcs2 --suite=funcs_2
 
110
                                                                                                                                -cd tests ; MTR_BUILD_THREAD=auto \
 
111
                                                                                                                                        @PERL@ ./test-run.pl --force --comment=rpl --suite=rpl
 
112
                                                                                                                                -if [ -d test/suite/nist ] ; then \
 
113
                                                                                                                                        cd tests ; MTR_BUILD_THREAD=auto \
 
114
                                                                                                                                                @PERL@ ./test-run.pl --comment=NIST+normal --force --suite=nist ; \
 
115
                                                                                                                                fi
 
116
                                                                                                                                -if [ -d test/suite/nist ] ; then \
 
117
                                                                                                                                        cd tests ; MTR_BUILD_THREAD=auto \
 
118
                                                                                                                                                @PERL@ ./test-run.pl --comment=NIST+ps --force --suite=nist --ps-protocol ; \
 
119
                                                                                                                                fi
 
120
                                                                                                                                -cd tests ; MTR_BUILD_THREAD=auto \
 
121
                                                                                                                                        @PERL@ ./test-run.pl --force --comment=stress --suite=stress
103
122
 
104
123
# Re-enable the "jp" suite when bug#28563 is fixed
105
124
#       -cd tests ; MTR_BUILD_THREAD=auto \
106
125
#           @PERL@ ./test-run.pl --force --comment=jp --suite=jp
107
126
 
108
127
test-bt-debug:
109
 
        -cd tests ; MTR_BUILD_THREAD=auto \
110
 
            @PERL@ ./test-run.pl --comment=debug  --force --timer \
111
 
                --skip-rpl --report-features
 
128
                                                                                                                        -cd tests ; MTR_BUILD_THREAD=auto \
 
129
                                                                                                                                @PERL@ ./test-run.pl --comment=debug  --force --timer \
 
130
                                                                                                                                --skip-rpl --report-features
112
131
 
113
132
# Keep these for a while
114
133
test-pl:        test
118
137
test-force-full-pl: test-force-full
119
138
 
120
139
test-ext-funcs:
121
 
        cd tests ; \
122
 
            @PERL@ ./test-run.pl --force --suite=funcs_1 ; \
123
 
            @PERL@ ./test-run.pl --force --suite=funcs_2
 
140
                                                                                                                        cd tests ; \
 
141
                                                                                                                                @PERL@ ./test-run.pl --force --suite=funcs_1 ; \
 
142
                                                                                                                                @PERL@ ./test-run.pl --force --suite=funcs_2
124
143
 
125
144
test-ext-rpl:
126
 
        cd tests ; \
127
 
            @PERL@ ./test-run.pl --force --suite=rpl
 
145
                                                                                                                        cd tests ; \
 
146
                                                                                                                                @PERL@ ./test-run.pl --force --suite=rpl
128
147
 
129
148
test-ext-jp:
130
 
        cd tests ; \
131
 
            @PERL@ ./test-run.pl --force --suite=jp
 
149
                                                                                                                        cd tests ; \
 
150
                                                                                                                                @PERL@ ./test-run.pl --force --suite=jp
132
151
 
133
152
test-ext-stress:
134
 
        cd tests ; \
135
 
            @PERL@ ./test-run.pl --force --big-test --suite=stress
 
153
                                                                                                                        cd tests ; \
 
154
                                                                                                                                @PERL@ ./test-run.pl --force --big-test --suite=stress
136
155
 
137
 
test-ext:       test-ext-funcs test-ext-rpl test-ext-jp test-ext-stress
 
156
test-ext:                                                                                       test-ext-funcs \
 
157
                                                                                                                        test-ext-rpl \
 
158
                                                                                                                        test-ext-jp \
 
159
                                                                                                                        test-ext-stress
138
160
 
139
161
test-full-qa:
140
 
        $(MAKE) force=--force test-pr \
141
 
            test-binlog-statement test-ext
 
162
                                                                                                                        $(MAKE) force=--force test-pr \
 
163
                                                                                                                                test-binlog-statement test-ext
142
164
 
143
165
test-drizzle:
144
 
        cd tests ; \
145
 
        @PERL@ ./test-run.pl --fast --reorder --force \
146
 
                join_crash \
147
 
                join_nested \
148
 
                join_outer_innodb \
149
 
                delete \
150
 
                join_outer \
151
 
                distinct \
152
 
                join \
153
 
                subselect \
154
 
                subselect3 \
155
 
                subselect_innodb \
156
 
                insert \
157
 
                select \
158
 
                update \
159
 
                information_schema \
160
 
                mysqlslap \
161
 
                lock \
162
 
                lock_tables_lost_commit
 
166
                                                                                                                        cd tests ; \
 
167
                                                                                                                        @PERL@ ./test-run.pl --fast --reorder --force \
 
168
                                                                                                                                join_crash \
 
169
                                                                                                                                join_nested \
 
170
                                                                                                                                join_outer_innodb \
 
171
                                                                                                                                delete \
 
172
                                                                                                                                join_outer \
 
173
                                                                                                                                distinct \
 
174
                                                                                                                                join \
 
175
                                                                                                                                subselect \
 
176
                                                                                                                                subselect3 \
 
177
                                                                                                                                subselect_innodb \
 
178
                                                                                                                                insert \
 
179
                                                                                                                                select \
 
180
                                                                                                                                update \
 
181
                                                                                                                                information_schema \
 
182
                                                                                                                                mysqlslap \
 
183
                                                                                                                                lock \
 
184
                                                                                                                                lock_tables_lost_commit