summaryrefslogtreecommitdiff
path: root/configmgr/qa/unit
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-11-23 12:58:12 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-11-23 12:58:12 +0000
commit54b882248d04d95d7e957bb745a3df574c9c74d1 (patch)
treeb9b8b72c7bd7da7d8c8c1eb2bb725bc4c0ad8169 /configmgr/qa/unit
parent75d8432983d29e95506147c59bde31fbc5293aad (diff)
INTEGRATION: CWS configrefactor01 (1.1.2); FILE ADDED
2007/10/12 16:56:50 mmeeks 1.1.2.6: Issue number: i#82311# Submitted by: mmeeks Split out bootstrapping piece, add cross-platform /tmp/ directory creation, Fix cross-thread locking issues during notification, remove some printfs. 2007/10/11 16:14:06 mmeeks 1.1.2.5: Issue number: i#82311# Submitted by: mmeeks Add threaded unit tests, fix locking issues in apitreeimplobj.cxx Add UnoApiLockClearable, and UnoApiLockReleaser (prolly needed for the next tests) 2007/10/08 16:35:39 mmeeks 1.1.2.4: Issue number: i#82311# Submitted by: mmeeks More work on unit tests - now set / get keys works (not just bootstrapping) 2007/10/05 14:14:04 mmeeks 1.1.2.3: Issue number: i#82311 Submitted by: mmeeks Reviewed by: mmeeks Cleanups from patch re-review. Improvements to unit-testing framework. 2007/02/08 12:44:56 sb 1.1.2.2: Not yet working unit testing framework. 2007/02/05 15:21:44 mmeeks 1.1.2.1: Submitted by: mmeeks Reduce memory usage for 'subtree' further ~250k or so, start of unit tests.
Diffstat (limited to 'configmgr/qa/unit')
-rw-r--r--configmgr/qa/unit/makefile.mk68
1 files changed, 68 insertions, 0 deletions
diff --git a/configmgr/qa/unit/makefile.mk b/configmgr/qa/unit/makefile.mk
new file mode 100644
index 000000000000..e4e745c9dfae
--- /dev/null
+++ b/configmgr/qa/unit/makefile.mk
@@ -0,0 +1,68 @@
+#*************************************************************************
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# $RCSfile: makefile.mk,v $
+#
+# $Revision: 1.2 $
+#
+# last change: $Author: ihi $ $Date: 2007-11-23 13:58:12 $
+#
+# The Contents of this file are made available subject to
+# the terms of GNU Lesser General Public License Version 2.1.
+#
+#
+# GNU Lesser General Public License Version 2.1
+# =============================================
+# Copyright 2007 by Sun Microsystems, Inc.
+# 901 San Antonio Road, Palo Alto, CA 94303, USA
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License version 2.1, as published by the Free Software Foundation.
+#
+# This library 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 for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+#*************************************************************************
+
+PRJ := ..$/..
+PRJNAME := configmgr
+TARGET := qa_unit
+
+ENABLE_EXCEPTIONS := TRUE
+
+.INCLUDE: settings.mk
+
+DLLPRE = # no leading "lib" on .so files
+
+SHL1TARGET = $(TARGET)
+SHL1OBJS = $(SLO)$/performance.obj $(SLO)$/threading.obj $(SLO)$/ubootstrap.obj
+SHL1STDLIBS = $(CPPULIB) $(CPPUHELPERLIB) $(CPPUNITLIB) $(SALLIB)
+SHL1VERSIONMAP = export.map
+SHL1IMPLIB = i$(SHL1TARGET)
+DEF1NAME = $(SHL1TARGET)
+
+SLOFILES = $(SHL1OBJS)
+
+.INCLUDE: target.mk
+
+ALLTAR: test
+
+$(MISC)$/$(TARGET).rdb .ERRREMOVE:
+ $(COPY) $(SOLARBINDIR)$/types.rdb $@
+ regcomp -register -r $@ -c $(subst,$/,/ $(DLLDEST)$/configmgr2.uno$(DLLPOST))
+ regcomp -register -r $@ -c $(subst,$/,/ $(SOLARLIBDIR)/typeconverter.uno$(DLLPOST))
+ regcomp -register -r $@ -c $(subst,$/,/ $(SOLARLIBDIR)/sax.uno$(DLLPOST))
+ regcomp -register -r $@ -c $(subst,$/,/ $(SOLARLIBDIR)/simplereg.uno$(DLLPOST))
+ regcomp -register -r $@ -c $(subst,$/,/ $(SOLARLIBDIR)/streams.uno$(DLLPOST))
+
+test .PHONY: $(SHL1TARGETN) $(MISC)$/$(TARGET).rdb
+ testshl2 $(SHL1TARGETN) -forward "$(MISC)$/$(TARGET).rdb#$(PWD)$/$(MISC)$/$(TARGET).registry"