Text · 5743 bytes Raw Blame History
1 suite "consistency/runtime-control-flow"
2
3 case "if_else_cli_run_reproducible"
4 source "../../fixtures/runtime/if_else.f90"
5 opts => all
6 armfortas => run
7 repeat => 3
8 consistency => cli_run_reproducible
9 expect run.stdout check-comments
10 expect run.exit_code equals 0
11 end
12
13 case "if_else_capture_run_matches_cli"
14 source "../../fixtures/runtime/if_else.f90"
15 opts => all
16 armfortas => run
17 repeat => 3
18 consistency => capture_run_vs_cli_run
19 expect run.stdout check-comments
20 expect run.exit_code equals 0
21 end
22
23 case "if_else_capture_run_reproducible"
24 source "../../fixtures/runtime/if_else.f90"
25 opts => all
26 armfortas => run
27 repeat => 3
28 consistency => capture_run_reproducible
29 expect run.stdout check-comments
30 expect run.exit_code equals 0
31 end
32
33 case "do_while_cli_run_reproducible"
34 source "../../fixtures/runtime/do_while.f90"
35 opts => all
36 armfortas => run
37 repeat => 3
38 consistency => cli_run_reproducible
39 expect run.stdout check-comments
40 expect run.exit_code equals 0
41 end
42
43 case "do_while_capture_run_matches_cli"
44 source "../../fixtures/runtime/do_while.f90"
45 opts => all
46 armfortas => run
47 repeat => 3
48 consistency => capture_run_vs_cli_run
49 expect run.stdout check-comments
50 expect run.exit_code equals 0
51 end
52
53 case "do_while_capture_run_reproducible"
54 source "../../fixtures/runtime/do_while.f90"
55 opts => all
56 armfortas => run
57 repeat => 3
58 consistency => capture_run_reproducible
59 expect run.stdout check-comments
60 expect run.exit_code equals 0
61 end
62
63 case "nested_loops_cli_run_reproducible"
64 source "../../fixtures/runtime/nested_loops.f90"
65 opts => all
66 armfortas => run
67 repeat => 3
68 consistency => cli_run_reproducible
69 expect run.stdout check-comments
70 expect run.exit_code equals 0
71 end
72
73 case "nested_loops_capture_run_matches_cli"
74 source "../../fixtures/runtime/nested_loops.f90"
75 opts => all
76 armfortas => run
77 repeat => 3
78 consistency => capture_run_vs_cli_run
79 expect run.stdout check-comments
80 expect run.exit_code equals 0
81 end
82
83 case "nested_loops_capture_run_reproducible"
84 source "../../fixtures/runtime/nested_loops.f90"
85 opts => all
86 armfortas => run
87 repeat => 3
88 consistency => capture_run_reproducible
89 expect run.stdout check-comments
90 expect run.exit_code equals 0
91 end
92
93 case "exit_cycle_cli_run_reproducible"
94 source "../../fixtures/runtime/exit_cycle.f90"
95 opts => all
96 armfortas => run
97 repeat => 3
98 consistency => cli_run_reproducible
99 expect run.stdout check-comments
100 expect run.exit_code equals 0
101 end
102
103 case "exit_cycle_capture_run_matches_cli"
104 source "../../fixtures/runtime/exit_cycle.f90"
105 opts => all
106 armfortas => run
107 repeat => 3
108 consistency => capture_run_vs_cli_run
109 expect run.stdout check-comments
110 expect run.exit_code equals 0
111 end
112
113 case "exit_cycle_capture_run_reproducible"
114 source "../../fixtures/runtime/exit_cycle.f90"
115 opts => all
116 armfortas => run
117 repeat => 3
118 consistency => capture_run_reproducible
119 expect run.stdout check-comments
120 expect run.exit_code equals 0
121 end
122
123 case "select_case_cli_run_reproducible"
124 source "../../fixtures/runtime/select_case.f90"
125 opts => all
126 armfortas => run
127 repeat => 3
128 consistency => cli_run_reproducible
129 expect run.stdout check-comments
130 expect run.exit_code equals 0
131 end
132
133 case "select_case_capture_run_matches_cli"
134 source "../../fixtures/runtime/select_case.f90"
135 opts => all
136 armfortas => run
137 repeat => 3
138 consistency => capture_run_vs_cli_run
139 expect run.stdout check-comments
140 expect run.exit_code equals 0
141 end
142
143 case "select_case_capture_run_reproducible"
144 source "../../fixtures/runtime/select_case.f90"
145 opts => all
146 armfortas => run
147 repeat => 3
148 consistency => capture_run_reproducible
149 expect run.stdout check-comments
150 expect run.exit_code equals 0
151 end
152
153 case "function_call_cli_run_reproducible"
154 source "../../fixtures/runtime/function_call.f90"
155 opts => all
156 armfortas => run
157 repeat => 3
158 consistency => cli_run_reproducible
159 expect run.stdout check-comments
160 expect run.exit_code equals 0
161 end
162
163 case "function_call_capture_run_matches_cli"
164 source "../../fixtures/runtime/function_call.f90"
165 opts => all
166 armfortas => run
167 repeat => 3
168 consistency => capture_run_vs_cli_run
169 expect run.stdout check-comments
170 expect run.exit_code equals 0
171 end
172
173 case "function_call_capture_run_reproducible"
174 source "../../fixtures/runtime/function_call.f90"
175 opts => all
176 armfortas => run
177 repeat => 3
178 consistency => capture_run_reproducible
179 expect run.stdout check-comments
180 expect run.exit_code equals 0
181 end
182
183 case "subroutine_call_cli_run_reproducible"
184 source "../../fixtures/runtime/subroutine_call.f90"
185 opts => all
186 armfortas => run
187 repeat => 3
188 consistency => cli_run_reproducible
189 expect run.stdout check-comments
190 expect run.exit_code equals 0
191 end
192
193 case "subroutine_call_capture_run_matches_cli"
194 source "../../fixtures/runtime/subroutine_call.f90"
195 opts => all
196 armfortas => run
197 repeat => 3
198 consistency => capture_run_vs_cli_run
199 expect run.stdout check-comments
200 expect run.exit_code equals 0
201 end
202
203 case "subroutine_call_capture_run_reproducible"
204 source "../../fixtures/runtime/subroutine_call.f90"
205 opts => all
206 armfortas => run
207 repeat => 3
208 consistency => capture_run_reproducible
209 expect run.stdout check-comments
210 expect run.exit_code equals 0
211 end
212
213 case "real_function_cli_run_reproducible"
214 source "../../fixtures/runtime/real_function.f90"
215 opts => all
216 armfortas => run
217 repeat => 3
218 consistency => cli_run_reproducible
219 expect run.stdout check-comments
220 expect run.exit_code equals 0
221 end
222
223 case "real_function_capture_run_matches_cli"
224 source "../../fixtures/runtime/real_function.f90"
225 opts => all
226 armfortas => run
227 repeat => 3
228 consistency => capture_run_vs_cli_run
229 expect run.stdout check-comments
230 expect run.exit_code equals 0
231 end
232
233 case "real_function_capture_run_reproducible"
234 source "../../fixtures/runtime/real_function.f90"
235 opts => all
236 armfortas => run
237 repeat => 3
238 consistency => capture_run_reproducible
239 expect run.stdout check-comments
240 expect run.exit_code equals 0
241 end
242