diff options
| author | Alessandro Gatti <a.gatti@frob.it> | 2025-09-25 00:12:00 +0200 |
|---|---|---|
| committer | Alessandro Gatti <a.gatti@frob.it> | 2025-10-24 19:13:15 +0200 |
| commit | 849c67bcdc9f848a674554f3e03ef850a8f70692 (patch) | |
| tree | 665bc4e4fa86ad4b565680eabd027e61e0395ae6 /py | |
| parent | 331a5c46aa21a2ff973a9060d2d62ed73247ffed (diff) | |
tests/run-tests.py: Pass auto-detected architecture flags to mpy-cross.
This commit lets "run-tests.py" use the encoded architecture flags
provided by the interpreter when invoking "mpy-cross".
If architecture flags are detected, they're mapped into the necessary
strings needed by "mpy-cross"'s "-march-flags" argument, so that tests
will always use all available extensions reported by the target.
Currently this is limited to the RV32 platform, as it is the only one
that is making use of this facility as of now. This also lets the QEMU
port remove forced arguments to "mpy-cross" when running the test suite.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions
