testsuite-distclean:
-rm -rf testsuite/rootfs
+testsuite-pack-rootfs:
+ $(AM_V_GEN) ( cd testsuite && tar -cJf \
+ $(abs_top_srcdir)/testsuite/rootfs.tar.xz \
+ rootfs )
+
DISTCLEAN_LOCAL_HOOKS += testsuite-distclean
EXTRA_DIST += testsuite/rootfs.tar.xz
expected not to be 0.
7 - If you added files to the rootfs, be sure to compact it back to
- rootfs.tar.xz before sending patches.
+ rootfs.tar.xz before sending patches: use 'make testsuite-pack-rootfs'
8 - Tests can be run individually, outside of 'make check'. strace and gdb work
too, as long as you tell them to operate on child process.