Document graph case syntax
- SHA
bae44a674e3dbf85d347b6efc682370b6a3cead4- Parents
-
09edd92 - Tree
5e4aecd
bae44a6
bae44a674e3dbf85d347b6efc682370b6a3cead409edd92
5e4aecd| Status | File | + | - |
|---|---|---|---|
| M |
README.md
|
20 | 0 |
README.mdmodified@@ -96,6 +96,26 @@ expect run.exit_code equals 0 | ||
| 96 | 96 | end |
| 97 | 97 | ``` |
| 98 | 98 | |
| 99 | +Graph cases use `entry` plus ordered `file` lines: | |
| 100 | + | |
| 101 | +```text | |
| 102 | +suite "modules/runtime-graphs" | |
| 103 | + | |
| 104 | +case "module_chain_runtime" | |
| 105 | +entry "../../fixtures/modules/module_chain/main.f90" | |
| 106 | +file "../../fixtures/modules/module_chain/math_seed.f90" | |
| 107 | +file "../../fixtures/modules/module_chain/math_values.f90" | |
| 108 | +file "../../fixtures/modules/module_chain/main.f90" | |
| 109 | +opts => O0, O1, O2 | |
| 110 | +armfortas => run | |
| 111 | +expect run.stdout check-comments | |
| 112 | +end | |
| 113 | +``` | |
| 114 | + | |
| 115 | +Today the armfortas adapter materializes graph cases into one generated source | |
| 116 | +in declared file order before capture/compile. The authored files still stay in | |
| 117 | +the failure bundle. | |
| 118 | + | |
| 99 | 119 | Common things the runner understands: |
| 100 | 120 | |
| 101 | 121 | - stage capture like `armfortas => tokens, ir, asm, obj, run` |