[SCM] pam wrapper repository - branch master updated
Andreas Schneider
asn at samba.org
Thu Dec 10 20:14:30 UTC 2015
The branch, master has been updated
via d98750e tests: Do not run python test if python is not present
from fbb0abf ctest: Drop ctest results via https
https://git.samba.org/?p=pam_wrapper.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit d98750e7294a50262629d11162e23a927688252a
Author: Andreas Schneider <asn at samba.org>
Date: Thu Dec 10 17:03:46 2015 +0100
tests: Do not run python test if python is not present
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Michael Adam <obnox at samba.org>
-----------------------------------------------------------------------
Summary of changes:
tests/CMakeLists.txt | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Changeset truncated at 500 lines:
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 0055280..30f0eb2 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -47,9 +47,11 @@ set_property(
PROPERTY
ENVIRONMENT ${TEST_ENVIRONMENT})
-add_test(pypamtest_test ${CMAKE_CURRENT_SOURCE_DIR}/pypamtest_test.py)
-set_property(
- TEST
- pypamtest_test
- PROPERTY
- ENVIRONMENT ${TEST_ENVIRONMENT})
+if (PYTHONLIBS_FOUND)
+ add_test(pypamtest_test ${CMAKE_CURRENT_SOURCE_DIR}/pypamtest_test.py)
+ set_property(
+ TEST
+ pypamtest_test
+ PROPERTY
+ ENVIRONMENT ${TEST_ENVIRONMENT})
+endif()
--
pam wrapper repository
More information about the samba-cvs
mailing list