diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-03-08 18:03:13 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-03-12 12:18:33 +0000 |
commit | 79d041578d97707a729ee468f3bd561c484899db (patch) | |
tree | 2fe113dffffad34d3f429a1f25e263dfeefef5b7 | |
parent | e3e48d8fdb4f9874b0a297530e29c151ed991021 (diff) | |
download | gdb-79d041578d97707a729ee468f3bd561c484899db.zip gdb-79d041578d97707a729ee468f3bd561c484899db.tar.gz gdb-79d041578d97707a729ee468f3bd561c484899db.tar.bz2 |
gdb/testsuite: make test names unique in gdb.python/py-symtab.exp
Extend the names of some tests to make them unique.
gdb/testsuite/ChangeLog:
* gdb.python/py-symtab.exp: Extend test names to make them
unique.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-symtab.exp | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6e74c5b..60a09d8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com> + * gdb.python/py-symtab.exp: Extend test names to make them + unique. + +2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com> + * gdb.python/py-prompt.exp: Add with_test_prefix to make test names unique. diff --git a/gdb/testsuite/gdb.python/py-symtab.exp b/gdb/testsuite/gdb.python/py-symtab.exp index 0256963..3236b63 100644 --- a/gdb/testsuite/gdb.python/py-symtab.exp +++ b/gdb/testsuite/gdb.python/py-symtab.exp @@ -95,8 +95,10 @@ gdb_test_multiple "python print (\"simple_struct\" in static_symbols)" \ # Test is_valid when the objfile is unloaded. This must be the last # test as it unloads the object file in GDB. gdb_unload -gdb_test "python print (sal.is_valid())" "False" "test sal.is_valid" -gdb_test "python print (symtab.is_valid())" "False" "test symtab.is_valid()" +gdb_test "python print (sal.is_valid())" "False" \ + "test sal.is_valid after unload" +gdb_test "python print (symtab.is_valid())" "False" \ + "test symtab.is_valid() after unload" gdb_test_no_output "python sal = None" "test sal destructor" gdb_test_no_output "python symtab = None" "test symtab destructor" |