]> sourceware.org Git - libabigail.git/commitdiff
test-alt-dwarf: Add missing dwz alt-debug file
authorDodji Seketeli <dodji@redhat.com>
Thu, 23 Jun 2022 13:53:56 +0000 (15:53 +0200)
committerDodji Seketeli <dodji@redhat.com>
Thu, 23 Jun 2022 13:57:23 +0000 (15:57 +0200)
It seems I forgot to add a dwz alt-debug file to the test material
included in the previous commit.

Fixed thus.

* tests/data/test-alt-dwarf-file/libstdc++/libstdc++-report-1.txt:
New reference test output.
* tests/data/test-alt-dwarf-file/libstdc++/usr/lib/debug/.dwz/gcc-12.1.1-1.fc37.x86_64:
New dwz alt-debug info file.
* tests/data/Makefile.am: Add the test material above to source
distribution.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
tests/data/Makefile.am
tests/data/test-alt-dwarf-file/libstdc++/libstdc++-report-1.txt [new file with mode: 0644]
tests/data/test-alt-dwarf-file/libstdc++/usr/lib/debug/.dwz/gcc-12.1.1-1.fc37.x86_64 [new file with mode: 0644]
tests/test-alt-dwarf-file.cc

index df5247e10da623f6831723c196e1025ce9bbaab2..9300c8546fdf0ac99e8645259e99b9ea4722df6f 100644 (file)
@@ -1699,7 +1699,9 @@ test-alt-dwarf-file/rhbz1951526/usr/bin/gimp-2.10 \
 test-alt-dwarf-file/rhbz1951526/usr/lib/debug/.dwz/gimp-2.10.22-2.el9.1.aarch64 \
 test-alt-dwarf-file/rhbz1951526/usr/lib/debug/usr/bin/gimp-2.10-2.10.22-2.el9.1.aarch64.debug \
 test-alt-dwarf-file/libstdc++/libstdc++-report.txt \
+test-alt-dwarf-file/libstdc++/libstdc++-report-1.txt \
 test-alt-dwarf-file/libstdc++/usr/lib/debug/usr/lib64/libstdc++.so.6.0.30-12.1.1-1.fc37.x86_64.debug \
+test-alt-dwarf-file/libstdc++/usr/lib/debug/.dwz/gcc-12.1.1-1.fc37.x86_64 \
 test-alt-dwarf-file/libstdc++/usr/lib64/libstdc++.so.6.0.30 \
 \
 test-abicompat/libtest0-fn-changed-libapp-v0.so \
diff --git a/tests/data/test-alt-dwarf-file/libstdc++/libstdc++-report-1.txt b/tests/data/test-alt-dwarf-file/libstdc++/libstdc++-report-1.txt
new file mode 100644 (file)
index 0000000..80d3ddb
--- /dev/null
@@ -0,0 +1 @@
+found the alternate debug info file 'gcc-12.1.1-1.fc37.x86_64'
diff --git a/tests/data/test-alt-dwarf-file/libstdc++/usr/lib/debug/.dwz/gcc-12.1.1-1.fc37.x86_64 b/tests/data/test-alt-dwarf-file/libstdc++/usr/lib/debug/.dwz/gcc-12.1.1-1.fc37.x86_64
new file mode 100644 (file)
index 0000000..f42d7af
Binary files /dev/null and b/tests/data/test-alt-dwarf-file/libstdc++/usr/lib/debug/.dwz/gcc-12.1.1-1.fc37.x86_64 differ
index ddd4f9cf0a38787b690906da1484918040431105..0c79f6f83678485150c923f89117104cd7ab73c5 100644 (file)
@@ -67,6 +67,13 @@ InOutSpec in_out_specs[] =
     "data/test-alt-dwarf-file/libstdc++/libstdc++-report.txt",
     "output/test-alt-dwarf-file/libstdc++/libstdc++-report.txt"
   },
+  {
+    "data/test-alt-dwarf-file/libstdc++/usr/lib64/libstdc++.so.6.0.30",
+    "data/test-alt-dwarf-file/libstdc++/usr/lib/debug",
+    "--check-alternate-debug-info-base-name",
+    "data/test-alt-dwarf-file/libstdc++/libstdc++-report-1.txt",
+    "output/test-alt-dwarf-file/libstdc++/libstdc++-report-1.txt"
+  },
 
   // This should always be the last entry
   {NULL, NULL, NULL, NULL, NULL}
This page took 0.27938 seconds and 5 git commands to generate.