You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2017/11/15 21:05:40 UTC

[16/31] qpid-proton git commit: NO-JIRA: Re enable Windows C example testing

NO-JIRA: Re enable Windows C example testing


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

Branch: refs/heads/go1
Commit: 0790bb99fabc4a6d7c1c12fb09c0ff76a3594f5a
Parents: 540ef36
Author: Andrew Stitcher <as...@apache.org>
Authored: Mon Oct 23 14:01:24 2017 -0400
Committer: Andrew Stitcher <as...@apache.org>
Committed: Wed Oct 25 13:20:04 2017 -0400

----------------------------------------------------------------------
 examples/c/CMakeLists.txt | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/0790bb99/examples/c/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/c/CMakeLists.txt b/examples/c/CMakeLists.txt
index d9f6550..bdb1c7d 100644
--- a/examples/c/CMakeLists.txt
+++ b/examples/c/CMakeLists.txt
@@ -35,17 +35,12 @@ endforeach()
 
 # Add a test to run all examples
 
-# windows exclusion only for 0.18 beta
-if(NOT WIN32)
-
 # Make correct environment to find test executables and valgrind.
 if(WIN32)
   set(test_path "$<TARGET_FILE_DIR:c-broker>;$<TARGET_FILE_DIR:qpid-proton-core>;$<TARGET_FILE_DIR:qpid-proton-proactor>")
 else()
   set(test_path "$<TARGET_FILE_DIR:c-broker>:$ENV{PATH}")
 endif()
-set(run_env ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/proton-c/env.py ${EXAMPLE_ENV} "PATH=${test_path}" ${VALGRIND_ENV})
-
-add_test(NAME c-example-tests COMMAND ${run_env} -- ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/example_test.py -v)
 
-endif()
+set(run_env ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/proton-c/env.py ${EXAMPLE_ENV})
+add_test(NAME c-example-tests COMMAND ${run_env} "PATH=${test_path}"  ${VALGRIND_ENV} -- ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/example_test.py -v)


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