diff options
author | Damien George <damien@micropython.org> | 2025-05-28 10:21:46 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-06-03 10:07:29 +1000 |
commit | 4dff9cbf1aa6681eea146cf8900d00cf2d93bb0f (patch) | |
tree | 559398dbc5d10d1284b5b32a5538a976cb01be30 /docs/esp32/tutorial | |
parent | c0111e63b3bacaece5249399e2a563012afa4baa (diff) |
tests/run-tests.py: Change _results.json to have a combined result list.
The `_results.json` output of `run-tests.py` was recently changed in
7a55cb6b364fdbc2f3291456643bd640ba566ec9 to add a list of passed and
skipped tests.
The way this was done turned out to be not general enough, because we want
to add another type of result, namely tests that are skipped because they
are too large.
Instead of having separate lists in `_results.json` for each kind of result
(pass, fail, skip, skip too large, etc), this commit changes the output
form of `_results.json` so that it stores a single list of 3-tuples of all
tests that were run:
[(test_name, result, reason), ...]
That's more general and allows adding a reason for skipped and failed
tests. At the moment this reason is just an empty string, but can be
improved in the future.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions