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]

gdb and binutils branch master updated. 0d4d0e772ac36d169d21951c46b0778ae7fa8d53


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  0d4d0e772ac36d169d21951c46b0778ae7fa8d53 (commit)
      from  29361eee1499fa208baf06df5c6aa1ef4c1b2516 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

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

commit 0d4d0e772ac36d169d21951c46b0778ae7fa8d53
Author: Yao Qi <yao@codesourcery.com>
Date:   Wed Mar 19 10:16:35 2014 +0800

    Skip tests on completion and readline when readline lib isn't used
    
    The completion feature and other features on readline depend on the
    readline library.  However, readline library is not always used, for
    example, running testsuite like
    
      make check RUNTESTFLAGS="--host_board=local-remote-host"
    
    the input stream is not a tty, and GDB doesn't use readline library
    as a result.
    
    This patch is to skip tests on completion and readline if
    'show editing' is off, which means readline isn't used.  Note that
    some tests in gdb.base/completion.exp test command complete, which
    isn't related to readline, so these tests aren't affected by readline
    library.  This patch also moves these tests up, run them
    unconditionally, and run the rest if readline library is used.
    
    gdb/testsuite:
    
    2014-03-26  Yao Qi  <yao@codesourcery.com>
    
    	* lib/gdb.exp (readline_is_used): New proc.
    	* gdb.base/completion.exp: Move tests on command complete up.
    	Skip the rest of tests if readline is not used.
    	* gdb.ada/complete.exp: Skp the test if readline is not
    	used.
    	* gdb.base/filesym.exp: Likewise.
    	* gdb.base/macscp.exp: Likewise.
    	* gdb.base/readline-ask.exp: Likewise.
    	* gdb.base/readline.exp: Likewise.
    	* gdb.python/py-cmd.exp: Likewise.
    	* gdb.trace/tfile.exp: Likewise.

-----------------------------------------------------------------------

Summary of changes:
 gdb/testsuite/ChangeLog                 |   14 ++++
 gdb/testsuite/gdb.ada/complete.exp      |   23 ++++---
 gdb/testsuite/gdb.base/completion.exp   |  121 ++++++++++++++++---------------
 gdb/testsuite/gdb.base/filesym.exp      |    6 ++
 gdb/testsuite/gdb.base/macscp.exp       |  119 ++++++++++++++++---------------
 gdb/testsuite/gdb.base/readline-ask.exp |    5 ++
 gdb/testsuite/gdb.base/readline.exp     |    5 ++
 gdb/testsuite/gdb.python/py-cmd.exp     |   18 +++--
 gdb/testsuite/gdb.trace/tfile.exp       |    8 ++-
 gdb/testsuite/lib/gdb.exp               |   15 ++++
 10 files changed, 198 insertions(+), 136 deletions(-)


hooks/post-receive
-- 
gdb and binutils


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