summaryrefslogtreecommitdiff
path: root/dbaccess/PythonTest_dbaccess_python.mk
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-09-30 15:25:42 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-10-07 16:16:46 +0200
commit6dbb6275ebd1a4299099c3b6bc82ec4ee0e1fb86 (patch)
tree26e0c3c7cb7f976f1659ceace0220055119a33ba /dbaccess/PythonTest_dbaccess_python.mk
parent45b876555073990a490bf2c9e174bce803f12eea (diff)
fdo84315: add integration test for basic LibreOffice Base functionality
Thanks to Stephan for helping with the test environment setup: sbergman@redhat.com: Do the same "set UserInstallation to user profile dir in test/user-template" in UnoInProcess's setUp as is done in test::BootstrapFixtureBase::setUp (unotest/source/cpp/bootstrapfixturebase.cxx) for CppunitTests. That way, these tests all use the workdir/unittest/ UserInstallation concurrently, but they at least do not run into the gotcha in SubstitutePathVariables::SetPredefinedPathVariables (framework/source/services/substitutepathvars.cxx) to only set the PREDEFVAR_USERPATH if PATH_EXISTS. Change-Id: Iad058098a4c69cb567e2d3222af3c7d4ba993271
Diffstat (limited to 'dbaccess/PythonTest_dbaccess_python.mk')
-rw-r--r--dbaccess/PythonTest_dbaccess_python.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/dbaccess/PythonTest_dbaccess_python.mk b/dbaccess/PythonTest_dbaccess_python.mk
new file mode 100644
index 000000000000..7954cbc3e911
--- /dev/null
+++ b/dbaccess/PythonTest_dbaccess_python.mk
@@ -0,0 +1,20 @@
+# -*- 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/.
+#
+
+$(eval $(call gb_PythonTest_PythonTest,dbaccess_python))
+
+$(eval $(call gb_PythonTest_set_defs,dbaccess_python,\
+ TDOC="$(SRCDIR)/dbaccess/qa/extras/testdocuments" \
+))
+
+$(eval $(call gb_PythonTest_add_modules,dbaccess_python,$(SRCDIR)/dbaccess/qa/python,\
+ fdo84315 \
+))
+
+# vim: set noet sw=4 ts=4: