Files
core/sc/CppunitTest_sc_cond_format.mk
Stephan Bergmann ee92006e42 CppunitTest_sc_cond_format also needs the ASan hack
...from e854abe076 "Avoid external processes
picking up instdir/program/libnspr4.so", to avoid

> Test name: testColorScaleExportXLSX::TestBody
> equality assertion failed
> - Expected: 0
> - Actual  : 32512
> - failed to execute: sh .../bin/officeotron.sh .../tmp/libtest_sc_cond_format.so8sa76.tmp > .../tmp/libtest_sc_cond_format.so8sa84.tmp 2>&1
> java: symbol lookup error: .../instdir/program/libnspr4.so: undefined symbol: __asan_init

etc.

Change-Id: I82bd4fe6b3860b1b59777c3e7025e69666eeabf2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187177
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins
2025-06-30 16:15:56 +02:00

63 lines
1.5 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_cond_format))
$(eval $(call gb_CppunitTest_add_exception_objects,sc_cond_format, \
sc/qa/unit/cond_format \
))
$(eval $(call gb_CppunitTest_use_externals,sc_cond_format, \
boost_headers \
mdds_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_use_libraries,sc_cond_format, \
comphelper \
cppu \
cppuhelper \
editeng \
i18nlangtag \
sal \
sc \
scqahelper \
sfx \
subsequenttest \
svl \
svx \
svxcore \
test \
tl \
unotest \
utl \
vcl \
))
$(eval $(call gb_CppunitTest_set_include,sc_cond_format,\
-I$(SRCDIR)/sc/source/ui/inc \
-I$(SRCDIR)/sc/inc \
$$(INCLUDE) \
))
$(eval $(call gb_CppunitTest_use_sdk_api,sc_cond_format))
$(eval $(call gb_CppunitTest_use_ure,sc_cond_format))
$(eval $(call gb_CppunitTest_use_vcl,sc_cond_format))
$(eval $(call gb_CppunitTest_use_rdb,sc_cond_format,services))
$(eval $(call gb_CppunitTest_use_configuration,sc_cond_format))
$(eval $(call gb_CppunitTest_add_arguments,sc_cond_format, \
-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: