gdb.base/async.exp: Make test messages unique.

$ cat gdb.sum| grep PASS| sort | uniq -c |sort -n
       1 PASS: gdb.base/async.exp: finish&
       1 PASS: gdb.base/async.exp: jump&
       1 PASS: gdb.base/async.exp: next&
       1 PASS: gdb.base/async.exp: nexti&
       1 PASS: gdb.base/async.exp: set exec-done-display off
       1 PASS: gdb.base/async.exp: set exec-done-display on
       1 PASS: gdb.base/async.exp: set target-async on
       1 PASS: gdb.base/async.exp: stepi&
       1 PASS: gdb.base/async.exp: until&
       2 PASS: gdb.base/async.exp: step&

gdb/testsuite/
2014-03-19  Pedro Alves  <palves@redhat.com>

	* gdb.base/async.exp (step& tests): Pass explicit test messages.
This commit is contained in:
Pedro Alves 2014-03-19 15:22:45 +00:00
parent 8bcfb00a77
commit 6048b9501d
2 changed files with 6 additions and 2 deletions

View file

@ -78,9 +78,9 @@ proc test_background {command before_prompt after_prompt {message ""}} {
test_background "next&" "" ".*z = 9.*"
test_background "step&" "" ".*y = foo \\(\\).*"
test_background "step&" "" ".*y = foo \\(\\).*" "step& #1"
test_background "step&" "" " foo \\(\\) at .*async.c.*x = 5.*"
test_background "step&" "" " foo \\(\\) at .*async.c.*x = 5.*" "step& #2"
test_background "stepi&" "" ".*$hex.*x = 5.*"