Commit 98c7f8e0 authored by Dave Partyka's avatar Dave Partyka
Browse files

BUG: copy SystemInformation-cygcheck to bin tree, run dos2unix on it, then run...

BUG: copy SystemInformation-cygcheck to bin tree, run dos2unix on it, then run the test as it fails otherwise if the line endings are windows style.
parent 20d87ec0
......@@ -67,8 +67,13 @@ ADD_TEST(TestInstantiator ${CXX_TEST_PATH}/TestInstantiator)
# with cygwin:
#
IF(CYGWIN)
EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_SOURCE_DIR}/SystemInformation-cygcheck.sh
${CMAKE_CURRENT_BINARY_DIR}/SystemInformation-cygcheck.sh)
EXECUTE_PROCESS(COMMAND dos2unix
${CMAKE_CURRENT_BINARY_DIR}/SystemInformation-cygcheck.sh)
ADD_TEST(SystemInformation-cygcheck
"${CMAKE_CURRENT_SOURCE_DIR}/SystemInformation-cygcheck.sh")
"${CMAKE_CURRENT_BINARY_DIR}/SystemInformation-cygcheck.sh")
ENDIF(CYGWIN)
IF(VTK_USE_N_WAY_ARRAYS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment