summaryrefslogtreecommitdiff
path: root/sw/JunitTest_sw_unoapi_2.mk
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-05-29 01:31:59 +0200
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2015-05-29 11:51:56 +0000
commite68cc3f919c85a385fb3d8f073fbd5cd04ab835f (patch)
tree38ee717d761e6e9b4843a1332b89814a3eff170b /sw/JunitTest_sw_unoapi_2.mk
parente4c3a73e30ecd8c82473f4dc5f16a74b6f50d15f (diff)
split sw unoapi test for performance
- test previously took 3m35s here - slowest part is now 70s Change-Id: I4a3e03cf6ef014ad60ecf6897b7395a680c33460 Reviewed-on: https://gerrit.libreoffice.org/15957 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'sw/JunitTest_sw_unoapi_2.mk')
-rw-r--r--sw/JunitTest_sw_unoapi_2.mk41
1 files changed, 41 insertions, 0 deletions
diff --git a/sw/JunitTest_sw_unoapi_2.mk b/sw/JunitTest_sw_unoapi_2.mk
new file mode 100644
index 000000000000..502c2e841ff7
--- /dev/null
+++ b/sw/JunitTest_sw_unoapi_2.mk
@@ -0,0 +1,41 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to you under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+
+$(eval $(call gb_JunitTest_JunitTest,sw_unoapi_2))
+
+$(eval $(call gb_JunitTest_set_defs,sw_unoapi_2,\
+ $$(DEFS) \
+ -Dorg.openoffice.test.arg.sce=$(SRCDIR)/sw/qa/unoapi/sw_2.sce \
+ -Dorg.openoffice.test.arg.xcl=$(SRCDIR)/sw/qa/unoapi/knownissues.xcl \
+ -Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/sw/qa/unoapi/testdocuments \
+))
+
+$(eval $(call gb_JunitTest_use_jars,sw_unoapi_2,\
+ OOoRunner \
+ ridl \
+ test \
+ unoil \
+ jurt \
+))
+
+$(eval $(call gb_JunitTest_add_classes,sw_unoapi_2,\
+ org.openoffice.test.UnoApiTest \
+))
+
+# vim: set noet sw=4 ts=4: