~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
# Copyright (C) 2000-2006 MySQL AB
2
# 
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; version 2 of the License.
6
# 
7
# This program is distributed in the hope that it will be useful,
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
# GNU General Public License for more details.
11
# 
12
# You should have received a copy of the GNU General Public License
13
# along with this program; if not, write to the Free Software
14
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15
16
# Process this file with automake to create Makefile.in
17
202.1.20 by Monty Taylor
Changed subdir build order so that we get mysys done before comp_err in include.
18
SUBDIRS = . vio \
212.5.4 by Monty Taylor
Renamed strings to mystrings, for include/lib naming consistency.
19
	  mystrings \
187 by Brian Aker
Fixed tab issue
20
	  mysys \
202.1.20 by Monty Taylor
Changed subdir build order so that we get mysys done before comp_err in include.
21
	  include \
187 by Brian Aker
Fixed tab issue
22
	  extra \
23
	  libdrizzle \
24
	  client \
25
	  storage \
26
	  plugin \
214 by Brian Aker
Rename of fields (fix issue with string and decimal .h clashing).
27
	  drizzled \
187 by Brian Aker
Fixed tab issue
28
	  tests \
29
	  support-files
30
31
DIST_SUBDIRS = $(SUBDIRS) \
32
	       mysys/tests \
212.5.4 by Monty Taylor
Renamed strings to mystrings, for include/lib naming consistency.
33
	       mystrings/tests
187 by Brian Aker
Fixed tab issue
34
35
DISTCLEANFILES = ac_available_languages_fragment
1 by brian
clean slate
36
142.2.1 by Monty Taylor
Fixed Bug#248136 - We create the datadir now on install and chown it to
37
# Create empty datadir 
38
install-data-local:
202.1.24 by Monty Taylor
Changed MKDIR_P to mkinstalldir
39
	$(mkinstalldirs) $(DESTDIR)$(localstatedir) 
187 by Brian Aker
Fixed tab issue
40
	@if test `id -u` = 0 ; then \
202.1.24 by Monty Taylor
Changed MKDIR_P to mkinstalldir
41
		chown $(MYSQLD_USER) $(DESTDIR)$(localstatedir) ;\
42
	fi
142.2.1 by Monty Taylor
Fixed Bug#248136 - We create the datadir now on install and chown it to
43
77.1.106 by Monty Taylor
Another batch of distclean fixes.
44
distclean-local:
187 by Brian Aker
Fixed tab issue
45
	@RM@ -r -f autom4te.cache
77.1.106 by Monty Taylor
Another batch of distclean fixes.
46
187 by Brian Aker
Fixed tab issue
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
1 by brian
clean slate
70
71
# Target 'test' will run the regression test suite using the built server.
72
#
73
# If you are running in a shared environment, users can avoid clashing
74
# port numbers by setting individual small numbers 1-100 to the
168 by Brian Aker
Rename of test (better tab completion!)
75
# environment variable MTR_BUILD_THREAD. The script "test-run"
1 by brian
clean slate
76
# will then calculate the various port numbers it needs from this,
77
# making sure each user use different ports.
78
79
test-nr:
187 by Brian Aker
Fixed tab issue
80
	cd tests ; \
81
	  ./test-run $(force) --mysqld=--binlog-format=row
1 by brian
clean slate
82
83
test-ns:
187 by Brian Aker
Fixed tab issue
84
	cd tests ; \
85
	  ./test-run $(force) $(mem) --mysqld=--binlog-format=mixed
1 by brian
clean slate
86
87
test-binlog-statement:
187 by Brian Aker
Fixed tab issue
88
	cd tests ; \
89
	  ./test-run $(force) --mysqld=--binlog-format=statement
1 by brian
clean slate
90
53.2.5 by Monty Taylor
Add Jay's test optoins at the target of make test.
91
test: test-drizzle
92
93
test-drizzle:
187 by Brian Aker
Fixed tab issue
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 \
215 by Brian Aker
Fixed newdecimal test and added it to standard tests.
103
	  type_newdecimal \
187 by Brian Aker
Fixed tab issue
104
	  join \
105
	  subselect \
106
	  subselect3 \
107
	  subselect_innodb \
108
	  insert \
109
	  select \
110
	  update \
111
	  information_schema \
112
	  mysqlslap \
113
	  lock \
114
	  lock_tables_lost_commit