]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Only run redis test if backend is enabled (#891)
authorGregor Jasny <gregor.jasny@logmein.com>
Tue, 13 Jul 2021 07:31:20 +0000 (09:31 +0200)
committerGitHub <noreply@github.com>
Tue, 13 Jul 2021 07:31:20 +0000 (09:31 +0200)
test/CMakeLists.txt

index 20ccabfdceb55fd71a010aba9ef08f7b4a0084cc..a66c32c8ed6eea827c81391beb1cc6fb1a8a4195 100644 (file)
@@ -54,7 +54,9 @@ addtest(readonly_direct)
 addtest(sanitize_blacklist)
 addtest(secondary_file)
 addtest(secondary_http)
+if(REDIS_STORAGE_BACKEND)
 addtest(secondary_redis)
+endif()
 addtest(secondary_url)
 addtest(serialize_diagnostics)
 addtest(source_date_epoch)