binutils-gdb/gdb/testsuite/gdb.fortran
Tom de Vries 6c58dad0ef [gdb/testsuite] Fix duplicates in gdb.fortran/huge.exp
With test-case gdb.fortran/huge.exp, on a system without fortran compiler, I
ran into a number of duplicates:
...
Running /home/vries/gdb/src/gdb/testsuite/gdb.fortran/huge.exp ...
gdb compile failed, default_target_compile: Can't find gfortran.
UNTESTED: gdb.fortran/huge.exp: huge.exp
  ...
gdb compile failed, default_target_compile: Can't find gfortran.
UNTESTED: gdb.fortran/huge.exp: huge.exp
DUPLICATE: gdb.fortran/huge.exp: huge.exp
UNSUPPORTED: gdb.fortran/huge.exp: require failed: expr $compilation_succeeded
...

Fix this by wrapping the compile in a with_test_prefix, getting us instead:
...
gdb compile failed, default_target_compile: Can't find gfortran.
UNTESTED: gdb.fortran/huge.exp: CRASH_GDB=2097152: huge.exp
  ...
gdb compile failed, default_target_compile: Can't find gfortran.
UNTESTED: gdb.fortran/huge.exp: CRASH_GDB=16: huge.exp
UNSUPPORTED: gdb.fortran/huge.exp: require failed: expr $compilation_succeeded
...

Tested on x86_64-linux.
2024-06-20 15:37:48 +02:00
..
allocated.exp [gdb/testsuite] Don't use set auto-solib-add off 2024-06-10 10:43:10 +02:00
allocated.f90
array-bounds-high.exp
array-bounds-high.f90
array-bounds.exp [gdb/testsuite] Fix gdb.fortran/array-bounds.exp on arm 2024-06-07 08:12:34 +02:00
array-bounds.f90
array-element.exp
array-element.f
array-indices.exp [gdb/testsuite] Fix duplicates in gdb.fortran/array-{indices,repeat}.exp 2024-06-17 23:26:03 +02:00
array-no-bounds.exp
array-no-bounds.f90
array-repeat.exp [gdb/testsuite] Fix duplicates in gdb.fortran/array-{indices,repeat}.exp 2024-06-17 23:26:03 +02:00
array-repeat.f90
array-slices-bad.exp [gdb/testsuite] Don't use set auto-solib-add off 2024-06-10 10:43:10 +02:00
array-slices-bad.f90
array-slices-repeat.f90
array-slices-sub-slices.exp [gdb/testsuite] Don't use set auto-solib-add off 2024-06-10 10:43:10 +02:00
array-slices-sub-slices.f90
array-slices.exp [gdb/testsuite] Don't use set auto-solib-add off 2024-06-10 10:43:10 +02:00
array-slices.f90
associated.exp
associated.f90
assumedrank.exp
assumedrank.f90
backtrace.exp
backtrace.f90
block-data.exp
block-data.f
call-no-debug-func.f90
call-no-debug-prog.f90
call-no-debug.exp
charset.exp
charset.f90
class-allocatable-array.exp
class-allocatable-array.f90
common-block.exp
common-block.f90
completion.exp
completion.f90
complex.exp
complex.f90
debug-expr.exp
debug-expr.f90
derived-type-function.exp
derived-type-function.f90
derived-type-striding.exp
derived-type-striding.f90
derived-type.exp
derived-type.f90
dot-ops.exp
dynamic-ptype-whatis.exp
dynamic-ptype-whatis.f90
empty-string.exp
empty-string.f90
entry-point.exp
entry-point.f90
exprs.exp
function-calls.exp gdb: rename unwindonsignal to unwind-on-signal 2024-03-25 17:25:07 +00:00
function-calls.f90
huge.exp [gdb/testsuite] Fix duplicates in gdb.fortran/huge.exp 2024-06-20 15:37:48 +02:00
huge.F90
info-main.exp [gdb/testsuite] Use save_vars to restore GDBFLAGS 2024-05-03 15:07:33 +02:00
info-main.f90
info-modules.exp [gdb/testsuite] Don't use set auto-solib-add off 2024-06-10 10:43:10 +02:00
info-types-2.f90
info-types.exp Use the new symbol domains 2024-01-28 10:58:16 -07:00
info-types.f90
intrinsic-precedence.c
intrinsic-precedence.exp
intrinsic-precedence.f90
intrinsics.exp
intrinsics.f90
intvar-array.exp
intvar-array.f90
intvar-dynamic-types.exp
intvar-dynamic-types.f90
lbound-ubound.exp [gdb/testsuite] Don't use set auto-solib-add off 2024-06-10 10:43:10 +02:00
lbound-ubound.F90
library-module-lib.f90
library-module-main.f90
library-module.exp
limited-length.exp
limited-length.f90
logical.exp
logical.f90
max-depth.exp
max-depth.f90
mixed-lang-stack.c
mixed-lang-stack.cpp
mixed-lang-stack.exp
mixed-lang-stack.f90
module.exp [gdb/testsuite] Don't use set auto-solib-add off 2024-06-10 10:43:10 +02:00
module.f90
multi-dim.exp
multi-dim.f90
namelist.exp
namelist.f90
nested-funcs-2.exp
nested-funcs-2.f90
nested-funcs.exp
nested-funcs.f90
oop_extend_type.exp
oop_extend_type.f90
pointer-to-pointer.exp gdb, types: Resolve pointer types dynamically 2024-02-02 08:57:16 +01:00
pointer-to-pointer.f90
pointers.exp gdb, types: Resolve pointer types dynamically 2024-02-02 08:57:16 +01:00
pointers.f90 gdb, types: Resolve pointer types dynamically 2024-02-02 08:57:16 +01:00
print_type.exp
print-formatted.exp
print-formatted.f90
printing-types.exp
printing-types.f90
ptr-indentation.exp
ptr-indentation.f90
ptype-on-functions.exp
ptype-on-functions.f90
rank.exp
rank.f90
shape.exp
shape.f90
short-circuit-argument-list.exp
short-circuit-argument-list.f90
size.exp
size.f90
sizeof.exp gdb, testsuite, fortran: Fix sizeof intrinsic for Fortran pointers 2024-02-02 08:57:16 +01:00
sizeof.f90 gdb, testsuite, fortran: Fix sizeof intrinsic for Fortran pointers 2024-02-02 08:57:16 +01:00
string-types.exp
string-types.f90
subarray.exp [gdb/testsuite] Don't use set auto-solib-add off 2024-06-10 10:43:10 +02:00
subarray.f
type-kinds.exp
type.f90
types.exp
vla-alloc-assoc.exp
vla-datatypes.exp
vla-datatypes.f90
vla-history.exp
vla-ptr-info.exp
vla-ptype-sub.exp
vla-ptype.exp
vla-sizeof.exp
vla-sub.f90
vla-type.exp
vla-type.f90
vla-value-sub-arbitrary.exp
vla-value-sub-finish.exp
vla-value-sub.exp
vla-value.exp
vla.f90
whatis_type.exp