aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/tools/misc/ccache/fix-debug-prefix-map-suite.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/misc/ccache/fix-debug-prefix-map-suite.patch')
-rw-r--r--nixpkgs/pkgs/development/tools/misc/ccache/fix-debug-prefix-map-suite.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/nixpkgs/pkgs/development/tools/misc/ccache/fix-debug-prefix-map-suite.patch b/nixpkgs/pkgs/development/tools/misc/ccache/fix-debug-prefix-map-suite.patch
deleted file mode 100644
index 98a6fbf10bf..00000000000
--- a/nixpkgs/pkgs/development/tools/misc/ccache/fix-debug-prefix-map-suite.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- a/test/suites/debug_prefix_map.bash
-+++ b/test/suites/debug_prefix_map.bash
-@@ -29,7 +29,7 @@
- expect_stat 'cache hit (preprocessed)' 0
- expect_stat 'cache miss' 1
- expect_stat 'files in cache' 2
-- if grep -E "[^=]`pwd`[^=]" test.o >/dev/null 2>&1; then
-+ if objdump -g test.o | grep ": `pwd`$" >/dev/null 2>&1; then
- test_failed "Source dir (`pwd`) found in test.o"
- fi
-
-@@ -39,7 +39,7 @@
- expect_stat 'cache hit (preprocessed)' 0
- expect_stat 'cache miss' 1
- expect_stat 'files in cache' 2
-- if grep -E "[^=]`pwd`[^=]" test.o >/dev/null 2>&1; then
-+ if objdump -g test.o | grep ": `pwd`$" >/dev/null 2>&1; then
- test_failed "Source dir (`pwd`) found in test.o"
- fi
-
-@@ -52,10 +52,10 @@
- expect_stat 'cache hit (preprocessed)' 0
- expect_stat 'cache miss' 1
- expect_stat 'files in cache' 2
-- if grep -E "[^=]`pwd`[^=]" test.o >/dev/null 2>&1; then
-+ if objdump -g test.o | grep ": `pwd`$" >/dev/null 2>&1; then
- test_failed "Source dir (`pwd`) found in test.o"
- fi
-- if ! grep "name" test.o >/dev/null 2>&1; then
-+ if ! objdump -g test.o | grep ": name$" >/dev/null 2>&1; then
- test_failed "Relocation (name) not found in test.o"
- fi
-
-@@ -65,7 +65,7 @@
- expect_stat 'cache hit (preprocessed)' 0
- expect_stat 'cache miss' 1
- expect_stat 'files in cache' 2
-- if grep -E "[^=]`pwd`[^=]" test.o >/dev/null 2>&1; then
-+ if objdump -g test.o | grep ": `pwd`$" >/dev/null 2>&1; then
- test_failed "Source dir (`pwd`) found in test.o"
- fi
- }