Skip to content

Commit

Permalink
maybe actually change them for real now?
Browse files Browse the repository at this point in the history
  • Loading branch information
hklion committed Dec 19, 2023
1 parent 6a8358c commit bd6500f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ else()
set(FCOMPARE_EXE ${CMAKE_BINARY_DIR}/Submodules/AMReX/Tools/Plotfile/amrex_fcompare CACHE INTERNAL "Path to fcompare executable for regression tests")
endif()
include(${CMAKE_CURRENT_SOURCE_DIR}/CTestList.cmake)
set(FCOMPARE_TOLERANCE "-r 1e-11 --abs_tol 1.0e-11")
2 changes: 1 addition & 1 deletion Tests/CTestList.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function(add_test_r TEST_NAME TEST_EXE PLTFILE)
setup_test()

set(TEST_EXE ${CMAKE_BINARY_DIR}/Exec/${TEST_EXE})
set(FCOMPARE_TOLERANCE "-r 1e-12 --abs_tol 1.0e-12")
set(FCOMPARE_TOLERANCE "-r 1e-11 --abs_tol 1.0e-11")
set(FCOMPARE_FLAGS "-a ${FCOMPARE_TOLERANCE}")
set(test_command sh -c "${MPI_COMMANDS} ${TEST_EXE} ${CURRENT_TEST_BINARY_DIR}/${TEST_NAME}.i ${RUNTIME_OPTIONS} > ${TEST_NAME}.log && ${FCOMPARE_EXE} ${FCOMPARE_FLAGS} ${PLOT_GOLD} ${CURRENT_TEST_BINARY_DIR}/${PLTFILE}")

Expand Down

0 comments on commit bd6500f

Please sign in to comment.