diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-05-11 20:10:35 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-05-11 20:10:35 -0400 |
commit | ebf470809eba7c34713a2ea95e73e794582bcbd4 (patch) | |
tree | a13780c8fcc99dfb8e01ff974321dc553de90bdd | |
parent | a1becf61f74c790d9c1134573bb9f2fa56b175b3 (diff) | |
download | gdb-ebf470809eba7c34713a2ea95e73e794582bcbd4.zip gdb-ebf470809eba7c34713a2ea95e73e794582bcbd4.tar.gz gdb-ebf470809eba7c34713a2ea95e73e794582bcbd4.tar.bz2 |
gdb: change duplicate test name in gdb.base/jit-so.exp
When running gdb.base/jit-so.exp, we see duplicate test names:
$ grep PASS testsuite/gdb.sum | sort | uniq -c | sort -n
...
2 PASS: gdb.base/jit-so.exp: one_jit_test-1: info function jit_function
2 PASS: gdb.base/jit-so.exp: one_jit_test-2: info function jit_function
Give an explicit name to one test to avoid this.
gdb/testsuite/ChangeLog:
* gdb.base/jit-so.exp (one_jit_test): Change test name.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/jit-elf-so.exp | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 29b6636b..2817ebd 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-05-11 Simon Marchi <simon.marchi@polymtl.ca> + + * gdb.base/jit-so.exp (one_jit_test): Change test name. + 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com> * lib/check-test-names.exp (all_test_names): New module variable. diff --git a/gdb/testsuite/gdb.base/jit-elf-so.exp b/gdb/testsuite/gdb.base/jit-elf-so.exp index 526414f..0f05221 100644 --- a/gdb/testsuite/gdb.base/jit-elf-so.exp +++ b/gdb/testsuite/gdb.base/jit-elf-so.exp @@ -110,7 +110,8 @@ proc one_jit_test {count match_str} { gdb_continue_to_breakpoint "break here 2" # All jit librares must have been unregistered gdb_test "info function jit_function" \ - "All functions matching regular expression \"jit_function\":" + "All functions matching regular expression \"jit_function\":" \ + "info function jit_function after unregistration" } } |