Skip to content

Commit

Permalink
Limit test configurations for windows. Refs #6263
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Dec 3, 2012
1 parent c08c5fb commit cf7d96e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Build/CMake/FindPyUnitTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ macro ( PYUNITTEST_ADD_TEST_TWO _test_src_dir _testname_prefix )
set ( _pyunit_separate_name "${_testname_prefix}_${_suitename}" )
if ( MSVC )
# Debug builds need to call the debug executable
add_test ( NAME ${_pyunit_separate_name}_Debug
add_test ( NAME ${_pyunit_separate_name}_Debug CONFIGURATIONS Debug
COMMAND ${PYTHON_EXECUTABLE_DEBUG} -B ${_test_src_dir}/${_filename} )
# Set the PYTHONPATH so that the built modules can be found
set_property ( TEST ${_pyunit_separate_name}_Debug
Expand All @@ -32,7 +32,7 @@ macro ( PYUNITTEST_ADD_TEST_TWO _test_src_dir _testname_prefix )
PROPERTY WORKING_DIRECTORY ${_module_dir_debug} )

# Release
add_test ( NAME ${_pyunit_separate_name}
add_test ( NAME ${_pyunit_separate_name} CONFIGURATIONS Release
COMMAND ${PYTHON_EXECUTABLE} -B ${_test_src_dir}/${_filename} )
# Set the PYTHONPATH so that the built modules can be found
set_property ( TEST ${_pyunit_separate_name}
Expand Down

0 comments on commit cf7d96e

Please sign in to comment.