]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
gdbserver_tests filters remove more verbose python rpm load warnings
authorMark Wielaard <mark@klomp.org>
Thu, 4 Jul 2024 16:04:18 +0000 (18:04 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 4 Jul 2024 16:04:18 +0000 (18:04 +0200)
The rpm python load warnings on Fedora became even more verbose.
Filter out all stderr messages related to them so tests don't fail.

gdbserver_tests/filter_gdb.in
gdbserver_tests/filter_vgdb.in

index 6eecf40502aaead0070596f767322642f3e7a5a1..ccf201b2ac3e27cb4b432fa81ffe6c27c1dd38a1 100755 (executable)
@@ -56,7 +56,10 @@ s/^\e\[?1034hReading symbols/Reading symbols/
 /^Try: zypper install -C/d
 
 #      Remove python rpm module load warning
-/^Unable to load 'rpm' module.  Please install the python3-rpm package./d
+/^Unable to load /d
+/^the RPM suggestions /d
+/^installing missing debuginfo /d
+/^please install /d
 
 #       Remove vgdb message
 /relaying data between gdb and process/d
index 71f1f702537eebed7cc9c8905e34661fcd67b077..b32be689733b982cc63bbd14b6271a6c6854a36c 100755 (executable)
@@ -47,8 +47,11 @@ $SED -e '/Use.*info auto-load python-scripts.*/d' |
 $SED -e '/warning: Invalid entry in .debug_gdb_scripts section/d' |
 $SED -e "/Use .info auto-load python .REGEXP.. to list them./d" |
 
-# Remove python rpm module load warning
-$SED -e "/^Unable to load 'rpm' module.  Please install the python3-rpm package./d" |
+# Remove python rpm module load warnings
+$SED -e "/^Unable to load /d" |
+$SED -e "/^the RPM suggestions /d" |
+$SED -e "/^installing missing debuginfo /d" |
+$SED -e "/^please install /d" |
 
 # and filter out any remaining empty lines
 $SED -e '/^$/d'