Discussion:
[python] [commit] Remove one invalid test in py-prettyprint.exp
Phil Muldoon
2011-01-10 12:54:19 UTC
Permalink
I've removed this test. It has been removed upstream (and tests
something that is bogus anyway).

Cheers

Phil

--

commit 1df7d230da3af5bd22be49a9026fb1483b81b996
Author: Phil Muldoon <pmuldoon-H+wXaHxf7aLQT0dZR+***@public.gmane.org>
Date: Mon Jan 10 12:50:21 2011 +0000

Remove nullstr test. No longer valid (and removed upstream).

diff --git a/gdb/testsuite/gdb.python/py-prettyprint.exp b/gdb/testsuite/gdb.python/py-prettyprint.exp
index 09ac065..e4a6c38 100644
--- a/gdb/testsuite/gdb.python/py-prettyprint.exp
+++ b/gdb/testsuite/gdb.python/py-prettyprint.exp
@@ -99,8 +99,6 @@ proc run_lang_tests {lang} {

gdb_test "print c" " = container \"container\" with 2 elements = {$nl *.0. = 23,$nl *.1. = 72$nl}"

- gdb_test "print nullstr" "RuntimeError: Error reading string from inferior.*"
-
gdb_test "print nstype" " = {$nl *.0. = 7,$nl *.1. = 42$nl}"
gdb_test "continue" "Program exited normally\."

Loading...