Closed mattst88 closed 3 years ago
Looks like this would do the trick:
diff --git a/tests/libsqfs/Makemodule.am b/tests/libsqfs/Makemodule.am
index 5ebb94b..33567b0 100644
--- a/tests/libsqfs/Makemodule.am
+++ b/tests/libsqfs/Makemodule.am
@@ -13,7 +13,9 @@ xattr_benchmark_LDADD = libcommon.a libsquashfs.la libcompat.a
LIBSQFS_TESTS = \
test_abi test_table test_xattr_writer
+if BUILD_TOOLS
noinst_PROGRAMS += xattr_benchmark
+endif
check_PROGRAMS += $(LIBSQFS_TESTS)
TESTS += $(LIBSQFS_TESTS)
Hi @mattst88 ,
thanks for reporting this! I pushed commit 53f5c8ab0b28f209a938f40b1e3e209bcbcdd71f which fixes the xattr_benchmark
being built if --without-tools
is set, and an additional commit 78502ff3f0d7ae47c7468e718bcba2a84933cf51 which should also repair the test cases for libutil/libsqfs when building without the tools.
Thank you very much! Looks good to me.