gdb/testsuite/
* gdb.python/py-value.exp (test_objfiles): Name the first test `py-value in file.filename'.
This commit is contained in:
parent
03f2bd5942
commit
90556b8c94
@ -1,3 +1,8 @@
|
||||
2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* gdb.python/py-value.exp (test_objfiles): Name the first test
|
||||
`py-value in file.filename'.
|
||||
|
||||
2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
|
||||
|
@ -283,7 +283,8 @@ proc test_inferior_function_call {} {
|
||||
|
||||
# A few objfile tests.
|
||||
proc test_objfiles {} {
|
||||
gdb_test "python\nok=False\nfor file in gdb.objfiles():\n if 'py-value' in file.filename:\n ok=True\nprint ok\nend" "True"
|
||||
gdb_test "python\nok=False\nfor file in gdb.objfiles():\n if 'py-value' in file.filename:\n ok=True\nprint ok\nend" "True" \
|
||||
"py-value in file.filename"
|
||||
|
||||
gdb_test "python print gdb.objfiles()\[0\].pretty_printers" "\\\[\\\]"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user