Skip to content

Commit

Permalink
Relax test tolarance.
Browse files Browse the repository at this point in the history
  • Loading branch information
cianciosa committed May 15, 2024
1 parent 7f450e1 commit d6c8a25
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Testing/tests/free_boundary_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ set_tests_properties (vmec_free_boundary_check_bdotgradv_test
PROPERTIES
DEPENDS "vmec_free_boundary_serial_test;vmec_free_boundary_parallel_test")
add_test (NAME vmec_free_boundary_check_beta_vol_test
COMMAND $<TARGET_PROPERTY:xvmec,BINARY_DIR>/xwout_diff -wout_file1=wout_test_serial.vmec.nc -wout_file2=wout_test_parallel.vmec.nc -quantity=beta_vol -tol=1.7E-16)
COMMAND $<TARGET_PROPERTY:xvmec,BINARY_DIR>/xwout_diff -wout_file1=wout_test_serial.vmec.nc -wout_file2=wout_test_parallel.vmec.nc -quantity=beta_vol -tol=2.2E-16)
set_tests_properties (vmec_free_boundary_check_beta_vol_test
PROPERTIES
DEPENDS "vmec_free_boundary_serial_test;vmec_free_boundary_parallel_test")
Expand Down Expand Up @@ -141,12 +141,12 @@ set_tests_properties (vmec_free_boundary_check_DGeod_test
PROPERTIES
DEPENDS "vmec_free_boundary_serial_test;vmec_free_boundary_parallel_test")
add_test (NAME vmec_free_boundary_check_DMerc_test
COMMAND $<TARGET_PROPERTY:xvmec,BINARY_DIR>/xwout_diff -wout_file1=wout_test_serial.vmec.nc -wout_file2=wout_test_parallel.vmec.nc -quantity=DMerc -tol=3.4E-9)
COMMAND $<TARGET_PROPERTY:xvmec,BINARY_DIR>/xwout_diff -wout_file1=wout_test_serial.vmec.nc -wout_file2=wout_test_parallel.vmec.nc -quantity=DMerc -tol=3.7E-9)
set_tests_properties (vmec_free_boundary_check_DMerc_test
PROPERTIES
DEPENDS "vmec_free_boundary_serial_test;vmec_free_boundary_parallel_test")
add_test (NAME vmec_free_boundary_check_DShear_test
COMMAND $<TARGET_PROPERTY:xvmec,BINARY_DIR>/xwout_diff -wout_file1=wout_test_serial.vmec.nc -wout_file2=wout_test_parallel.vmec.nc -quantity=DShear -tol=7.2E-10)
COMMAND $<TARGET_PROPERTY:xvmec,BINARY_DIR>/xwout_diff -wout_file1=wout_test_serial.vmec.nc -wout_file2=wout_test_parallel.vmec.nc -quantity=DShear -tol=8.5E-10)
set_tests_properties (vmec_free_boundary_check_DShear_test
PROPERTIES
DEPENDS "vmec_free_boundary_serial_test;vmec_free_boundary_parallel_test")
Expand Down Expand Up @@ -281,7 +281,7 @@ set_tests_properties (vmec_free_boundary_check_vp_test
PROPERTIES
DEPENDS "vmec_free_boundary_serial_test;vmec_free_boundary_parallel_test")
add_test (NAME vmec_free_boundary_check_wb_test
COMMAND $<TARGET_PROPERTY:xvmec,BINARY_DIR>/xwout_diff -wout_file1=wout_test_serial.vmec.nc -wout_file2=wout_test_parallel.vmec.nc -quantity=wb -tol=8.7E-18)
COMMAND $<TARGET_PROPERTY:xvmec,BINARY_DIR>/xwout_diff -wout_file1=wout_test_serial.vmec.nc -wout_file2=wout_test_parallel.vmec.nc -quantity=wb -tol=1.1E-17)
set_tests_properties (vmec_free_boundary_check_wb_test
PROPERTIES
DEPENDS "vmec_free_boundary_serial_test;vmec_free_boundary_parallel_test")
Expand Down

0 comments on commit d6c8a25

Please sign in to comment.