From: Pedro Alves Date: Wed, 19 Mar 2014 15:22:45 +0000 (+0000) Subject: gdb.base/async.exp: Make test messages unique. X-Git-Tag: gdb-7.8-release~782 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6048b9501dec2a621a336bffdc6675646437a000;p=thirdparty%2Fbinutils-gdb.git 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 * gdb.base/async.exp (step& tests): Pass explicit test messages. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a7237d2e5bd..7fdc8109a5f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-03-19 Pedro Alves + + * gdb.base/async.exp (step& tests): Pass explicit test messages. + 2014-03-19 Pedro Alves * gdb.base/async.exp (test_background): Expect \r\n after diff --git a/gdb/testsuite/gdb.base/async.exp b/gdb/testsuite/gdb.base/async.exp index a1c821cfaf7..bbe8a27a7c9 100644 --- a/gdb/testsuite/gdb.base/async.exp +++ b/gdb/testsuite/gdb.base/async.exp @@ -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.*"