Skip to content

Change: Compare nmlc warnings when regression testing - #443

Open
PeterN wants to merge 1 commit into
OpenTTD:masterfrom
PeterN:regression-stderr
Open

PeterN wants to merge 1 commit into
OpenTTD:masterfrom
PeterN:regression-stderr

Conversation

@PeterN

@PeterN PeterN commented Sep 15, 2026

Copy link
Copy Markdown
Member

As per comment in #439, stderr output from nmlc is not checked when regression testing.

This change redirects stderr of regression tests to a file, and then compares it with the expected output. Regression tests will fail if the output is different.

Caveat is that warnings are no longer visible unless there's a mismatch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant