summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-01-17 18:41:32 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-01-17 18:45:46 -0800
commitd9cbea1c6bc2b7f2c11964da0d437130bed82279 (patch)
tree36b2d5180e70657bc36c151c96c5e452289899b8
parentddd8339e262cbb7b25993599299ad40e0c95ccf6 (diff)
test: skip compressed file tests when --disable-open-zfile is used
Reported-by: T.J. Townsend Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--test/TestAllFiles.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/TestAllFiles.h b/test/TestAllFiles.h
index d07436a..505b2a3 100644
--- a/test/TestAllFiles.h
+++ b/test/TestAllFiles.h
@@ -156,5 +156,9 @@ TestAllNormalFiles(const char *subdir, int expected, testfilefunc testfunc)
static void
TestAllCompressedFiles(const char *subdir, int expected, testfilefunc testfunc)
{
+#ifdef NO_ZPIPE
+ g_test_message("compression disabled, skipping compressed file tests");
+#else
TestAllFilesByType(G_TEST_BUILT, TRUE, subdir, expected, testfunc);
+#endif
}