diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-07-07 14:08:21 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-07-07 14:08:21 +0000 |
commit | 97d146f8056dcb9528fb707a93152e35dad0d8ae (patch) | |
tree | abc470f7e8affdf971de2e7c41f6938513d34b5a /gdb/testsuite | |
parent | 26afc0d7031bc2041ea17a4c25b04454b4e4feab (diff) | |
download | gdb-97d146f8056dcb9528fb707a93152e35dad0d8ae.zip gdb-97d146f8056dcb9528fb707a93152e35dad0d8ae.tar.gz gdb-97d146f8056dcb9528fb707a93152e35dad0d8ae.tar.bz2 |
gdb/testsuite/
* gdb.java/jprint.exp (print a java.lang.String): xfail without system
debug info.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.java/jprint.exp | 11 |
2 files changed, 15 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 276f60b..1f43ffe 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com> + + * gdb.java/jprint.exp (print a java.lang.String): xfail without system + debug info. + 2011-07-06 Matt Rice <ratmice@gmail.com> * gdb.python/python.exp: Update filename paths. diff --git a/gdb/testsuite/gdb.java/jprint.exp b/gdb/testsuite/gdb.java/jprint.exp index 81d8ad1..f6ae7ab 100644 --- a/gdb/testsuite/gdb.java/jprint.exp +++ b/gdb/testsuite/gdb.java/jprint.exp @@ -71,5 +71,14 @@ if [set_lang_java] then { setup_xfail *-*-* gcc/43260 gdb_test "print *jprint.props" " = .*" "print a java.util.Properties" - gdb_test "print jprint.hi" "= java.lang.String \"hi maude\"" "print a java.lang.String" + set test "print a java.lang.String" + gdb_test_multiple "print jprint.hi" $test { + -re " = java.lang.String \"hi maude\"\r\n$gdb_prompt $" { + pass $test + } + -re "There is no member named data\\.\r\n$gdb_prompt $" { + # GCJ system debug info for java.lang.String is not installed. + xfail $test + } + } } |