~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
1491.6.7 by Monty Taylor
Made gtest optional.
5
if HAVE_LIBGTEST
1712.1.8 by Monty Taylor
Killed the old libdrizzle unittests - they crash hades.
6
check_PROGRAMS += unittests/unittests
1621 by Monty Taylor
Fixed a missing make distcheck entry.
7
endif
8
9
noinst_HEADERS += \
10
		  unittests/plugin/plugin_stubs.h \
11
		  unittests/temporal_generator.h
1579.1.1 by Monty Taylor
Rearragned unittests into a single exe because of how we need to link it
12
1769.2.1 by Monty Taylor
Include files in tarball that were being left out.
13
EXTRA_DIST += \
14
	      unittests/client_server.c
15
1643.3.6 by Brian Aker
Added unit test for generators.
16
unit: unittests/unittests
17
	unittests/unittests
18
1775.4.3 by Brian Aker
This disables a test that was calling Session but not freeing the values it
19
# Removed temporal_interval_test, it is not cleaning up after itself. -Brian
20
#
21
#		      unittests/temporal_interval_test.cc
22
#		     
23
1377.8.31 by Paweł Blokus
little fix in include.am
24
unittests_unittests_SOURCES = \
1620 by Monty Taylor
Merged Pawel from lp:~pblokus/drizzle/unittests-plugin-interfaces
25
			      unittests/atomics_test.cc \
26
			      unittests/calendar_test.cc \
1863.2.1 by Monty Taylor
Added a basic bounded_value type for use in variables system.
27
			      unittests/constrained_value.cc \
1620 by Monty Taylor
Merged Pawel from lp:~pblokus/drizzle/unittests-plugin-interfaces
28
			      unittests/date_test.cc \
29
			      unittests/date_time_test.cc \
1643.3.6 by Brian Aker
Added unit test for generators.
30
			      unittests/generators.cc \
1796.4.1 by Andrew Hutchings
Add initial template work and test
31
                              unittests/global_buffer_test.cc \
1857.5.1 by Andrew Hutchings
Add unit tests for libdrizzle utility functions
32
                              unittests/libdrizzle_test.cc \
1620 by Monty Taylor
Merged Pawel from lp:~pblokus/drizzle/unittests-plugin-interfaces
33
			      unittests/main.cc \
34
			      unittests/micro_timestamp_test.cc \
35
			      unittests/nano_timestamp_test.cc \
1625.1.2 by Monty Taylor
Added option_context class, along with unittests, for adding a module
36
			      unittests/option_context.cc \
1620 by Monty Taylor
Merged Pawel from lp:~pblokus/drizzle/unittests-plugin-interfaces
37
			      unittests/plugin/authentication_test.cc \
38
			      unittests/plugin/client_test.cc \
39
			      unittests/plugin/error_message_test.cc \
40
			      unittests/pthread_atomics_test.cc \
41
			      unittests/table_identifier.cc \
42
			      unittests/temporal_format_test.cc \
43
			      unittests/temporal_generator.cc \
44
			      unittests/time_test.cc \
45
			      unittests/timestamp_test.cc \
46
			      unittests/utf8_test.cc
1567.3.25 by Monty Taylor
Merged with build.
47
1579.1.1 by Monty Taylor
Rearragned unittests into a single exe because of how we need to link it
48
unittests_unittests_LDADD= \
1782.2.1 by Monty Taylor
Reverted actually building a drizzled7 binary in the tree. That was silly.
49
  $(filter-out drizzled/main.$(OBJEXT), ${am_drizzled_drizzled_OBJECTS}) \
1857.5.1 by Andrew Hutchings
Add unit tests for libdrizzle utility functions
50
  ${drizzled_drizzled_LDADD} ${LTLIBGTEST} ${BOOST_LIBS} \
51
  libdrizzle/libdrizzle.la