gdb/testsuite/

* gdb.python/py-value.exp (test_objfiles): Name the first test
	`py-value in file.filename'.
This commit is contained in:
Jan Kratochvil 2011-04-24 09:04:38 +00:00
parent 03f2bd5942
commit 90556b8c94
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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" "\\\[\\\]"