diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6023af8..17e7804 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,6 +56,11 @@ jobs: make check diff -u ci/expected-features/${CHECK_FEATURES:-all} ci/features if: runner.os != 'macOS' + - name: test + run: | + make distcheck + # This is expensive, run just once + if: runner.os == 'ubuntu-latest' - name: test run: | # On macOS loading the macfuse extension is needed. This diff --git a/Makefile.am b/Makefile.am index 61ebf08..48f755f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -126,7 +126,7 @@ if SQ_DEMO_TESTS TESTS += tests/ls.sh endif tests/ll-smoke.sh tests/ls.sh: tests/lib.sh - +EXTRA_DIST += tests/ll-smoke-singlethreaded.sh tests/ls.sh tests/notify_test.sh # Handle generation of swap include files CLEANFILES = swap.h.inc swap.c.inc @@ -134,3 +134,5 @@ EXTRA_DIST += swap.h.inc swap.c.inc $(libsquashfuse_convenience_la_OBJECTS): swap.h.inc swap.h.inc swap.c.inc: gen_swap.sh squashfs_fs.h Makefile SED="$(SED)" $(srcdir)/gen_swap.sh $(srcdir)/squashfs_fs.h + +EXTRA_DIST += ci/expected-features/all ci/expected-features/demo diff --git a/configure.ac b/configure.ac index a2d9c52..fcb05f1 100644 --- a/configure.ac +++ b/configure.ac @@ -91,6 +91,7 @@ AS_IF([test "x$sq_tests" = x], [sq_tests=" none"]) AC_SUBST([sq_mksquashfs_compressors]) AC_CONFIG_FILES([tests/ll-smoke.sh],[chmod +x tests/ll-smoke.sh]) +AC_CONFIG_FILES([tests/ll-smoke-singlethreaded.sh],[chmod +x tests/ll-smoke-singlethreaded.sh]) AC_CONFIG_FILES([tests/umount-test.sh],[chmod +x tests/umount-test.sh]) diff --git a/tests/ll-smoke-singlethreaded.sh b/tests/ll-smoke-singlethreaded.sh.in similarity index 84% rename from tests/ll-smoke-singlethreaded.sh rename to tests/ll-smoke-singlethreaded.sh.in index 3fe5bf9..ba88275 100755 --- a/tests/ll-smoke-singlethreaded.sh +++ b/tests/ll-smoke-singlethreaded.sh.in @@ -7,4 +7,4 @@ # the FUSE '-s' commandline option. # # So we just re-run the normal ll-smoke test with the '-s' option. -SFLL_EXTRA_ARGS="-s" $(dirname -- $0)/ll-smoke.sh +SFLL_EXTRA_ARGS="-s" @builddir@/tests/ll-smoke.sh