1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
Description: Use Debian-specific build $HOME during unit tests.
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Forwarded: not needed, Debian-specific
--- a/tests/plugins/Utils/CMakeLists.txt
+++ b/tests/plugins/Utils/CMakeLists.txt
@@ -20,7 +20,7 @@
DESTINATION "${SHELL_PRIVATE_FULL_LIBEXECDIR}/tests/plugins/Utils"
)
add_lomiri_unittest(${util_test} ${util_test}TestExec ADD_TEST
- ENVIRONMENT LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/plugins/Utils HOME=/nonexistent
+ ENVIRONMENT LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/plugins/Utils HOME="${CMAKE_SOURCE_DIR}/debian/home"
)
endforeach()
|