Skip to content

Commit dc6b77d

Browse files
committed
Filediff tests don't need tolerances.
1 parent 977812c commit dc6b77d

4 files changed

Lines changed: 0 additions & 14 deletions

File tree

TestCases/hybrid_regression.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,6 @@ def main():
767767
pywrapper_translating_naca0012.cfg_file = "config.cfg"
768768
pywrapper_translating_naca0012.command = TestCase.Command(exec = "python", param = "run_su2.py")
769769
pywrapper_translating_naca0012.timeout = 60
770-
pywrapper_translating_naca0012.tol = 0.001
771770
pywrapper_translating_naca0012.reference_file = "forces_0.csv.ref"
772771
pywrapper_translating_naca0012.reference_file_aarch64 = "forces_0_aarch64.csv.ref"
773772
pywrapper_translating_naca0012.test_file = "forces_0.csv"

TestCases/parallel_regression_AD.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ def main():
368368
unsteady_naca0012.test_iter = 14
369369
unsteady_naca0012.command = TestCase.Command(exec = "discrete_adjoint.py", param = "-f")
370370
unsteady_naca0012.timeout = 1600
371-
unsteady_naca0012.tol = 0.001
372371
unsteady_naca0012.reference_file = "of_grad_cd.csv.ref"
373372
unsteady_naca0012.test_file = "of_grad_cd.csv"
374373
unsteady_naca0012.unsteady = True
@@ -386,7 +385,6 @@ def main():
386385
unsteady_naca0012.test_iter = 14
387386
unsteady_naca0012.command = TestCase.Command(exec = "discrete_adjoint.py", param = "-m adj -f")
388387
unsteady_naca0012.timeout = 1600
389-
unsteady_naca0012.tol = 0.001
390388
unsteady_naca0012.reference_file = "of_grad_cd.csv.ref"
391389
unsteady_naca0012.test_file = "of_grad_cd.csv"
392390
unsteady_naca0012.unsteady = True
@@ -420,7 +418,6 @@ def main():
420418
dyn_discadj_fsi.test_iter = 2
421419
dyn_discadj_fsi.command = TestCase.Command("mpirun -n 2", "SU2_CFD_AD")
422420
dyn_discadj_fsi.timeout = 1600
423-
dyn_discadj_fsi.tol = 0.001
424421
dyn_discadj_fsi.reference_file = "grad_dv.opt.ref"
425422
dyn_discadj_fsi.reference_file_aarch64 = "grad_dv_aarch64.opt.ref"
426423
dyn_discadj_fsi.test_file = "grad_young.opt"
@@ -439,7 +436,6 @@ def main():
439436
grad_smooth_oneram6.test_iter = 2
440437
grad_smooth_oneram6.command = TestCase.Command("mpirun -n 2", "SU2_DOT_AD")
441438
grad_smooth_oneram6.timeout = 1600
442-
grad_smooth_oneram6.tol = 0.001
443439
grad_smooth_oneram6.reference_file = "of_hess.dat.ref"
444440
grad_smooth_oneram6.reference_file_aarch64 = "of_hess_aarch64.dat.ref"
445441
grad_smooth_oneram6.test_file = "of_hess.dat"

TestCases/serial_regression.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,6 @@ def main():
14851485
contadj_euler_py.test_iter = 10
14861486
contadj_euler_py.command = TestCase.Command(exec = "continuous_adjoint.py", param = "-f")
14871487
contadj_euler_py.timeout = 1600
1488-
contadj_euler_py.tol = 0.001
14891488
contadj_euler_py.reference_file = "of_grad_cd.dat.ref"
14901489
contadj_euler_py.test_file = "of_grad_cd.dat"
14911490
contadj_euler_py.new_output = True
@@ -1512,7 +1511,6 @@ def main():
15121511
contadj_multi_py.test_iter = 10
15131512
contadj_multi_py.command = TestCase.Command(exec = "continuous_adjoint.py", param = "-f")
15141513
contadj_multi_py.timeout = 1600
1515-
contadj_multi_py.tol = 0.001
15161514
contadj_multi_py.new_output = True
15171515
contadj_multi_py.reference_file = "of_grad_combo.dat.ref"
15181516
contadj_multi_py.test_file = "of_grad_combo.dat"

