PROTON-490: fail ctest if any of the tox runs fail
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/e7f49fa0 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/e7f49fa0 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/e7f49fa0 Branch: refs/heads/master Commit: e7f49fa0ac9083d8efab697c47c46a91c458187d Parents: 35eb6bb Author: Ken Giusti <[email protected]> Authored: Thu Jun 18 16:09:31 2015 -0400 Committer: Ken Giusti <[email protected]> Committed: Thu Jun 18 16:09:31 2015 -0400 ---------------------------------------------------------------------- proton-c/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/e7f49fa0/proton-c/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/proton-c/CMakeLists.txt b/proton-c/CMakeLists.txt index 5985e2d..a1cf0e4 100644 --- a/proton-c/CMakeLists.txt +++ b/proton-c/CMakeLists.txt @@ -523,7 +523,10 @@ if (BUILD_PYTHON) "PATH=${py_path}" "QPID_PROTON_SRC=${CMAKE_CURRENT_SOURCE_DIR}/../" ${VALGRIND_ENV} tox WORKING_DIRECTORY ${py_src}) - set_tests_properties(python-tox-test PROPERTIES PASS_REGULAR_EXPRESSION "Totals: .* 0 failed") + set_tests_properties(python-tox-test + PROPERTIES + PASS_REGULAR_EXPRESSION "Totals: .* ignored, 0 failed" + FAIL_REGULAR_EXPRESSION "ERROR:[ ]+py[0-9]*: commands failed") else (TOX_CMD) message(STATUS "The tox tool is not available - skipping the python-tox-tests") endif (TOX_CMD) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
