third_party_littlefs/scripts
Christopher Haster d04b077506 Fixed minor things to get CI passing again
- Added caching to Travis install dirs, because otherwise
  pip3 install fails randomly
- Increased size of littlefs-fuse disk because test script has
  a larger footprint now
- Skip a couple of reentrant tests under byte-level writes because
  the tests just take too long and cause Travis to bail due to no
  output for 10m
- Fixed various Valgrind errors
  - Suppressed uninit checks for tests where LFS_BLOCK_ERASE_VALUE == -1.
    In this case rambd goes uninitialized, which is fine for rambd's
    purposes. Note I couldn't figure out how to limit this suppression
    to only the malloc in rambd, this doesn't seem possible with Valgrind.
  - Fixed memory leaks in exhaustion tests
  - Fixed off-by-1 string null-terminator issue in paths tests
- Fixed lfs_file_sync issue caused by revealed by fixing memory leaks
  in exhaustion tests. Getting ENOSPC during a file write puts the file
  in a bad state where littlefs doesn't know how to write it out safely.
  In this case, lfs_file_sync and lfs_file_close return 0 without
  writing out state so that device-side resources can still be cleaned
  up. To recover from ENOSPC, the file needs to be reopened and the
  writes recreated. Not sure if there is a better way to handle this.
- Added some quality-of-life improvements to Valgrind testing
  - Fit Valgrind messages into truncated output when not in verbose mode
  - Turned on origin tracking
2020-02-18 18:05:03 -06:00
..
explode_asserts.py Rewrote explode_asserts.py to be more efficient 2020-01-26 23:53:53 -06:00
prefix.py Mark all Python 2 scripts as Python 2 2019-06-07 04:09:44 +02:00
readblock.py Added/improved disk-reading debug scripts 2020-01-20 19:27:27 -06:00
readmdir.py Modified readmdir/readtree to make reading non-truncated data easier 2020-02-09 12:00:23 -06:00
readtree.py Modified readmdir/readtree to make reading non-truncated data easier 2020-02-09 12:00:23 -06:00
test.py Fixed minor things to get CI passing again 2020-02-18 18:05:03 -06:00