]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Remove leftover debug settings in test suites
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 23 Feb 2020 20:37:41 +0000 (21:37 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 23 Feb 2020 20:38:47 +0000 (21:38 +0100)
test/suites/basedir.bash
test/suites/fileclone.bash

index d8513b3633c9b39ec583c22d49fa339de122bc64..ff4a9959144002e04fc916cbf810a6bba72ccfdb 100644 (file)
@@ -49,8 +49,7 @@ if ! $HOST_OS_WINDOWS && ! $HOST_OS_CYGWIN; then
     TEST "Path normalization"
 
     cd dir1
-    CCACHE_DEBUG=1 CCACHE_BASEDIR="`pwd`" $CCACHE_COMPILE -I$(pwd)/include -c src/test.c
-    mv test.o*text first.text
+    CCACHE_BASEDIR="`pwd`" $CCACHE_COMPILE -I$(pwd)/include -c src/test.c
     expect_stat 'cache hit (direct)' 0
     expect_stat 'cache hit (preprocessed)' 0
     expect_stat 'cache miss' 1
@@ -59,7 +58,7 @@ if ! $HOST_OS_WINDOWS && ! $HOST_OS_CYGWIN; then
 
     # Rewriting triggered by CCACHE_BASEDIR should handle paths with multiple
     # slashes, redundant "/." parts and "foo/.." parts correctly.
-    CCACHE_DEBUG=1 CCACHE_BASEDIR=$(pwd) $CCACHE_COMPILE -I$(pwd)//./subdir/../include -c $(pwd)/src/test.c
+    CCACHE_BASEDIR=$(pwd) $CCACHE_COMPILE -I$(pwd)//./subdir/../include -c $(pwd)/src/test.c
     expect_stat 'cache hit (direct)' 1
     expect_stat 'cache hit (preprocessed)' 0
     expect_stat 'cache miss' 1
@@ -134,18 +133,18 @@ if ! $HOST_OS_WINDOWS && ! $HOST_OS_CYGWIN; then
     # dir2/src/build -> /absolute/path/to/build2
 
     cd dir1/src
-    CCACHE_DEBUG=1 CCACHE_BASEDIR=/ $CCACHE_COMPILE -I$(pwd)/../include -c $(pwd)/test.c -o $(pwd)/build/test.o
+    CCACHE_BASEDIR=/ $CCACHE_COMPILE -I$(pwd)/../include -c $(pwd)/test.c -o $(pwd)/build/test.o
     expect_stat 'cache hit (direct)' 0
     expect_stat 'cache miss' 1
 
     cd ../../dir2/src
     # Apparent CWD:
-    CCACHE_DEBUG=1 CCACHE_BASEDIR=/ $CCACHE_COMPILE -I$(pwd)/../include -c $(pwd)/test.c -o $(pwd)/build/test.o
+    CCACHE_BASEDIR=/ $CCACHE_COMPILE -I$(pwd)/../include -c $(pwd)/test.c -o $(pwd)/build/test.o
     expect_stat 'cache hit (direct)' 1
     expect_stat 'cache miss' 1
 
     # Actual CWD (e.g. from $(CURDIR) in a Makefile):
-    CCACHE_DEBUG=1 CCACHE_BASEDIR=/ $CCACHE_COMPILE -I$(pwd -P)/../include -c $(pwd -P)/test.c -o $(pwd -P)/build/test.o
+    CCACHE_BASEDIR=/ $CCACHE_COMPILE -I$(pwd -P)/../include -c $(pwd -P)/test.c -o $(pwd -P)/build/test.o
     expect_stat 'cache hit (direct)' 2
     expect_stat 'cache miss' 1
 fi
index c101c209a7784d44bc4fd30b586e50df437d7ef9..b035c1dfcc808546da25aed9d5d349c7c18f0140 100644 (file)
@@ -13,13 +13,13 @@ SUITE_fileclone() {
 
     $REAL_COMPILER -c -o reference_test.o test.c
 
-    CCACHE_FILECLONE=1 CCACHE_DEBUG=1 $CCACHE_COMPILE -c test.c
+    CCACHE_FILECLONE=1 $CCACHE_COMPILE -c test.c
     expect_stat 'cache hit (preprocessed)' 0
     expect_stat 'cache miss' 1
     expect_stat 'files in cache' 2
     expect_equal_object_files reference_test.o test.o
 
-    CCACHE_FILECLONE=1 CCACHE_DEBUG=1  $CCACHE_COMPILE -c test.c
+    CCACHE_FILECLONE=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_DEBUG=1  $CCACHE_COMPILE -c test.c
+    CCACHE_FILECLONE=1 $CCACHE_COMPILE -c test.c
     expect_stat 'cache hit (preprocessed)' 1
     expect_stat 'cache miss' 1
     expect_stat 'files in cache' 1