This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix compile.exp error message expectation
- From: Jan Kratochvil <jkratoch at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 25 Oct 2015 11:18:02 -0000
- Subject: [binutils-gdb] Fix compile.exp error message expectation
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=27dc26ab3938c31a14c356f384acca93128e1691
commit 27dc26ab3938c31a14c356f384acca93128e1691
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Oct 25 12:16:10 2015 +0100
Fix compile.exp error message expectation
commit cdaec3f3e7ea9118204f0e579bd3257234fbae63
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Thu Aug 27 02:00:16 2015 -0300
Mention language in compile error message
regressed:
-PASS: gdb.compile/compile.exp: compile code globalvar
+FAIL: gdb.compile/compile.exp: compile code globalvar
Update the expected message.
gdb/testsuite/ChangeLog
2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.compile/compile.exp (compile code globalvar): Update expectation
for a change by "Mention language in compile error message".
Diff:
---
gdb/testsuite/ChangeLog | 5 +++++
gdb/testsuite/gdb.compile/compile.exp | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1313aa2..9369618 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.compile/compile.exp (compile code globalvar): Update expectation
+ for a change by "Mention language in compile error message".
+
2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
PR python/18073
diff --git a/gdb/testsuite/gdb.compile/compile.exp b/gdb/testsuite/gdb.compile/compile.exp
index a416e9e..41c4ac9 100644
--- a/gdb/testsuite/gdb.compile/compile.exp
+++ b/gdb/testsuite/gdb.compile/compile.exp
@@ -324,7 +324,7 @@ gdb_test "compile code -z" "Unknown argument.*"
gdb_test "set lang java" \
"Warning: the current language does not match this frame."
-gdb_test "compile code globalvar" "No compiler support for this language\."
+gdb_test "compile code globalvar" "No compiler support for language java\\."
gdb_test_no_output "set lang auto"
gdb_test_no_output "compile code union union_type newdecl_u"