From 90556b8c94aa9d89ee235b4b2a83aec9ec1dcde3 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Sun, 24 Apr 2011 09:04:38 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.python/py-value.exp (test_objfiles): Name the first test `py-value in file.filename'. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.python/py-value.exp | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index bd50de672e8..d6e4453f38e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-04-24 Jan Kratochvil + + * gdb.python/py-value.exp (test_objfiles): Name the first test + `py-value in file.filename'. + 2011-04-24 Jan Kratochvil * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p. diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp index e012d530a08..faeb64361e2 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" "\\\[\\\]" -- 2.30.2