]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Restore test suite debug output where needed (#546)
authorThomas Otto <thomas.otto@pdv-fs.de>
Tue, 25 Feb 2020 20:59:17 +0000 (21:59 +0100)
committerGitHub <noreply@github.com>
Tue, 25 Feb 2020 20:59:17 +0000 (21:59 +0100)
Two fileclone tests rely on the output.

test/suites/fileclone.bash

index b035c1dfcc808546da25aed9d5d349c7c18f0140..80108724748cbf38ee690fc8cebfeea32eaa00b3 100644 (file)
@@ -19,7 +19,7 @@ SUITE_fileclone() {
     expect_stat 'files in cache' 2
     expect_equal_object_files reference_test.o test.o
 
-    CCACHE_FILECLONE=1 $CCACHE_COMPILE -c test.c
+    CCACHE_FILECLONE=1 CCACHE_DEBUG=1 $CCACHE_COMPILE -c test.c
     expect_stat 'cache hit (preprocessed)' 1
     expect_stat 'cache miss' 1
     expect_stat 'files in cache' 2
@@ -44,7 +44,7 @@ SUITE_fileclone() {
     expect_stat 'files in cache' 1
     expect_equal_object_files reference_test.o test.o
 
-    CCACHE_FILECLONE=1 $CCACHE_COMPILE -c test.c
+    CCACHE_FILECLONE=1 CCACHE_DEBUG=1 $CCACHE_COMPILE -c test.c
     expect_stat 'cache hit (preprocessed)' 1
     expect_stat 'cache miss' 1
     expect_stat 'files in cache' 1