* [patch] Make test messages unique in checkpoint.exp
@ 2013-01-17 12:10 Abid, Hafiz
2013-01-17 13:01 ` Yao Qi
2013-01-17 15:57 ` Tom Tromey
0 siblings, 2 replies; 4+ messages in thread
From: Abid, Hafiz @ 2013-01-17 12:10 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 380 bytes --]
Hi,
While looking at the checkpoint.exp, I noted that there were many tests with same messages. I updated the messages so that they are unique following the convention already used in the file. How does it look?
Regards,
Abid
gdb/testsuite:
2013-01-17 Hafiz Abid Qadeer <abidh@codesourcery.com>
* gdb.base/checkpoint.exp: Update test messages to make them unique.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: checkpoint.patch --]
[-- Type: text/x-patch; name="checkpoint.patch", Size: 2578 bytes --]
diff --git a/gdb/testsuite/gdb.base/checkpoint.exp b/gdb/testsuite/gdb.base/checkpoint.exp
index f3366ee..d9c28e0 100644
--- a/gdb/testsuite/gdb.base/checkpoint.exp
+++ b/gdb/testsuite/gdb.base/checkpoint.exp
@@ -230,39 +230,39 @@ gdb_test "restart 1" "if .c == EOF.*" "restart 1 three"
gdb_test "continue" "breakpoint 2.*" "break2 1 one"
gdb_test "print ftell (out) > 100000" " = 1.*" "outfile still open 1"
-gdb_test "restart 2" "if .c == EOF.*" "restart 1 three"
+gdb_test "restart 2" "if .c == EOF.*" "restart 2 three"
gdb_test "continue" "breakpoint 2.*" "break2 2 one"
gdb_test "print ftell (out) > 100000" " = 1.*" "outfile still open 2"
-gdb_test "restart 3" "if .c == EOF.*" "restart 1 three"
+gdb_test "restart 3" "if .c == EOF.*" "restart 3 three"
gdb_test "continue" "breakpoint 2.*" "break2 3 one"
gdb_test "print ftell (out) > 100000" " = 1.*" "outfile still open 3"
-gdb_test "restart 4" "if .c == EOF.*" "restart 1 three"
+gdb_test "restart 4" "if .c == EOF.*" "restart 4 three"
gdb_test "continue" "breakpoint 2.*" "break2 4 one"
gdb_test "print ftell (out) > 100000" " = 1.*" "outfile still open 4"
-gdb_test "restart 5" "if .c == EOF.*" "restart 1 three"
+gdb_test "restart 5" "if .c == EOF.*" "restart 5 three"
gdb_test "continue" "breakpoint 2.*" "break2 5 one"
gdb_test "print ftell (out) > 100000" " = 1.*" "outfile still open 5"
-gdb_test "restart 6" "if .c == EOF.*" "restart 1 three"
+gdb_test "restart 6" "if .c == EOF.*" "restart 6 three"
gdb_test "continue" "breakpoint 2.*" "break2 6 one"
gdb_test "print ftell (out) > 100000" " = 1.*" "outfile still open 6"
-gdb_test "restart 7" "if .c == EOF.*" "restart 1 three"
+gdb_test "restart 7" "if .c == EOF.*" "restart 7 three"
gdb_test "continue" "breakpoint 2.*" "break2 7 one"
gdb_test "print ftell (out) > 100000" " = 1.*" "outfile still open 7"
-gdb_test "restart 8" "if .c == EOF.*" "restart 1 three"
+gdb_test "restart 8" "if .c == EOF.*" "restart 8 three"
gdb_test "continue" "breakpoint 2.*" "break2 8 one"
gdb_test "print ftell (out) > 100000" " = 1.*" "outfile still open 8"
-gdb_test "restart 9" "if .c == EOF.*" "restart 1 three"
+gdb_test "restart 9" "if .c == EOF.*" "restart 9 three"
gdb_test "continue" "breakpoint 2.*" "break2 9 one"
gdb_test "print ftell (out) > 100000" " = 1.*" "outfile still open 9"
-gdb_test "restart 10" "if .c == EOF.*" "restart 1 three"
+gdb_test "restart 10" "if .c == EOF.*" "restart 10 three"
gdb_test "continue" "breakpoint 2.*" "break2 10 one"
gdb_test "print ftell (out) > 100000" " = 1.*" "outfile still open 10"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] Make test messages unique in checkpoint.exp
2013-01-17 12:10 [patch] Make test messages unique in checkpoint.exp Abid, Hafiz
@ 2013-01-17 13:01 ` Yao Qi
2013-01-17 15:57 ` Tom Tromey
1 sibling, 0 replies; 4+ messages in thread
From: Yao Qi @ 2013-01-17 13:01 UTC (permalink / raw)
To: Abid, Hafiz; +Cc: gdb-patches
On 01/17/2013 08:10 PM, Abid, Hafiz wrote:
> gdb/testsuite:
>
> 2013-01-17 Hafiz Abid Qadeer<abidh@codesourcery.com>
>
> * gdb.base/checkpoint.exp: Update test messages to make them unique.
This line is too long. This patch can be regarded as a partial fix to
PR 13443, so we can put "PR gdb/13443" in the changelog entry, like this:
PR gdb/13443
* gdb.base/checkpoint.exp: Update test messages to make them
unique.
so the commit will be associated with that PR in bugzilla.
--
Yao (é½å°§)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] Make test messages unique in checkpoint.exp
2013-01-17 12:10 [patch] Make test messages unique in checkpoint.exp Abid, Hafiz
2013-01-17 13:01 ` Yao Qi
@ 2013-01-17 15:57 ` Tom Tromey
2013-01-18 12:48 ` Hafiz Abid Qadeer
1 sibling, 1 reply; 4+ messages in thread
From: Tom Tromey @ 2013-01-17 15:57 UTC (permalink / raw)
To: Abid, Hafiz; +Cc: gdb-patches
>>>>> "Abid" == Abid, Hafiz <Hafiz_Abid@mentor.com> writes:
Abid> While looking at the checkpoint.exp, I noted that there were many
Abid> tests with same messages. I updated the messages so that they are
Abid> unique following the convention already used in the file. How does it
Abid> look?
The patch is ok with the ChangeLog fix that Yao suggested.
thanks,
Tom
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] Make test messages unique in checkpoint.exp
2013-01-17 15:57 ` Tom Tromey
@ 2013-01-18 12:48 ` Hafiz Abid Qadeer
0 siblings, 0 replies; 4+ messages in thread
From: Hafiz Abid Qadeer @ 2013-01-18 12:48 UTC (permalink / raw)
To: Tom Tromey; +Cc: Abid, Hafiz, gdb-patches
On 17/01/13 15:57:26, Tom Tromey wrote:
> >>>>> "Abid" == Abid, Hafiz <Hafiz_Abid@mentor.com> writes:
>
> Abid> While looking at the checkpoint.exp, I noted that there were
> many
> Abid> tests with same messages. I updated the messages so that they
> are
> Abid> unique following the convention already used in the file. How
> does it
> Abid> look?
>
> The patch is ok with the ChangeLog fix that Yao suggested.
>
> thanks,
> Tom
>
Thanks Tom and Yao for review. I have applied it after making the
suggested change.
Regards,
Abid
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-01-18 12:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-17 12:10 [patch] Make test messages unique in checkpoint.exp Abid, Hafiz
2013-01-17 13:01 ` Yao Qi
2013-01-17 15:57 ` Tom Tromey
2013-01-18 12:48 ` Hafiz Abid Qadeer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox