This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PING][PATCH V2 6/7] Fortran, testsuite: Fix duplicate testcase name.
- From: Bernhard Heckel <bernhard dot heckel at intel dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 23 May 2016 13:15:38 +0200
- Subject: [PING][PATCH V2 6/7] Fortran, testsuite: Fix duplicate testcase name.
- Authentication-results: sourceware.org; auth=none
- References: <1463132086-17451-1-git-send-email-bernhard dot heckel at intel dot com> <1463132086-17451-7-git-send-email-bernhard dot heckel at intel dot com> <8660uiavlt dot fsf at gmail dot com> <573B1455 dot 4050004 at intel dot com>
On 17/05/2016 14:53, Bernhard Heckel wrote:
On 13/05/2016 16:19, Yao Qi wrote:
Bernhard Heckel <bernhard.heckel@intel.com> writes:
@@ -137,7 +137,8 @@ gdb_test "next" ""
gdb_test "ptype fivedynarr(2)" \
[multi_line "type = Type five" \
"\\s+Type one :: tone" \
- "End Type five" ]
+ "End Type five" ] \
+ "ptype fivedynarr(2), not allocated"
I don't understand why do we need this change. Looks the element "tone"
of type "five" is not allocated, but type "five" is.
I found a duplicate testname in the same file, therefore I just added
a post-fix to the testname.
This test above handles not allocated elements of an array.
Specific here, the element of an allocatable array is a struct which
has the allocatable variable "tone" which is not allocated yet.
There is no change to the test itself, only the testname
gdb_test "ptype fivedynarr(2)%tone" \
[multi_line "type = Type one" \
" $int :: ivla\\(<not allocated>\\)" \
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928