tenseleyflow/bencch / 3023601

Browse files

Document suite v2 failures

Authored by espadonne
SHA
302360132bbe58bf3485ff7f658173e7d6b873ca
Parents
07b5cee
Tree
bdc1866

1 changed file

StatusFile+-
M README.md 18 0
README.mdmodified
@@ -262,6 +262,24 @@ expect compare.difference_count equals 0
262262
 end
263263
 ```
264264
 
265
+Suite-v2 unhappy paths can use the same generic engine too:
266
+
267
+```text
268
+suite "v2/generic-failures"
269
+
270
+case "fake_compiler_expected_diagnostic"
271
+source "../../fixtures/invalid/fake_compile_fail_expected.f90"
272
+compiler "../../fixtures/fake_compilers/compile_fail.sh" => diagnostics
273
+expect-fail comments
274
+end
275
+
276
+case "armfortas_parse_error"
277
+source "../../fixtures/invalid/parse_error.f90"
278
+compiler armfortas => diagnostics
279
+expect-fail parser contains "expected entity name"
280
+end
281
+```
282
+
265283
 Graph cases use `entry` plus ordered `file` lines:
266284
 
267285
 ```text