Skip to content

Fix pssolar tests failing on last-command exit status - #9239

Merged
Esteban82 merged 2 commits into
masterfrom
fix-pssolar-test-exit
Oct 1, 2026
Merged

Esteban82 merged 2 commits into
masterfrom
fix-pssolar-test-exit

Conversation

@Esteban82

Copy link
Copy Markdown
Member

pssolar_tz.sh and pssolar_missing_plusd.sh ended with cmd && echo ... >> fail where cmd is expected to fail, so the script exited 1 and gmtest's ERR trap marked them failed with an empty fail file (seen on master and in #9235). Use if instead.

This can be checked by seeing both tests pass in CI.

Model: Claude Sonnet 5.5

The last line of each script was 'cmd && echo ... >> fail', where cmd is
expected to return nonzero, so the script exited 1 and gmtest's ERR trap
flagged the test as failed even with an empty fail file. Use an if instead.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Esteban82 Esteban82 added the maintenance Boring but important stuff for the core devs label Oct 1, 2026
@Esteban82
Esteban82 requested review from joa-quim and seisman October 1, 2026 02:21
@Esteban82
Esteban82 merged commit 0d5b802 into master Oct 1, 2026
13 of 16 checks passed
@Esteban82
Esteban82 deleted the fix-pssolar-test-exit branch October 1, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants