office-gobmx/sc/CppunitTest_sc_bugfix_test.mk
Xisco Fauli 59b62978c7 CppunitTest_sc_bugfix_test: inherit from UnoApiXmlTest
Note: testTdf31231 and testTdf141914 had to be adapted a bit.
the documents are modified after a hard recalc. Reported in
tdf#152065

Change-Id: Ib9093d766b17de78f8a547c285a0e0082eb01171
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142757
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-16 11:25:03 +01:00

92 lines
2 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_CppunitTest_CppunitTest,sc_bugfix_test))
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_bugfix_test))
$(eval $(call gb_CppunitTest_add_exception_objects,sc_bugfix_test, \
sc/qa/unit/bugfix-test \
))
$(eval $(call gb_CppunitTest_use_externals,sc_bugfix_test, \
boost_headers \
mdds_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_use_libraries,sc_bugfix_test, \
basegfx \
comphelper \
cppu \
cppuhelper \
drawinglayer \
drawinglayercore \
editeng \
for \
forui \
i18nlangtag \
msfilter \
oox \
sal \
salhelper \
sax \
sb \
sc \
scqahelper \
sfx \
sot \
subsequenttest \
svl \
svt \
svx \
svxcore \
test \
tk \
tl \
ucbhelper \
unotest \
utl \
$(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \
xo \
))
$(eval $(call gb_CppunitTest_set_include,sc_bugfix_test,\
-I$(SRCDIR)/sc/source/ui/inc \
-I$(SRCDIR)/sc/inc \
$$(INCLUDE) \
))
$(eval $(call gb_CppunitTest_use_api,sc_bugfix_test,\
udkapi \
offapi \
oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_bugfix_test))
$(eval $(call gb_CppunitTest_use_vcl,sc_bugfix_test))
$(eval $(call gb_CppunitTest_use_rdb,sc_bugfix_test,services))
$(eval $(call gb_CppunitTest_use_configuration,sc_bugfix_test))
ifeq ($(OS),WNT)
# gpgme-w32spawn.exe is needed in workdir/LinkTarget/Executable
$(eval $(call gb_CppunitTest_use_packages,sc_bugfix_test,\
$(call gb_Helper_optional,GPGMEPP,gpgmepp)\
))
endif
$(eval $(call gb_CppunitTest_add_arguments,sc_bugfix_test, \
-env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
))
# vim: set noet sw=4 ts=4: