This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
[python] fix test suite
- From: Tom Tromey <tromey at redhat dot com>
- To: Project Archer <archer at sourceware dot org>
- Date: Mon, 17 Nov 2008 07:22:00 -0700
- Subject: [python] fix test suite
- Reply-to: Tom Tromey <tromey at redhat dot com>
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\""