diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-09-21 17:26:49 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-09-21 17:26:49 (GMT) |
commit | 95bc60ceb48bf6cd508691dd94be071b190fa74a (patch) | |
tree | 1766f8c7501dcae0f450a01641547d531f9b590a /config/cmake | |
parent | 937cfb0c26fe7f2a38cc379ae71a4c6a5f5d3087 (diff) | |
download | hdf5-95bc60ceb48bf6cd508691dd94be071b190fa74a.zip hdf5-95bc60ceb48bf6cd508691dd94be071b190fa74a.tar.gz hdf5-95bc60ceb48bf6cd508691dd94be071b190fa74a.tar.bz2 |
[svn-r19460] Updated runTest.cmake to compare against the expected result code rather then just 0
Diffstat (limited to 'config/cmake')
-rw-r--r-- | config/cmake/runTest.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/runTest.cmake b/config/cmake/runTest.cmake index 227ef9b..ed415f7 100644 --- a/config/cmake/runTest.cmake +++ b/config/cmake/runTest.cmake @@ -50,9 +50,9 @@ IF (TEST_APPEND) FILE (APPEND ${TEST_OUTPUT} "${TEST_APPEND} ${TEST_RESULT}\n") ENDIF (TEST_APPEND) -# if the return value is !=0 bail out +# if the return value is !=${TEST_EXPECT} bail out IF (NOT ${TEST_RESULT} STREQUAL ${TEST_EXPECT}) - MESSAGE ( FATAL_ERROR "Failed: Test program ${TEST_PROGRAM} exited != 0.\n${TEST_ERROR}") + MESSAGE ( FATAL_ERROR "Failed: Test program ${TEST_PROGRAM} exited != ${TEST_EXPECT}.\n${TEST_ERROR}") ENDIF (NOT ${TEST_RESULT} STREQUAL ${TEST_EXPECT}) MESSAGE (STATUS "COMMAND Error: ${TEST_ERROR}") |