Author: aconway
Date: Wed May 29 14:33:05 2013
New Revision: 1487501
URL: http://svn.apache.org/r1487501
Log:
NO-JIRA: CMake: Added missing test_wrap around stop_broker test.
The stop_broker test was being run without the test_wrap wrapper. That meant it
was loading the default /etc/qpidd.conf, so the test would fail if that config
had any options defined by a module (since the tests dont load default modules.)
Modified:
qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt
Modified: qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt?rev=1487501&r1=1487500&r2=1487501&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt (original)
+++ qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt Wed May 29 14:33:05 2013
@@ -327,7 +327,7 @@ if (PYTHON_EXECUTABLE)
add_test (run_header_test ${shell}
${CMAKE_CURRENT_SOURCE_DIR}/run_header_test${test_script_suffix})
add_test (python_tests ${test_wrap}
${CMAKE_CURRENT_SOURCE_DIR}/python_tests${test_script_suffix})
endif (PYTHON_EXECUTABLE)
-add_test (stop_broker ${shell}
${CMAKE_CURRENT_SOURCE_DIR}/stop_broker${test_script_suffix})
+add_test (stop_broker ${test_wrap}
${CMAKE_CURRENT_SOURCE_DIR}/stop_broker${test_script_suffix})
if (PYTHON_EXECUTABLE)
add_test (ha_tests ${test_wrap} ${PYTHON_EXECUTABLE}
${CMAKE_CURRENT_SOURCE_DIR}/ha_tests.py)
add_test (qpidd_qmfv2_tests ${test_wrap} ${PYTHON_EXECUTABLE}
${CMAKE_CURRENT_SOURCE_DIR}/qpidd_qmfv2_tests.py)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]