~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/include.am

  • Committer: Monty Taylor
  • Date: 2010-06-02 22:35:45 UTC
  • mto: This revision was merged to the branch mainline in revision 1586.
  • Revision ID: mordred@inaugust.com-20100602223545-q8ekf9b40a85nwuf
Rearragned unittests into a single exe because of how we need to link it
(thanks lifeless)
Link with server symbols without needing to build a library.
Added an additional atomics test which tests whatever version of the atomics
lib the running platform would actually use.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# All paths should be given relative to the root
4
4
 
5
5
if HAVE_LIBGTEST
6
 
check_PROGRAMS +=       unittests/calendar_test \
7
 
                        unittests/atomics_test
8
 
 
9
 
unittests_calendar_test_LDADD = drizzled/libtemporal.la ${LTLIBGTEST}
10
 
unittests_calendar_test_SOURCES = unittests/calendar_test.cc
11
 
 
12
 
unittests_atomics_test_SOURCES = unittests/atomics_test.cc
13
 
unittests_atomics_test_LDADD = ${LTLIBGTEST}
 
6
check_PROGRAMS +=       unittests/unittests
 
7
 
 
8
unittests_unittests_SOURCES= \
 
9
                             unittests/atomics_test.cc \
 
10
                             unittests/calendar_test.cc \
 
11
                             unittests/main.cc \
 
12
                             unittests/pthread_atomics_test.cc
 
13
unittests_unittests_LDADD= \
 
14
  $(filter-out drizzled/main.$(OBJEXT), ${am_drizzled_drizzled_OBJECTS}) \
 
15
  ${drizzled_drizzled_LDADD} ${LTLIBGTEST}
 
16
 
14
17
endif