Repository navigation
Commit 09a1faa
Add a regression guard for the dropped-aggregate exit-code bug
This adds a static test that catches an aggregate return-code variable
being dropped from run_workflow_tests.sh's final RET= line, the exact bug
class Task 1 fixed for ret_global_pwg.
- test/tests/exit_code_aggregation.sh checks that RET= includes all three
known aggregate variables (ret_global_pwg, ret_analysis_qc,
ret_global_anchored), by an explicit hard-coded list.
- It also checks that each of the three is actually assigned somewhere in
the script, since a name missing from the RET= line and a name never
assigned are different bugs with the same symptom.
- No refactor of run_workflow_tests.sh; the guard reads it as a fixture,
it does not stub or execute it.
- test/README.md now lists the new harness beside run_tests_selection.sh.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent d16fc4c commit 09a1faa
2 files changed
Lines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
0 commit comments