Skip to content

Draft: tests: Make compile_and_run tests compare stderr

These two commits fix #23058.

The first commit makes it so that tests that use compile_and_run also check to make sure that the output of the compiler has not changed. Previously, compile_and_run tests would only check that compilation succeeded. Changing this so that they assert that the output of the compiler has not changed will ensure that warnings that might affect the validity of a test are called out.

The second commit just adds files for the expected compiler output of all the existing compile_and_run tests.

Merge request reports