]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
test: Ignore clang warning from -fdebug-prefix-map test
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 2 Aug 2022 19:26:45 +0000 (21:26 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 20 Aug 2022 12:15:01 +0000 (14:15 +0200)
(cherry picked from commit 5dd3696439d115870b4a73733ff910192550e56e)

test/suites/split_dwarf.bash

index dcbac0b31806f218b49e71f78f2ebe3b7f48176e..0b23ef870cabead7f3ff20244f2cd61b02a4cb99 100644 (file)
@@ -108,7 +108,7 @@ SUITE_split_dwarf() {
     expect_stat preprocessed_cache_hit 0
     expect_stat cache_miss 1
     expect_stat files_in_cache 2
-    expect_objdump_not_contains test.o "$(pwd)"
+    expect_objdump_not_contains test.o "$(pwd)" 2>/dev/null
 
     cd ../dir2
     CCACHE_BASEDIR=$(pwd) $CCACHE_COMPILE -I$(pwd)/include -gsplit-dwarf -fdebug-prefix-map=$(pwd)=. -c $(pwd)/src/test.c -o $(pwd)/test.o
@@ -116,7 +116,7 @@ SUITE_split_dwarf() {
     expect_stat preprocessed_cache_hit 0
     expect_stat cache_miss 1
     expect_stat files_in_cache 2
-    expect_objdump_not_contains test.o "$(pwd)"
+    expect_objdump_not_contains test.o "$(pwd)" 2>/dev/null
 
     # -------------------------------------------------------------------------
     TEST "-gsplit-dwarf -g1"