diff options
author | Damien George <damien@micropython.org> | 2025-07-26 19:11:36 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-08-10 11:40:54 +1000 |
commit | 1401fdb8b39bf08e9ed9d4c1293207a6bdc93cf8 (patch) | |
tree | e276cde4d70bf16a6b6822112ac88ada76bc5fc3 /tests/extmod/asyncio_wait_for_fwd.py.exp | |
parent | c35427cbdbe105c8a3be099f8fd2946fa96c4a22 (diff) |
tests/run-tests.py: Run tests-with-regex-output as normal tests.HEADorigin/masterorigin/HEADmaster
Some tests (currently given by the `special_tests` list) have output which
must be mached via a regex, because it can change from run to run (eg the
address of an object is printed). These tests are currently classified as
`is_special` in the test runner, which means they get special treatment.
In particular they don't set the emitter as specified by `args.emit`. That
means these tests do not run via .mpy or using the native emitter, even if
those options are given on the command line.
This commit fixes that by considering `is_special` as different to
`tests_with_regex_output`. The former is used for things like target
feature detection (which are not really tests) and when extra command line
options need to be passed to the unix micropython executable. The latter
(now called `tests_with_regex_output`) are specifically for tests that have
output to be matched via regex.
The `thread_exc2.py` test now needs to be excluded when running using the
native emitter, because the native emitter doesn't print traceback info.
And the `sys_settrace_cov.py` test needs to be excluded because set-trace
output is different with the native emitter.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/extmod/asyncio_wait_for_fwd.py.exp')
0 files changed, 0 insertions, 0 deletions