]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
test: Silence benign compiler warning in the profiling_gcc_10+ suite
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 19 Apr 2025 18:34:02 +0000 (20:34 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 19 Apr 2025 20:02:01 +0000 (22:02 +0200)
test/suites/profiling_gcc_10+.bash

index 16616731a24692767e85aca8f8b40407145221aa..d983c9e3839f5560c98e40add734a04f0fc93392 100644 (file)
@@ -90,12 +90,12 @@ SUITE_profiling_gcc_10+() {
     done
 
     cd obj1
-    gcda_cycle -fprofile-prefix-path=/you/shall/not/pass -fprofile-dir=.
+    gcda_cycle -fprofile-prefix-path=/you/shall/not/pass -fprofile-dir=. 2>/dev/null
     expect_stat direct_cache_hit 0
     expect_stat cache_miss 1
 
     cd ../obj2
-    gcda_cycle -fprofile-prefix-path=/you/shall/not/pass -fprofile-dir=.
+    gcda_cycle -fprofile-prefix-path=/you/shall/not/pass -fprofile-dir=. 2>/dev/null
     expect_stat direct_cache_hit 0
     expect_stat cache_miss 2