aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAvatar Benedikt Morbach <moben@exherbo.org> 2016-12-18 22:24:18 +0100
committerAvatar Bo ├śrsted Andresen <bo.andresen@zlin.dk> 2016-12-19 13:32:49 +0100
commit2f8bc8a0a8b704c352ab82f4d60524d33ec4b43a (patch)
treef316e9778f6261ae98e4ab951ccc5b5222e36357 /cmake
parent41c5a92518f6eff79e12abe9c891dd21316466b0 (diff)
downloadpaludis-2f8bc8a0a8b704c352ab82f4d60524d33ec4b43a.tar.gz
paludis-2f8bc8a0a8b704c352ab82f4d60524d33ec4b43a.tar.xz
pass ${SYDBOX_ACTIVE} through test runner
fixes tests under sydbox escaped to make it take the value when the test is being run not when the command is generated Change-Id: I86d7b8a4d4e142dc3ef912b09aaa52c96b1d8a50
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/PaludisAddTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/PaludisAddTest.cmake b/cmake/modules/PaludisAddTest.cmake
index 09fde5008..38362e4a9 100644
--- a/cmake/modules/PaludisAddTest.cmake
+++ b/cmake/modules/PaludisAddTest.cmake
@@ -98,6 +98,7 @@ function(paludis_add_test test_name)
SYSCONFDIR=${CMAKE_INSTALL_FULL_SYSCONFDIR}
TEST_SCRIPT_DIR=${CMAKE_CURRENT_SOURCE_DIR}/
TOP_BUILDDIR=${CMAKE_BINARY_DIR}
+ SYDBOX_ACTIVE=\${SYDBOX_ACTIVE}
${pat_environment_variables}
"${BASH_EXECUTABLE}" ${pat_test_runner} "${pat_test_binary}")
endfunction()