diff options
author | Mathias Bauer <mba@openoffice.org> | 2011-02-27 18:13:02 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-06-16 13:08:54 +0200 |
commit | a7807daef906bc2a829deed62b84ce7c0a63e865 (patch) | |
tree | 12e97036f73d1531f8866c700b9ed8fbc46e6f3a /basegfx | |
parent | 602edcf19750e3d64300a994779bf7eab2794fae (diff) |
CWS gnumake4: add cppunittests for basebmp and basegfx [hg:f8f8d6414c70]
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/CppunitTest_basegfx.mk | 23 | ||||
-rw-r--r-- | basegfx/Module_basegfx.mk | 1 | ||||
-rw-r--r-- | basegfx/test/basegfx1d.cxx | 1 |
3 files changed, 21 insertions, 4 deletions
diff --git a/basegfx/CppunitTest_basegfx.mk b/basegfx/CppunitTest_basegfx.mk index e31b025b1f54..ed5403dd5601 100644 --- a/basegfx/CppunitTest_basegfx.mk +++ b/basegfx/CppunitTest_basegfx.mk @@ -25,17 +25,32 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,MODULE_NAME)) +$(eval $(call gb_CppunitTest_CppunitTest,basegfx_test)) -$(eval $(call gb_CppunitTest_add_exception_objects,MODULE_NAME, \ +$(eval $(call gb_CppunitTest_add_exception_objects,basegfx_test, \ + basegfx/test/basegfx1d \ + basegfx/test/basegfx2d \ + basegfx/test/basegfx3d \ + basegfx/test/boxclipper \ + basegfx/test/basegfxtools \ + basegfx/test/clipstate \ + basegfx/test/genericclipper \ + basegfx/test/testtools \ )) -$(eval $(call gb_CppunitTest_add_linked_libs,MODULE_NAME, \ +$(eval $(call gb_CppunitTest_add_linked_libs,basegfx_test, \ + basegfx \ + sal \ + cppuhelper \ + cppunit \ + cppu \ $(gb_STDLIBS) \ )) -$(eval $(call gb_CppunitTest_set_include,MODULE_NAME,\ +$(eval $(call gb_CppunitTest_set_include,basegfx_test,\ $$(INCLUDE) \ + -I$(SRCDIR)/basegfx/inc/pch \ + -I$(OUTDIR)/inc/offuh \ )) # vim: set noet sw=4 ts=4: diff --git a/basegfx/Module_basegfx.mk b/basegfx/Module_basegfx.mk index 91f173ea8a25..5f63b47fb69c 100644 --- a/basegfx/Module_basegfx.mk +++ b/basegfx/Module_basegfx.mk @@ -33,6 +33,7 @@ $(eval $(call gb_Module_add_targets,basegfx,\ )) $(eval $(call gb_Module_add_check_targets,basegfx,\ + CppunitTest_basegfx \ )) # vim: set noet sw=4 ts=4: diff --git a/basegfx/test/basegfx1d.cxx b/basegfx/test/basegfx1d.cxx index 9b189bd8b236..0c5cf82a7107 100644 --- a/basegfx/test/basegfx1d.cxx +++ b/basegfx/test/basegfx1d.cxx @@ -31,6 +31,7 @@ // autogenerated file with codegen.pl #include "preextstl.h" +#include <sal/cppunit.h> #include "cppunit/TestAssert.h" #include "cppunit/TestFixture.h" #include "cppunit/extensions/HelperMacros.h" |