gdb/testsuite: remove actual addresses from some test names

After commit:

  commit 10f92414d6d4a5f8eb8cbb2bf39ca86c1f9c1da5
  Date:   Fri Jan 15 12:14:45 2021 +0100

      [gdb/testsuite] Fix gdb.fortran/array-slices.exp with -m32

Some test names now contain the addresses of variables from the
inferior.  When running the test in different directories I'm seeing
slightly different values for the addresses.  This makes comparing
test results between directories harder than it needs to be.

This commit just gives the tests a descriptive name without including
the addresses.

gdb/testsuite/ChangeLog:

	* gdb.fortran/array-slices.exp (run_test): Avoid including
	addresses in test names.
This commit is contained in:
Andrew Burgess
2021-01-18 17:01:11 +00:00
parent 705989f19a
commit 02baa13385
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
* gdb.fortran/array-slices.exp (run_test): Avoid including
addresses in test names.
2021-01-15 Tom de Vries <tdevries@suse.de>
PR testsuite/26997

View File

@ -209,7 +209,8 @@ proc run_test { repack } {
"start unknown"]
set end_addr [get_hexadecimal_valueof \
"$start_addr + sizeof (${full_var_name})" \
"end unknown"]
"end unknown" \
"get end address of ${full_var_name}"]
# The Fortran compiler can choose to either send a descriptor that
# describes the array slice to the subroutine, or it can repack the