[PATCH V2 6/7] Fortran, testsuite: Fix duplicate testcase name.
Bernhard Heckel
bernhard.heckel@intel.com
Wed May 18 13:29:00 GMT 2016
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 not change to the test itself, only the testname
Good to go?
>
>>> 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
More information about the Gdb-patches
mailing list