automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tests: check for presence of cscope with redirected input. (was: autobui


From: Ralf Wildenhues
Subject: tests: check for presence of cscope with redirected input. (was: autobuild logs)
Date: Fri, 21 Jan 2011 21:08:04 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

* Ralf Wildenhues wrote on Tue, Jan 18, 2011 at 09:09:28PM CET:
> Haven't looked in any detail yet, but while some things are better, the
> number of failures is still very high.  There's even a couple of runs
> that hang in cscope3.test and tar2.test.  :-(

The first one is fixed by the patch below.

This would be for the dr-cscope branch, but merging from it would be a
pain due to all the other changes since.  Instead, I'm putting this on
master.

Cheers,
Ralf

    tests: check for presence of cscope with redirected input.
    
    * tests/defs: Add required test for cscope.
    Fixes cscope3.test hang with Sun C 5.9 cscope.

diff --git a/tests/defs b/tests/defs
index 3113869..d89b341 100644
--- a/tests/defs
+++ b/tests/defs
@@ -161,6 +161,11 @@ do
       echo "$me: running $CC -?"
       $CC -? || exit 77
       ;;
+    cscope)
+      # Sun cscope is interactive without redirection.
+      echo "$me: running cscope --version </dev/null"
+      cscope --version </dev/null || exit 77
+      ;;
     etags)
       # Exuberant Ctags will create a TAGS file even
       # when asked for --help or --version.  (Emacs's etags



reply via email to

[Prev in Thread] Current Thread [Next in Thread]