qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject qpid-proton git commit: PROTON-1654: [C++ binding] Fix testing examples on VS 2010
Date Wed, 13 Dec 2017 17:44:50 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master 413e09375 -> 1c1bfadb4


PROTON-1654: [C++ binding] Fix testing examples on VS 2010


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

Branch: refs/heads/master
Commit: 1c1bfadb4eadcc0f17ca1ad650f4d85d349ccc8c
Parents: 413e093
Author: Andrew Stitcher <astitcher@apache.org>
Authored: Wed Dec 13 16:22:32 2017 +0000
Committer: Andrew Stitcher <astitcher@apache.org>
Committed: Wed Dec 13 16:48:53 2017 +0000

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


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1c1bfadb/examples/cpp/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/cpp/CMakeLists.txt b/examples/cpp/CMakeLists.txt
index 0019355..662bc72 100644
--- a/examples/cpp/CMakeLists.txt
+++ b/examples/cpp/CMakeLists.txt
@@ -109,7 +109,7 @@ macro(add_cpp_test name)
     set(test_path "$<TARGET_FILE_DIR:broker>:$ENV{PATH}")
   endif(WIN32)
   set(run_env ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/proton-c/env.py ${EXAMPLE_ENV})
-  add_test(NAME ${name} COMMAND ${run_env} "PATH=${test_path}" ${VALGRIND_ENV} "HAS_CPP11=${HAS_ENOUGH_CPP11}"
-- ${ARGN})
+  add_test(NAME ${name} COMMAND ${run_env} "PATH=${test_path}" ${VALGRIND_ENV} "HAS_CPP11=$<$<BOOL:${HAS_ENOUGH_CPP11}>:1>"
-- ${ARGN})
 endmacro()
 
 add_cpp_test(cpp-example-container ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/example_test.py
-v ContainerExampleTest)


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


Mime
View raw message