~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Brian Aker
  • Date: 2008-07-19 06:41:41 UTC
  • Revision ID: brian@tangent.org-20080719064141-izi43truppza37q6
Fixed tab issue

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
 
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
 
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
36
36
 
37
37
# Create empty datadir 
38
38
install-data-local:
39
 
                                                                                                                                $(MKDIR_P) $(DESTDIR)$(localstatedir) 
40
 
                                                                                                                                @if test `id -u` = 0 ; then \
41
 
                                                                                                                                        chown $(MYSQLD_USER) $(DESTDIR)$(localstatedir) ;\
42
 
                                                                                                                                fi
 
39
        $(MKDIR_P) $(DESTDIR)$(localstatedir) 
 
40
        @if test `id -u` = 0 ; then \
 
41
                           chown $(MYSQLD_USER) $(DESTDIR)$(localstatedir) ;\
 
42
                           fi
43
43
 
44
44
distclean-local:
45
 
                                                                                                                                @RM@ -r -f autom4te.cache
 
45
        @RM@ -r -f autom4te.cache
46
46
 
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
 
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
70
70
 
71
71
# Target 'test' will run the regression test suite using the built server.
72
72
#
77
77
# making sure each user use different ports.
78
78
 
79
79
test-nr:
80
 
                                                                                                                                cd tests ; \
81
 
                                                                                                                                @PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=row
 
80
        cd tests ; \
 
81
          ./test-run $(force) --mysqld=--binlog-format=row
82
82
 
83
83
test-ns:
84
 
                                                                                                                                cd tests ; \
85
 
                                                                                                                                @PERL@ ./test-run.pl $(force) $(mem) --mysqld=--binlog-format=mixed
 
84
        cd tests ; \
 
85
          ./test-run $(force) $(mem) --mysqld=--binlog-format=mixed
86
86
 
87
87
test-binlog-statement:
88
 
                                                                                                                                cd tests ; \
89
 
                                                                                                                                @PERL@ ./test-run.pl $(force) --mysqld=--binlog-format=statement
 
88
        cd tests ; \
 
89
          ./test-run $(force) --mysqld=--binlog-format=statement
90
90
 
91
91
test: test-drizzle
92
92
 
93
 
test-full:      test test-nr
94
 
 
95
 
test-force:
96
 
                                                                                                                                $(MAKE) force=--force test
97
 
 
98
 
test-force-full:
99
 
                                                                                                                                $(MAKE) force=--force test-full
100
 
 
101
 
#used by autopush.pl to run memory based tests
102
 
test-force-mem:
103
 
                                                                                                                                $(MAKE) force=--force mem=--mem test
104
 
 
105
 
test-bt:
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
122
 
 
123
 
# Re-enable the "jp" suite when bug#28563 is fixed
124
 
#       -cd tests ; MTR_BUILD_THREAD=auto \
125
 
#           @PERL@ ./test-run.pl --force --comment=jp --suite=jp
126
 
 
127
 
test-bt-debug:
128
 
                                                                                                                        -cd tests ; MTR_BUILD_THREAD=auto \
129
 
                                                                                                                                @PERL@ ./test-run.pl --comment=debug  --force --timer \
130
 
                                                                                                                                --skip-rpl --report-features
131
 
 
132
 
# Keep these for a while
133
 
test-pl:        test
134
 
test-full-pl:   test-full
135
 
test-force-pl:  test-force
136
 
test-force-pl-mem:  test-force-mem
137
 
test-force-full-pl: test-force-full
138
 
 
139
 
test-ext-funcs:
140
 
                                                                                                                        cd tests ; \
141
 
                                                                                                                                @PERL@ ./test-run.pl --force --suite=funcs_1 ; \
142
 
                                                                                                                                @PERL@ ./test-run.pl --force --suite=funcs_2
143
 
 
144
 
test-ext-rpl:
145
 
                                                                                                                        cd tests ; \
146
 
                                                                                                                                @PERL@ ./test-run.pl --force --suite=rpl
147
 
 
148
 
test-ext-jp:
149
 
                                                                                                                        cd tests ; \
150
 
                                                                                                                                @PERL@ ./test-run.pl --force --suite=jp
151
 
 
152
 
test-ext-stress:
153
 
                                                                                                                        cd tests ; \
154
 
                                                                                                                                @PERL@ ./test-run.pl --force --big-test --suite=stress
155
 
 
156
 
test-ext:                                                                                       test-ext-funcs \
157
 
                                                                                                                        test-ext-rpl \
158
 
                                                                                                                        test-ext-jp \
159
 
                                                                                                                        test-ext-stress
160
 
 
161
 
test-full-qa:
162
 
                                                                                                                        $(MAKE) force=--force test-pr \
163
 
                                                                                                                                test-binlog-statement test-ext
164
 
 
165
93
test-drizzle:
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
 
94
        cd tests ; \
 
95
          ./test-run.pl --fast --reorder --force \
 
96
          alter_table \
 
97
          join_crash \
 
98
          join_nested \
 
99
          join_outer_innodb \
 
100
          delete \
 
101
          join_outer \
 
102
          distinct \
 
103
          join \
 
104
          subselect \
 
105
          subselect3 \
 
106
          subselect_innodb \
 
107
          insert \
 
108
          select \
 
109
          update \
 
110
          information_schema \
 
111
          mysqlslap \
 
112
          lock \
 
113
          lock_tables_lost_commit