build 'common' tests

This commit is contained in:
Christian Thaeter 2008-05-19 13:30:20 +02:00
parent d6d6a10404
commit e1b8849d0c
2 changed files with 62 additions and 0 deletions

View file

@ -42,6 +42,7 @@ include $(top_srcdir)/src/backend/Makefile.am
#include $(top_srcdir)/src...
# tests
include $(top_srcdir)/tests/common/Makefile.am
include $(top_srcdir)/tests/components/Makefile.am
include $(top_srcdir)/tests/Makefile.am
include $(top_srcdir)/tests/plugin/Makefile.am

61
tests/common/Makefile.am Normal file
View file

@ -0,0 +1,61 @@
# Copyright (C) Lumiera.org
# 2008, Christian Thaeter <ct@pipapo.org>
# Hermann Vosseler <Ichthyostega@web.de>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
testcommon_srcdir = $(top_srcdir)/tests/common
check_PROGRAMS += test-common
test_common_CPPFLAGS = $(AM_CPPFLAGS) -Wall -I$(top_srcdir)/src -I$(testcommon_srcdir)
test_common_LDADD = \
liblumiproc.a \
liblumiprocengine.a \
liblumiprocmobjectbuilder.a \
liblumiprocmobjectsession.a \
liblumiprocasset.a \
liblumiprocmobject.a \
liblumiprocmobjectcontroller.a \
liblumi.a \
liblumicommon.a \
liblumibackend.a \
-lnobugmt -lpthread -ldl -lboost_program_options-mt -lboost_regex-mt
test_common_SOURCES = \
$(testcommon_srcdir)/appconfigtest.cpp \
$(testcommon_srcdir)/customsharedptrtest.cpp \
$(testcommon_srcdir)/exceptionerrortest.cpp \
$(testcommon_srcdir)/factoryspecialtest.cpp \
$(testcommon_srcdir)/factorytest.cpp \
$(testcommon_srcdir)/helloworldtest.cpp \
$(testcommon_srcdir)/lifecycletest.cpp \
$(testcommon_srcdir)/mainsuite.cpp \
$(testcommon_srcdir)/query/queryutilstest.cpp \
$(testcommon_srcdir)/removefromsettest.cpp \
$(testcommon_srcdir)/sanitizedidentifiertest.cpp \
$(testcommon_srcdir)/singletonsubclasstest.cpp \
$(testcommon_srcdir)/singletontest.cpp \
$(testcommon_srcdir)/singletontestmocktest.cpp \
$(testcommon_srcdir)/test/cmdlinewrappertest.cpp \
$(testcommon_srcdir)/test/testoptiontest.cpp \
$(testcommon_srcdir)/typelisttest.cpp \
$(testcommon_srcdir)/typelistutiltest.cpp \
$(testcommon_srcdir)/visitingtoolconcept.cpp \
$(testcommon_srcdir)/visitingtoolextendedtest.cpp \
$(testcommon_srcdir)/visitingtooltest.cpp
noinst_HEADERS += \
$(testcommon_srcdir)/query/querydiagnostics.hpp \
$(testcommon_srcdir)/testtargetobj.hpp