summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2011-01-05 13:18:26 +0100
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2011-01-05 13:18:26 +0100
commitddc253aaa06b8a61619bcb671d01fcf5937fcdf5 (patch)
tree3e145fb4e46fdf3f74ee13487dd2621403442972
parenta366a075c8d2ade6c0b4efdd1203f22d30a8bb7b (diff)
gnumake3: first try with TestFixtures
-rwxr-xr-xsfx2/Module_sfx2.mk1
-rwxr-xr-xsfx2/TestFixture_metadatable.mk38
2 files changed, 39 insertions, 0 deletions
diff --git a/sfx2/Module_sfx2.mk b/sfx2/Module_sfx2.mk
index f6ac7c4c053e..9eba16c3f10e 100755
--- a/sfx2/Module_sfx2.mk
+++ b/sfx2/Module_sfx2.mk
@@ -32,6 +32,7 @@ $(eval $(call gb_Module_add_targets,sfx2,\
Library_sfx \
Package_inc \
Package_sdi \
+ TestFixture_metadatable \
))
ifeq ($(OS),LINUX)
diff --git a/sfx2/TestFixture_metadatable.mk b/sfx2/TestFixture_metadatable.mk
new file mode 100755
index 000000000000..066f405467f2
--- /dev/null
+++ b/sfx2/TestFixture_metadatable.mk
@@ -0,0 +1,38 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2009 by Sun Microsystems, Inc.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org 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 Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Testfixture_TestFixture,metadatable))
+
+$(eval $(call gb_Testfixture_add_exception_objects,metadatable, \
+ sfx2/qa/cppunit/test_metadatable.cxx \
+))
+
+$(eval $(call gb_Testfixture_add_linked_libs,metadatable, \
+ sfx \
+))
+
+# vim: set noet sw=4 ts=4: