mirror of
https://github.com/littlefs-project/littlefs.git
synced 2025-12-26 09:08:30 +00:00
A number of small script fixes/tweaks from usage
- Fixed prettyasserts.py parsing when '->' is in expr - Made prettyasserts.py failures not crash (yay dynamic typing) - Fixed the initial state of the emubd disk file to match the internal state in RAM - Fixed true/false getting changed to True/False in test.py/bench.py defines - Fixed accidental substring matching in plot.py's --by comparison - Fixed a missed LFS_BLOCk_CYCLES in test_superblocks.toml that was missed - Changed test.py/bench.py -v to only show commands being run Including the test output is still possible with test.py -v -O-, making the implicit inclusion redundant and noisy. - Added license comments to bench_runner/test_runner
This commit is contained in:
@@ -121,6 +121,8 @@ class TestCase:
|
||||
else:
|
||||
yield v_
|
||||
# or a literal value
|
||||
elif isinstance(v, bool):
|
||||
yield 'true' if v else 'false'
|
||||
else:
|
||||
yield v
|
||||
|
||||
@@ -827,8 +829,6 @@ def run_stage(name, runner_, ids, stdout_, trace_, output_, **args):
|
||||
stdout_.flush()
|
||||
except BrokenPipeError:
|
||||
pass
|
||||
if args.get('verbose'):
|
||||
sys.stdout.write(line)
|
||||
|
||||
m = pattern.match(line)
|
||||
if m:
|
||||
|
||||
Reference in New Issue
Block a user