Skip to content

Commit ad305bf

Browse files
committed
Add expected output for EPS driver that is specific to Sundials<6.7.0 (minor difference)
1 parent d6b31c1 commit ad305bf

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,12 @@ function(add_ePhoto_tests)
454454
set(TEST_NAME ${ARGS_PREFIX}ePhoto_${DRIVER_NAME})
455455
set(SHOW_NAME ${TEST_NAME}_SHOW)
456456
set(CHECK_NAME ${TEST_NAME}_CHECK)
457-
set(EXPECTED_OUTPUT ${TEST_DATA_DIR}/ePhotoOutput_${DRIVER_NAME}.txt)
457+
if ((DRIVER_NAME STREQUAL "EPS") AND
458+
(SUNDIALS_VERSION VERSION_LESS "6.7.0"))
459+
set(EXPECTED_OUTPUT ${TEST_DATA_DIR}/ePhotoOutput_${DRIVER_NAME}_SUNDIALS_LT_6p7.txt)
460+
else()
461+
set(EXPECTED_OUTPUT ${TEST_DATA_DIR}/ePhotoOutput_${DRIVER_NAME}.txt)
462+
endif()
458463
set(ACTUAL_OUTPUT ${ePhoto_TEST_DIR}/output_${DRIVER_NAME}.data)
459464
list(APPEND ePhoto_TESTS ${TEST_NAME})
460465
list(APPEND ePhoto_TESTS_CHECK ${CHECK_NAME})
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
39.1853

0 commit comments

Comments
 (0)