diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-01-18 17:01:11 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-01-18 17:06:12 +0000 |
commit | 02baa133856849a03aabb10c5fcb824f7b3996e1 (patch) | |
tree | c5010ec088e655a7f288dd467d7ff91474e7f1c2 /gdb | |
parent | 705989f19adf20dd70c50237ec61cd708f2b0939 (diff) | |
download | fsf-binutils-gdb-02baa133856849a03aabb10c5fcb824f7b3996e1.zip fsf-binutils-gdb-02baa133856849a03aabb10c5fcb824f7b3996e1.tar.gz fsf-binutils-gdb-02baa133856849a03aabb10c5fcb824f7b3996e1.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/array-slices.exp | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 49623b5..defaeb2 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/gdb.fortran/array-slices.exp b/gdb/testsuite/gdb.fortran/array-slices.exp index 45753d9..f9671ec 100644 --- a/gdb/testsuite/gdb.fortran/array-slices.exp +++ b/gdb/testsuite/gdb.fortran/array-slices.exp @@ -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 |