aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2015-09-18 16:23:17 +0200
committerAndreas Schneider <asn@samba.org>2015-10-27 14:54:59 +0100
commita54d1d6999c8bd78cf1f5ff0aeb9d8bd972cd80d (patch)
treefc40b320ed36bd56538e6092578c3f5f397eaab4
parentcaff3210583e798215880b723875acf4bba188dd (diff)
downloaduid_wrapper-a54d1d6999c8bd78cf1f5ff0aeb9d8bd972cd80d.tar.gz
uid_wrapper-a54d1d6999c8bd78cf1f5ff0aeb9d8bd972cd80d.tar.xz
uid_wrapper-a54d1d6999c8bd78cf1f5ff0aeb9d8bd972cd80d.zip
cmake: Always set UID_WRAPPER_ROOT=1 for tests
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 997d551..46a1330 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -12,7 +12,7 @@ if (OSX)
set(TEST_ENVIRONMENT DYLD_FORCE_FLAT_NAMESPACE=1;DYLD_INSERT_LIBRARIES=${PRELOAD_LIBS};UID_WRAPPER=1)
add_definitions(-DOSX)
else ()
- set(TEST_ENVIRONMENT LD_PRELOAD=${PRELOAD_LIBS})
+ set(TEST_ENVIRONMENT LD_PRELOAD=${PRELOAD_LIBS};UID_WRAPPER_ROOT=1)
endif ()
set(TESTSUITE_LIBRARIES ${UWRAP_REQUIRED_LIBRARIES} ${CMOCKA_LIBRARY})