Document suite v2 failures
- SHA
302360132bbe58bf3485ff7f658173e7d6b873ca- Parents
-
07b5cee - Tree
bdc1866
3023601
302360132bbe58bf3485ff7f658173e7d6b873ca07b5cee
bdc1866| Status | File | + | - |
|---|---|---|---|
| M |
README.md
|
18 | 0 |
README.mdmodified@@ -262,6 +262,24 @@ expect compare.difference_count equals 0 | ||
| 262 | 262 | end |
| 263 | 263 | ``` |
| 264 | 264 | |
| 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 | + | |
| 265 | 283 | Graph cases use `entry` plus ordered `file` lines: |
| 266 | 284 | |
| 267 | 285 | ```text |