]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Fix duplicates in gdb.fortran/array-{indices,repeat}.exp
authorTom de Vries <tdevries@suse.de>
Mon, 17 Jun 2024 21:26:03 +0000 (23:26 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 17 Jun 2024 21:26:03 +0000 (23:26 +0200)
commita6760bd40b44cd1ea4fee264a36e794d362a64bb
treefb682bf2815ad2acf7756c1e810c94014083d656
parent1b19566b18a1208f84b89029785a1e93a6544514
[gdb/testsuite] Fix duplicates in gdb.fortran/array-{indices,repeat}.exp

When running test-case gdb.fortran/array-indices.exp on a system without
fortran compiler, I run into a duplicate:
...
Running /home/vries/gdb/src/gdb/testsuite/gdb.fortran/array-indices.exp ...
gdb compile failed, default_target_compile: Can't find gfortran.
UNTESTED: gdb.fortran/array-indices.exp: array-indices.exp
gdb compile failed, default_target_compile: Can't find gfortran.
UNTESTED: gdb.fortran/array-indices.exp: array-indices.exp
DUPLICATE: gdb.fortran/array-indices.exp: array-indices.exp
...

Fix this by adding a with_test_prefix at the toplevel.

Likewise in gdb.fortran/array-repeat.exp.

Tested on x86_64-linux.

Reviewed-By: Alexandra Petlanova Hajkova <ahajkova@redhat.com>
gdb/testsuite/gdb.fortran/array-indices.exp
gdb/testsuite/gdb.fortran/array-repeat.exp