Loading isis/cmake/RunUnitTest.cmake +5 −1 Original line number Diff line number Diff line Loading @@ -62,6 +62,10 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E compare_files RESULT_VARIABLE DIFFERENT) if(DIFFERENT) message("------------------ DIFFERENCES ------------------ ") execute_process(COMMAND diff ${comp1} ${comp2} OUTPUT_VARIABLE compdiff) message("${compdiff}") message("------------------------------------------------- ") message(FATAL_ERROR "Test failed - files differ") # On error the result file is left around to aid in debugging. else() Loading Loading
isis/cmake/RunUnitTest.cmake +5 −1 Original line number Diff line number Diff line Loading @@ -62,6 +62,10 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E compare_files RESULT_VARIABLE DIFFERENT) if(DIFFERENT) message("------------------ DIFFERENCES ------------------ ") execute_process(COMMAND diff ${comp1} ${comp2} OUTPUT_VARIABLE compdiff) message("${compdiff}") message("------------------------------------------------- ") message(FATAL_ERROR "Test failed - files differ") # On error the result file is left around to aid in debugging. else() Loading