[PATCH 0/7] Setup tests
Hu Weiwen
sehuww at mail.scut.edu.cn
Fri Jan 22 03:37:08 AEDT 2021
Hi all,
I have successfully got all tests work on GitHub Actions, including:
make check (skip all tests that requires mount)
sudo make check (mount with kernel support)
FSTYPE=erofsfuse make check (mount with erofsfuse)
make distcheck
Each test is run on two configuration: build with lz4 v1.8.3, and build without
lz4.
Note that fuse related tests will need this patch [1] to success.
[1]: https://lore.kernel.org/linux-erofs/20210121163143.9481-1-sehuww@mail.scut.edu.cn/
Hu Weiwen (7):
erofs-utils: tests: fix when lz4 is not enabled
erofs-utils: tests: fix on out-of-tree build
erofs-utils: tests: fix memory leakage in fssum
erofs-utils: tests: fix distcheck
erofs-utils: tests: check battach on full buffer block
erofs-utils: tests: fix fuse build order
erofs-utils: tests: enable GitHub Actions
.github/workflows/c.yml | 49 ++++++++++++++++++++++++++++
.gitignore | 2 ++
Makefile.am | 3 +-
lib/Makefile.am | 19 ++++++++++-
tests/Makefile.am | 26 +++++++++++++++
tests/common/rc | 2 +-
tests/erofs/001 | 2 +-
tests/erofs/{001.out => 001-out} | 0
tests/erofs/002 | 2 +-
tests/erofs/{002.out => 002-out} | 0
tests/erofs/003 | 2 +-
tests/erofs/{003.out => 003-out} | 0
tests/erofs/004 | 2 +-
tests/erofs/{004.out => 004-out} | 0
tests/erofs/005 | 2 +-
tests/erofs/{005.out => 005-out} | 0
tests/erofs/006 | 2 +-
tests/erofs/{006.out => 006-out} | 0
tests/erofs/007 | 4 +--
tests/erofs/{007.out => 007-out} | 0
tests/erofs/008 | 2 +-
tests/erofs/{008.out => 008-out} | 0
tests/erofs/009 | 2 +-
tests/erofs/{009.out => 009-out} | 0
tests/erofs/010 | 2 +-
tests/erofs/{010.out => 010-out} | 0
tests/erofs/011 | 2 +-
tests/erofs/{011.out => 011-out} | 0
tests/erofs/012 | 2 +-
tests/erofs/{012.out => 012-out} | 0
tests/erofs/013 | 2 +-
tests/erofs/{013.out => 013-out} | 0
tests/erofs/014 | 2 +-
tests/erofs/{014.out => 014-out} | 0
tests/erofs/015 | 55 ++++++++++++++++++++++++++++++++
tests/erofs/015-out | 2 ++
tests/src/Makefile.am | 5 +--
tests/src/fssum.c | 31 ++++++++++--------
38 files changed, 190 insertions(+), 34 deletions(-)
create mode 100644 .github/workflows/c.yml
rename tests/erofs/{001.out => 001-out} (100%)
rename tests/erofs/{002.out => 002-out} (100%)
rename tests/erofs/{003.out => 003-out} (100%)
rename tests/erofs/{004.out => 004-out} (100%)
rename tests/erofs/{005.out => 005-out} (100%)
rename tests/erofs/{006.out => 006-out} (100%)
rename tests/erofs/{007.out => 007-out} (100%)
rename tests/erofs/{008.out => 008-out} (100%)
rename tests/erofs/{009.out => 009-out} (100%)
rename tests/erofs/{010.out => 010-out} (100%)
rename tests/erofs/{011.out => 011-out} (100%)
rename tests/erofs/{012.out => 012-out} (100%)
rename tests/erofs/{013.out => 013-out} (100%)
rename tests/erofs/{014.out => 014-out} (100%)
create mode 100755 tests/erofs/015
create mode 100644 tests/erofs/015-out
--
2.30.0
More information about the Linux-erofs
mailing list