~drizzle-trunk/drizzle/development

1377.8.1 by pawel
primitive integration of the testing framework with the building process
1
# vim:ft=automake
2
# included from Top Level Makefile.am
3
# All paths should be given relative to the root
4
2037.1.1 by kalebral at gmail
More copyright updates
5
#  Copyright (C) 2010 Monty Taylor
6
#
7
#  This program is free software; you can redistribute it and/or modify
8
#  it under the terms of the GNU General Public License as published by
9
#  the Free Software Foundation; version 2 of the License.
10
#
11
#  This program is distributed in the hope that it will be useful,
12
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
#  GNU General Public License for more details.
15
#
16
#  You should have received a copy of the GNU General Public License
17
#  along with this program; if not, write to the Free Software
18
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
2478.1.1 by Brian Aker
Merge yacc tree.
20
if HAVE_BOOST_TEST
21
check_PROGRAMS += unittests/unittests
22
endif
23
1621 by Monty Taylor
Fixed a missing make distcheck entry.
24
noinst_HEADERS += \
25
		  unittests/plugin/plugin_stubs.h \
26
		  unittests/temporal_generator.h
1579.1.1 by Monty Taylor
Rearragned unittests into a single exe because of how we need to link it
27
2478.1.1 by Brian Aker
Merge yacc tree.
28
unit: unittests/unittests
29
	unittests/unittests
30
1775.4.3 by Brian Aker
This disables a test that was calling Session but not freeing the values it
31
# Removed temporal_interval_test, it is not cleaning up after itself. -Brian
32
#
33
#		      unittests/temporal_interval_test.cc
34
#		     
35
2478.1.1 by Brian Aker
Merge yacc tree.
36
unittests_unittests_SOURCES = \
37
                              unittests/main.cc \
38
			      unittests/atomics_test.cc \
39
			      unittests/calendar_test.cc \
40
			      unittests/constrained_value.cc \
41
			      unittests/date_test.cc \
42
			      unittests/date_time_test.cc \
43
			      unittests/global_buffer_test.cc \
2472.1.6 by Brian Aker
Break up unit tests
44
			      unittests/libdrizzle_test.cc \
2478.1.1 by Brian Aker
Merge yacc tree.
45
			      unittests/micro_timestamp_test.cc \
46
			      unittests/nano_timestamp_test.cc \
47
			      unittests/option_context.cc \
48
			      unittests/pthread_atomics_test.cc \
49
			      unittests/table_identifier.cc \
50
			      unittests/temporal_format_test.cc \
51
			      unittests/temporal_generator.cc  \
52
			      unittests/timestamp_test.cc \
53
			      unittests/time_test.cc \
54
			      unittests/utf8_test.cc
55
56
unittests_unittests_LDADD= \
57
			   $(filter-out drizzled/main.$(OBJEXT), ${am_drizzled_drizzled_OBJECTS}) \
58
			   ${drizzled_drizzled_LDADD} \
59
			   ${BOOST_LIBS} \
60
			   libdrizzle-1.0/libdrizzle.la \
61
			   ${LTLIBBOOST_UNIT_TEST_FRAMEWORK} ${LTLIBBOOST_UNIT_TEST_FRAMEWORK_MT}