From: Pedro Alves Date: Tue, 31 Mar 2015 17:36:51 +0000 (+0100) Subject: gdb.threads/manythreads.exp: can't read "test": no such variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a14711808ece04167523a42f063ddb741e8ca866;p=binutils-gdb.git gdb.threads/manythreads.exp: can't read "test": no such variable If interrupt_and_wait manages to trigger the FAIL path, we get: ERROR OCCURED: can't read "test": no such variable gdb/testsuite/ChangeLog: 2015-04-01 Pedro Alves * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message to fail instead of non-existent $test. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9fb8307acdc..dfce0c0fc5d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-04-01 Pedro Alves + + * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message + to fail instead of non-existent $test. + 2015-04-01 Pedro Alves * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to diff --git a/gdb/testsuite/gdb.threads/manythreads.exp b/gdb/testsuite/gdb.threads/manythreads.exp index b031f68ff74..2a55f868a01 100644 --- a/gdb/testsuite/gdb.threads/manythreads.exp +++ b/gdb/testsuite/gdb.threads/manythreads.exp @@ -95,7 +95,7 @@ proc interrupt_and_wait { message } { # foo () at foo.c:31 # 31 bar (); # - fail $test + fail $message } } }