qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject qpid-proton git commit: PROTON-865: Fix cpp example test hang on windows under jenkins.
Date Fri, 04 Sep 2015 13:59:45 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/cjansen-cpp-client 9a10f0f2f -> dcf336245


PROTON-865: Fix cpp example test hang on windows under jenkins.

For reasons unknown the example test runner was hanging after successfully
running all the tests on windows run via jenkins. For reasons even more
mysterious, running the tests via `python -m unittest` instead of running the
test script directly (which just calls unittest.main()) works.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/dcf33624
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/dcf33624
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/dcf33624

Branch: refs/heads/cjansen-cpp-client
Commit: dcf336245af78eb6b95b80ba78064516d4a85e1e
Parents: 9a10f0f
Author: Alan Conway <aconway@redhat.com>
Authored: Fri Sep 4 09:59:37 2015 -0400
Committer: Alan Conway <aconway@redhat.com>
Committed: Fri Sep 4 09:59:37 2015 -0400

----------------------------------------------------------------------
 examples/cpp/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/dcf33624/examples/cpp/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/cpp/CMakeLists.txt b/examples/cpp/CMakeLists.txt
index 3441a58..77cc9c5 100644
--- a/examples/cpp/CMakeLists.txt
+++ b/examples/cpp/CMakeLists.txt
@@ -52,4 +52,4 @@ else(WIN32)
 endif(WIN32)
 
 add_test(NAME cpp_example_test
-  COMMAND ${PYTHON_EXECUTABLE} ${env_py} -- "PATH=${test_path}" ${VALGRIND_ENV} ${PYTHON_EXECUTABLE}
${CMAKE_CURRENT_SOURCE_DIR}/example_test.py -v)
+  COMMAND ${PYTHON_EXECUTABLE} ${env_py} -- "PATH=${test_path}" "PYTHONPATH=${CMAKE_CURRENT_SOURCE_DIR}"
${VALGRIND_ENV} ${PYTHON_EXECUTABLE} -m unittest -v example_test)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message