From a967a8512afc86ef0adce0b718de5d86f53153f7 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Wed, 1 Aug 2012 09:02:50 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more valgrind versions. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/valgrind-infcall.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b6e1737425e..1a4262cb3a9 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-08-01 Jan Kratochvil + + * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more + valgrind versions. + 2012-07-31 Jan Kratochvil * gdb.base/valgrind-infcall.c: New file. diff --git a/gdb/testsuite/gdb.base/valgrind-infcall.exp b/gdb/testsuite/gdb.base/valgrind-infcall.exp index ede26f4d0a9..f2aa1adfa01 100644 --- a/gdb/testsuite/gdb.base/valgrind-infcall.exp +++ b/gdb/testsuite/gdb.base/valgrind-infcall.exp @@ -62,7 +62,7 @@ gdb_test_multiple "" $test { unsupported $test return -1 } - -re "valgrind: Bad option '--vgdb-error=0'" { + -re "valgrind: Bad option.*--vgdb-error=0" { # valgrind is not >= 3.7.0. unsupported $test return -1 -- 2.30.2