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:
Christopher Haster
2022-11-11 16:00:10 -06:00
parent 6fce9e5156
commit 1a07c2ce0d
11 changed files with 50 additions and 13 deletions
+3 -3
View File
@@ -36,7 +36,7 @@ code = '''
# expanding superblock
[cases.test_superblocks_expand]
defines.LFS_BLOCK_CYCLES = [32, 33, 1]
defines.BLOCK_CYCLES = [32, 33, 1]
defines.N = [10, 100, 1000]
code = '''
lfs_t lfs;
@@ -70,7 +70,7 @@ code = '''
# expanding superblock with power cycle
[cases.test_superblocks_expand_power_cycle]
defines.LFS_BLOCK_CYCLES = [32, 33, 1]
defines.BLOCK_CYCLES = [32, 33, 1]
defines.N = [10, 100, 1000]
code = '''
lfs_t lfs;
@@ -108,7 +108,7 @@ code = '''
# reentrant expanding superblock
[cases.test_superblocks_reentrant_expand]
defines.LFS_BLOCK_CYCLES = [2, 1]
defines.BLOCK_CYCLES = [2, 1]
defines.N = 24
reentrant = true
code = '''