[python] fix test suite
Tom Tromey
tromey@redhat.com
Mon Nov 17 14:22:00 GMT 2008
My change to fix reference printing is what broke the test suite.
Fix for that appended.
Tom
2008-11-17 Tom Tromey <tromey@redhat.com>
* gdb.python/python-prettyprint.exp (run_lang_tests): Update for
reference-printing change.
diff --git a/gdb/testsuite/gdb.python/python-prettyprint.exp b/gdb/testsuite/gdb.python/python-prettyprint.exp
index 89e3878..b2ccb2b 100644
--- a/gdb/testsuite/gdb.python/python-prettyprint.exp
+++ b/gdb/testsuite/gdb.python/python-prettyprint.exp
@@ -75,7 +75,7 @@ proc run_lang_tests {lang} {
gdb_test "print cpssa\[1\]" " = {$nl *zss = 13, *$nl *s = a=<14> b=<$hex>$nl}"
gdb_test "print cpssa" " = {{$nl *zss = 11, *$nl *s = a=<12> b=<$hex>$nl *}, {$nl *zss = 13, *$nl *s = a=<14> b=<$hex>$nl *}}"
gdb_test "print sss" "= a=<15> b=< a=<8> b=<$hex>>"
- gdb_test "print ref" "= .SSS &. a=<15> b=< a=<8> b=<$hex>>"
+ gdb_test "print ref" "= a=<15> b=< a=<8> b=<$hex>>"
}
gdb_test "print x" " = $hex \"this is x\""
More information about the Archer
mailing list