aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-04-24 09:04:38 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-04-24 09:04:38 +0000
commit90556b8c94aa9d89ee235b4b2a83aec9ec1dcde3 (patch)
tree86c26da05d99af7f8a9465f53fff780b9204167d /gdb/testsuite
parent03f2bd594285c4077619f9039748ac7389cffaef (diff)
downloadgdb-90556b8c94aa9d89ee235b4b2a83aec9ec1dcde3.zip
gdb-90556b8c94aa9d89ee235b4b2a83aec9ec1dcde3.tar.gz
gdb-90556b8c94aa9d89ee235b4b2a83aec9ec1dcde3.tar.bz2
gdb/testsuite/
* gdb.python/py-value.exp (test_objfiles): Name the first test `py-value in file.filename'.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.python/py-value.exp3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index bd50de6..d6e4453 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
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.
* lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
* lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp
index e012d53..faeb643 100644
--- a/gdb/testsuite/gdb.python/py-value.exp
+++ b/gdb/testsuite/gdb.python/py-value.exp
@@ -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" "\\\[\\\]"