aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.chill/callch.exp
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-03-15 21:23:14 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-03-15 21:23:14 +0000
commita59f104ed89fc57cfc877f863ffff7a9afd6d3f9 (patch)
treee736099981d8fd2703f200ecc071b3514e02d0ef /gdb/testsuite/gdb.chill/callch.exp
parentb1dda26e87e0d020b2350b8320b9c0362faf48fc (diff)
downloadgdb-a59f104ed89fc57cfc877f863ffff7a9afd6d3f9.zip
gdb-a59f104ed89fc57cfc877f863ffff7a9afd6d3f9.tar.gz
gdb-a59f104ed89fc57cfc877f863ffff7a9afd6d3f9.tar.bz2
* gdb.base/printcmds.exp (test_character_literals_accepted): Test
printing of '\'' (which is what the comment says we are testing, even though we were not), not '''. (test_integer_literals_rejected): Test that printing ''' is an error. * gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp, gdb.base/printcmds.exp, gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp, gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp: Use gdb_test not test_print_accept. * lib/gdb.exp: Remove test_print_accept.
Diffstat (limited to 'gdb/testsuite/gdb.chill/callch.exp')
-rw-r--r--gdb/testsuite/gdb.chill/callch.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.chill/callch.exp b/gdb/testsuite/gdb.chill/callch.exp
index 3f4541b..1b05713 100644
--- a/gdb/testsuite/gdb.chill/callch.exp
+++ b/gdb/testsuite/gdb.chill/callch.exp
@@ -45,10 +45,10 @@ proc do_tests {} {
gdb_test_exact "call fred()" {too few arguments in function call}
# Too many arguments are allowed
gdb_test_exact "call klaus(10, 20, 30)" {here's klaus calling.}
- test_print_accept "print a" {\[\(FALSE:TRUE\): \[\(FALSE:TRUE\): 1\]\]}\
+ gdb_test "print a" { = \[\(FALSE:TRUE\): \[\(FALSE:TRUE\): 1\]\]}\
"print a before king"
gdb_test {call king(a, otto[[10, 15], [20, 25]])} "x\\(FALSE, FALSE\\) = 10.*p\\(FALSE, FALSE\\) = -1.*x\\(FALSE, TRUE\\) = 15.*p\\(FALSE, TRUE\\) = -1.*x\\(TRUE, FALSE\\) = 20.*p\\(TRUE, FALSE\\) = -1.*x\\(TRUE, TRUE\\) = 25.*p\\(TRUE, TRUE\\) = -1.*"
- test_print_accept "print a" {\[\(FALSE:TRUE\): \[\(FALSE:TRUE\): -1\]\]}\
+ gdb_test "print a" { = \[\(FALSE:TRUE\): \[\(FALSE:TRUE\): -1\]\]}\
"print a after king"
gdb_test_exact "call ralph(b)" {x.f1 = 10, x.f2 = FALSE.}
gdb_test "call whitney(c)" "x.f1\\(FALSE, FALSE\\) = 1.*x.f1\\(FALSE, TRUE\\) = 1.*x.f1\\(TRUE, FALSE\\) = 1.*x.f1\\(TRUE, TRUE\\) = 1.*"