mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-01 13:26:47 +08:00
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.
This commit is contained in:
parent
e3e48d8fdb
commit
79d041578d
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user