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
This commit is contained in:
Stephan Bergmann
2025-06-30 16:15:56 +02:00
parent f5d0c6dc28
commit ee92006e42
+4
View File
@@ -55,4 +55,8 @@ $(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: