CppunitTest_sd_layout_tests also needs the ASan hack
...from e854abe076 "Avoid external processes
picking up instdir/program/libnspr4.so", to avoid
> Test name: testTdf168010::TestBody
> equality assertion failed
> - Expected: 0
> - Actual : 32512
> - failed to execute: sh .../bin/officeotron.sh /home/sberg/lo/tmp/libtest_sd_layout_tests.sobkez3.tmp > /home/sberg/lo/tmp/libtest_sd_layout_tests.sobkezo.tmp 2>&1
> java: symbol lookup error: .../instdir/program/libnspr4.so: undefined symbol: __asan_init
Change-Id: I1ab2c5a6eec44ebbf9487e5a58bef728eba6436e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190058
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
This commit is contained in:
@@ -75,4 +75,8 @@ $(eval $(call gb_CppunitTest_use_custom_headers,sd_layout_tests,\
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_configuration,sd_layout_tests))
|
||||
|
||||
$(eval $(call gb_CppunitTest_add_arguments,sd_layout_tests, \
|
||||
-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:
|
||||
|
||||
Reference in New Issue
Block a user