Repository navigation
Commit 9ed6d44
tests/e2e: say when the CODE failed, not just which properties are missing
CI has been red on the Quantum ESPRESSO case, reporting
ok code ran and produced output
FAIL TE extracted
FAIL STRESS extracted
FAIL PRESSURE extracted
which reads exactly like a parsing bug and is not one. The suite only
checked that the output FILE existed, and for a code whose output is its
stdout the harness writes that file itself -- so it exists however badly
the run went, and the first check passes no matter what.
Now a non-zero exit fails the case immediately, quoting the code's own
last words, and says in as many words that the properties below are
missing because of that rather than because of the parsers. For a
stdout code the diagnostic is in the output file rather than stderr, so
it falls back to reading it.
This does not fix the QE failure, which does not reproduce here: niobium
and CI run the same QE 6.7 and the same sssp pseudopotential package to
within a Debian revision, so whatever differs is not visible from the
current log. The next CI run will state its own reason, which is the
point.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFMUNbw2UpRPmgsqviAowb1 parent 9300ee1 commit 9ed6d44
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
120 | 146 | | |
121 | 147 | | |
122 | 148 | | |
| |||
0 commit comments