80885bf2c3
This requires changing the interface a bit to pass the directory containing the test modules separately, because strangely the "unittest" thingy cannot load the test modules by their absolute path when changing the current working dir to where the core dump should happen. So put the directory onto the PYTHONPATH to work around that; arguably it's even nicer for clients this way. Change-Id: I0d1d39f33d0c086c6c3014d2f9ba93f0a3dc0128
56 lines
1.6 KiB
Makefile
56 lines
1.6 KiB
Makefile
# -*- 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,sw_unoapi))
|
|
|
|
$(eval $(call gb_PythonTest_use_configuration,sw_unoapi))
|
|
|
|
$(eval $(call gb_PythonTest_use_api,sw_unoapi,offapi))
|
|
|
|
# FAIL: this brings in GconfBackend $(eval $(call gb_PythonTest_use_rdb,sw_unoapi,services))
|
|
|
|
$(eval $(call gb_PythonTest_use_components,sw_unoapi,\
|
|
basic/util/sb \
|
|
comphelper/util/comphelp \
|
|
configmgr/source/configmgr \
|
|
dbaccess/util/dba \
|
|
fileaccess/source/fileacc \
|
|
filter/source/config/cache/filterconfig1 \
|
|
forms/util/frm \
|
|
framework/util/fwk \
|
|
i18npool/util/i18npool \
|
|
oox/util/oox \
|
|
package/source/xstor/xstor \
|
|
package/util/package2 \
|
|
sax/source/expatwrap/expwrap \
|
|
sax/source/fastparser/fastsax \
|
|
sw/util/sw \
|
|
sw/util/swd \
|
|
sw/util/msword \
|
|
sw/util/vbaswobj \
|
|
scripting/source/basprov/basprov \
|
|
scripting/util/scriptframe \
|
|
sfx2/util/sfx \
|
|
sot/util/sot \
|
|
svl/source/fsstor/fsstorage \
|
|
toolkit/util/tk \
|
|
ucb/source/core/ucb1 \
|
|
ucb/source/ucp/file/ucpfile1 \
|
|
ucb/source/ucp/tdoc/ucptdoc1 \
|
|
unotools/util/utl \
|
|
unoxml/source/rdf/unordf \
|
|
unoxml/source/service/unoxml \
|
|
))
|
|
|
|
$(eval $(call gb_PythonTest_add_modules,sw_unoapi,$(SRCDIR)/sw/qa/python,\
|
|
set_expression \
|
|
get_expression \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|