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 <a...@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 <a...@samba.org> Reviewed-by: Michael Adam <ob...@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