Uh oh!
There was an error while loading. Please reload this page.
Improve test runner script with refactoring and prerequisite checks - #509
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dc55734 to
129b151CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
c6a0970 to
51a3803Comparejcfr
commented
Aug 26, 2025
Uh oh!
There was an error while loading. Please reload this page.
jcfr
commented
Aug 27, 2025
For additional context, the initial goal of this pull request was to allow me to understand the missing prerequisites. The proposed improvements fulfill this. This is now ready for integration 🙏 |
hjmjohnson
commented
Aug 28, 2025
@jcfr Thank you for making this MUCH easier to understand. |
firewave
commented
Aug 28, 2025
Yeah - it is (was) a bit of a mess. I just started digging into it in the past few days myself. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This change refactors the test runner script by adding a `run()` function for executing compiler commands, capturing their output, and returning the results.
This change updates the test runner script to check for the presence of required compilers (clang, gcc) before running tests.
Suggested-by: Oliver Stöneberg <firewave@users.noreply.github.com>
…s handling Suggested-by: Oliver Stöneberg <firewave@users.noreply.github.com>
Suggested-by: Oliver Stöneberg <firewave@users.noreply.github.com>
`from __future__ import annotations` is useful in importable packages to enable postponed evaluation of annotations. However, in a standalone script like `run-tests.py`, it adds no value.
firewave
left a comment
There was a problem hiding this comment.
LGTM. The stuff I wanted to check will need to be redone anyways, so no need to further look into that.
Uh oh!
There was an error while loading. Please reload this page.
This pull request enhances the test runner script with two main improvements:
run()function that centralizes the logic for executing compiler commands, capturing their output, and returning results.clang,gcc) are present before running tests.