]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
gdbserver_tests: filter out new Missing rpms message
authorMark Wielaard <mark@klomp.org>
Thu, 16 Jan 2025 16:30:37 +0000 (17:30 +0100)
committerMark Wielaard <mark@klomp.org>
Thu, 16 Jan 2025 16:30:42 +0000 (17:30 +0100)
As seen on the fedora 40 s390x tester. GDB now might output something
like:

Missing rpms, try: dnf --enablerepo='*debug*' install glibc-debuginfo-2.39-33.fc40.s390x

Filter those messages out to get zero fail test results again.

gdbserver_tests/filter_gdb.in
gdbserver_tests/filter_memcheck_monitor.in

index 094ea933ec5144691baa1503c1d24e8d01d827be..2bef9f3ee57b5dc53002ef1422c603a908e1559c 100755 (executable)
@@ -265,6 +265,7 @@ s/^0x........ in \(\w\+ (\)/\1/
 
 #      delete any missing debuginfo messages
 /^Missing debuginfo.*/d
+/^Missing rpms.*/d
 
 EOF
 
index 6e8a49a303bad1f902d80fc724a281d5cf6aa408..e407e7b92158644f3a0022f02d81c88e1df1a04b 100755 (executable)
@@ -31,6 +31,7 @@ $dir/filter_vgdb                                       |
 $SED -e '/Cannot access memory at address 0x......../d'                   \
     -e '/^[1-9][0-9]*  \.\.\/sysdeps\/powerpc\/powerpc32\/dl-start\.S: No such file or directory\./d' \
     -e '/^Missing separate debuginfo/d'                                  \
+    -e '/^Missing rpms/d'                                                \
     -e '/^Try: zypper install -C/d'                                      \
     -e 's/Test 3:   FAIL: expected si_code==2, not 128/Test 3:   PASS/'  \
     -e 's/in use at exit: [0-9][0-9,]* bytes in [0-9][0-9]* blocks/in use at exit: ... bytes in ... blocks/' \