From: Mark Wielaard Date: Mon, 24 Jun 2024 12:56:37 +0000 (+0200) Subject: gdbserver_tests filters remove python rpm module load warning X-Git-Tag: VALGRIND_3_24_0~102 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d6c7d47eb4c13a3d83c091d453f527a1b74cf4ef;p=thirdparty%2Fvalgrind.git 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 --git a/gdbserver_tests/filter_gdb.in b/gdbserver_tests/filter_gdb.in index 0f964e223..6eecf4050 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 139aea2bc..71f1f7025 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'