-
Notifications
You must be signed in to change notification settings - Fork 121
/
pyactionComparisons.cmake
116 lines (105 loc) · 5.57 KB
/
pyactionComparisons.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# Regression tests
opm_set_test_driver(${PROJECT_SOURCE_DIR}/tests/run-comparison.sh "")
# Set absolute tolerance to be used passed to the macros in the following tests
set(abs_tol 1e+5)
set(rel_tol 2e-5)
set(coarse_rel_tol 1e-2)
add_test_compareSeparateECLFiles(CASENAME pyaction_gconprod_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_GCONPROD_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_GCONPROD
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_gconsump_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_GCONSUMP_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_GCONSUMP
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_gruptree_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_GRUPTREE_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_GRUPTREE
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_mult+_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_MULT+_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_MULT+
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_multx+_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_MULTX+_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_MULTX+
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_multx-_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_MULTX-_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_MULTX-
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_next_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_NEXT_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_NEXT
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_wconprod_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_WCONPROD_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_WCONPROD
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_wefac_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_WEFAC_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_WEFAC
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_wsegvalv_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_WSEGVALV_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_WSEGVALV
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_wtest_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_WTEST_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_WTEST
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)