TestCases/serial_regression_AD.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ def main():
256256
discadj_rht.test_iter = 10
257257
discadj_rht.command = TestCase.Command(exec = "discrete_adjoint.py", param = "-f")
258258
discadj_rht.timeout = 1600
259-
discadj_rht.tol = 0.001
260259
discadj_rht.reference_file = "of_grad_cd.csv.ref"
261260
discadj_rht.reference_file_aarch64 = "of_grad_cd_aarch64.csv.ref"
262261
discadj_rht.test_file = "of_grad_cd.csv"
@@ -274,7 +273,6 @@ def main():
274273
discadj_euler_py.test_iter = 10
275274
discadj_euler_py.command = TestCase.Command(exec = "discrete_adjoint.py", param = "-f")
276275
discadj_euler_py.timeout = 1600
277-
discadj_euler_py.tol = 0.001
278276
discadj_euler_py.reference_file = "of_grad_cd_disc.dat.ref"
279277
discadj_euler_py.reference_file_aarch64 = "of_grad_cd_disc_aarch64.dat.ref"
280278
discadj_euler_py.test_file = "of_grad_cd.dat"
@@ -288,7 +286,6 @@ def main():
288286
discadj_multiple_ffd_py.test_iter = 9
289287
discadj_multiple_ffd_py.command = TestCase.Command(exec = "discrete_adjoint.py", param = "-f")
290288
discadj_multiple_ffd_py.timeout = 1600
291-
discadj_multiple_ffd_py.tol = 0.001
292289
discadj_multiple_ffd_py.reference_file = "of_grad_cd.dat.ref"
293290
discadj_multiple_ffd_py.reference_file_aarch64 = "of_grad_cd_aarch64.dat.ref"
294291
discadj_multiple_ffd_py.test_file = "of_grad_cd.dat"
@@ -302,7 +299,6 @@ def main():
302299
directdiff_euler_py.test_iter = 10
303300
directdiff_euler_py.command = TestCase.Command(exec = "direct_differentiation.py", param = "-f")
304301
directdiff_euler_py.timeout = 1600
305-
directdiff_euler_py.tol = 0.001
306302
directdiff_euler_py.reference_file = "of_grad_directdiff.dat.ref"
307303
directdiff_euler_py.reference_file_aarch64 = "of_grad_directdiff_aarch64.dat.ref"
308304
directdiff_euler_py.test_file = "DIRECTDIFF/of_grad_directdiff.dat"
@@ -316,7 +312,6 @@ def main():
316312
directdiff_multiple_ffd_py.test_iter = 9
317313
directdiff_multiple_ffd_py.command = TestCase.Command(exec = "direct_differentiation.py", param = "-f")
318314
directdiff_multiple_ffd_py.timeout = 1600
319-
directdiff_multiple_ffd_py.tol = 0.001
320315
directdiff_multiple_ffd_py.reference_file = "of_grad_directdiff.dat.ref"
321316
directdiff_multiple_ffd_py.reference_file_aarch64 = "of_grad_directdiff_aarch64.dat.ref"
322317
directdiff_multiple_ffd_py.test_file = "DIRECTDIFF/of_grad_directdiff.dat"
@@ -330,7 +325,6 @@ def main():
330325
# discadj_multi_py.test_iter = 10
331326
# discadj_multi_py.command = TestCase.Command(exec = "discrete_adjoint.py")
332327
# discadj_multi_py.timeout = 1600
333-
# discadj_multi_py.timeout = 0.001
334328
# discadj_multi_py.reference_file = "of_grad_combo.dat.refdiscrete"
335329
# discadj_multi_py.test_file = "of_grad_combo.dat"
336330
# pass_list.append(discadj_multi_py.run_filediff())
@@ -373,7 +367,6 @@ def main():
373367
grad_smooth_naca0012.test_iter = 1
374368
grad_smooth_naca0012.command = TestCase.Command(exec = "SU2_DOT_AD")
375369
grad_smooth_naca0012.timeout = 1600
376-
grad_smooth_naca0012.tol = 0.00001
377370
grad_smooth_naca0012.reference_file = "of_hess.dat.ref"
378371
grad_smooth_naca0012.reference_file_aarch64 = "of_hess_aarch64.dat.ref"
379372
grad_smooth_naca0012.test_file = "of_hess.dat"

0 commit comments

Comments
 (0)