This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] gdb.base/default.exp: Add missing $_as_string to "show convenience" test


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fa4ff313317d6234bbd818b09332e7d85349a56a

commit fa4ff313317d6234bbd818b09332e7d85349a56a
Author: Simon Marchi <simon.marchi@ericsson.com>
Date:   Mon Mar 14 12:42:54 2016 -0400

    gdb.base/default.exp: Add missing $_as_string to "show convenience" test
    
    When adding the $_as_string convenience function, I missed a new test
    failure in default.exp.  The tests lists the convenience functions, so
    $_as_string should be added to the expected list.
    
    Fixes:
    
    +FAIL: gdb.base/default.exp: show convenience ($_caller_is = <internal function _caller_is> not found)
    
    gdb/testsuite/ChangeLog:
    
    	* gdb.base/default.exp: Add $_as_string to the list of expected
    	convenience functions.

Diff:
---
 gdb/testsuite/ChangeLog            | 5 +++++
 gdb/testsuite/gdb.base/default.exp | 1 +
 2 files changed, 6 insertions(+)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 625359f..eec8604 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
+
+	* gdb.base/default.exp: Add $_as_string to the list of expected
+	convenience functions.
+
 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
 
 	* gdb.base/maint.exp: New tests for 'maint info line-table'.
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp
index 10739ca..40bee20 100644
--- a/gdb/testsuite/gdb.base/default.exp
+++ b/gdb/testsuite/gdb.base/default.exp
@@ -612,6 +612,7 @@ if ![skip_python_tests] {
 	    {$_regex = <internal function _regex>} \
 	    {$_streq = <internal function _streq>} \
 	    {$_strlen = <internal function _strlen>} \
+	    {$_as_string = <internal function _as_string>} \
 	    {$_caller_is = <internal function _caller_is>} \
 	    {$_caller_matches = <internal function _caller_matches>} \
 	    {$_any_caller_is = <internal function _any_caller_is>} \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]