From: Mark W. <ma...@so...> - 2024-06-24 12:59:41
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=d6c7d47eb4c13a3d83c091d453f527a1b74cf4ef commit d6c7d47eb4c13a3d83c091d453f527a1b74cf4ef Author: Mark Wielaard <ma...@kl...> Date: Mon Jun 24 14:56:37 2024 +0200 gdbserver_tests filters remove python rpm module load warning gdb on Fedora will warn not being able to load the rpm python module. Unable to load 'rpm' module. Please install the python3-rpm package. Filter out that message so tests don't fail. Diff: --- gdbserver_tests/filter_gdb.in | 3 +++ gdbserver_tests/filter_vgdb.in | 3 +++ 2 files changed, 6 insertions(+) diff --git a/gdbserver_tests/filter_gdb.in b/gdbserver_tests/filter_gdb.in index 0f964e223f..6eecf40502 100755 --- a/gdbserver_tests/filter_gdb.in +++ b/gdbserver_tests/filter_gdb.in @@ -55,6 +55,9 @@ s/^\[?1034hReading symbols/Reading symbols/ # Remove some Suse package manager messages /^Try: zypper install -C/d +# Remove python rpm module load warning +/^Unable to load 'rpm' module. Please install the python3-rpm package./d + # Remove vgdb message /relaying data between gdb and process/d diff --git a/gdbserver_tests/filter_vgdb.in b/gdbserver_tests/filter_vgdb.in index 139aea2bcc..71f1f70253 100755 --- a/gdbserver_tests/filter_vgdb.in +++ b/gdbserver_tests/filter_vgdb.in @@ -47,5 +47,8 @@ $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" | + # and filter out any remaining empty lines $SED -e '/^$/d' |