* [PATCH] Adjust array pretty printer tests to the new format
[not found] <20200430121359.13400-1-ssbssa.ref@yahoo.de>
@ 2020-04-30 12:13 ` Hannes Domani
2020-04-30 14:58 ` Tom Tromey
0 siblings, 1 reply; 3+ messages in thread
From: Hannes Domani @ 2020-04-30 12:13 UTC (permalink / raw)
To: gdb-patches
gdb/testsuite/ChangeLog:
2020-04-30 Hannes Domani <ssbssa@yahoo.de>
* gdb.python/py-format-string.exp: Adjust pretty_arrays expected
output to the new format.
---
gdb/testsuite/gdb.python/py-format-string.exp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gdb/testsuite/gdb.python/py-format-string.exp b/gdb/testsuite/gdb.python/py-format-string.exp
index faafc81c6b..f809ef30cb 100644
--- a/gdb/testsuite/gdb.python/py-format-string.exp
+++ b/gdb/testsuite/gdb.python/py-format-string.exp
@@ -291,9 +291,9 @@ proc test_raw {} {
proc test_pretty_arrays {} {
global current_lang
- set an_array_pretty " \\{2,\[\r\n\]+ 3,\[\r\n\]+ 5\\}"
+ set an_array_pretty "\\{\[\r\n\]+ 2,\[\r\n\]+ 3,\[\r\n\]+ 5\[\r\n\]+\\}"
set an_array_with_repetition_pretty \
- " \\{1,\[\r\n\]+ 3 <repeats 12 times>,\[\r\n\]+ 5,\[\r\n\]+ 5,\[\r\n\]+ 5\\}"
+ "\\{\[\r\n\]+ 1,\[\r\n\]+ 3 <repeats 12 times>,\[\r\n\]+ 5,\[\r\n\]+ 5,\[\r\n\]+ 5\[\r\n\]+\\}"
check_var_with_bool_opt "pretty_arrays" "a_point_t"
check_var_with_bool_opt "pretty_arrays" "a_point_t_pointer"
@@ -886,7 +886,7 @@ proc test_mixed {} {
check_format_string "an_array" \
"array_indexes=True, pretty_arrays=True" \
- " \\{\\\[0\\\] = 2,\[\r\n\]+ \\\[1\\\] = 3,\[\r\n\]+ \\\[2\\\] = 5\\}"
+ "\\{\[\r\n\]+ \\\[0\\\] = 2,\[\r\n\]+ \\\[1\\\] = 3,\[\r\n\]+ \\\[2\\\] = 5\[\r\n\]+\\}"
check_format_string "a_struct_with_union" \
"pretty_structs=True, unions=False" \
--
2.26.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Adjust array pretty printer tests to the new format
2020-04-30 12:13 ` [PATCH] Adjust array pretty printer tests to the new format Hannes Domani
@ 2020-04-30 14:58 ` Tom Tromey
2020-04-30 15:04 ` Hannes Domani
0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2020-04-30 14:58 UTC (permalink / raw)
To: Hannes Domani via Gdb-patches
>>>>> "Hannes" == Hannes Domani via Gdb-patches <gdb-patches@sourceware.org> writes:
Hannes> gdb/testsuite/ChangeLog:
Hannes> 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
Hannes> * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
Hannes> output to the new format.
Ok. Thanks.
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Adjust array pretty printer tests to the new format
2020-04-30 14:58 ` Tom Tromey
@ 2020-04-30 15:04 ` Hannes Domani
0 siblings, 0 replies; 3+ messages in thread
From: Hannes Domani @ 2020-04-30 15:04 UTC (permalink / raw)
To: Gdb-patches
Am Donnerstag, 30. April 2020, 16:58:26 MESZ hat Tom Tromey <tom@tromey.com> Folgendes geschrieben:
> >>>>> "Hannes" == Hannes Domani via Gdb-patches <gdb-patches@sourceware.org> writes:
>
> Hannes> gdb/testsuite/ChangeLog:
> Hannes> 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
>
> Hannes> * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
> Hannes> output to the new format.
>
> Ok. Thanks.
Pushed, thanks.
Hannes
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-30 15:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20200430121359.13400-1-ssbssa.ref@yahoo.de>
2020-04-30 12:13 ` [PATCH] Adjust array pretty printer tests to the new format Hannes Domani
2020-04-30 14:58 ` Tom Tromey
2020-04-30 15:04 ` Hannes Domani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox