[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tests: check for presence of cscope with redirected input. (was: autobui
tests: check for presence of cscope with redirected input. (was: autobuild logs)
Fri, 21 Jan 2011 21:08:04 +0100
* 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
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
@@ -161,6 +161,11 @@ do
echo "$me: running $CC -?"
$CC -? || exit 77
+ # Sun cscope is interactive without redirection.
+ echo "$me: running cscope --version </dev/null"
+ cscope --version </dev/null || exit 77
# Exuberant Ctags will create a TAGS file even
# when asked for --help or --version. (Emacs's etags
- autobuild logs, Ralf Wildenhues, 2011/01/15
- Re: autobuild logs, Ralf Wildenhues, 2011/01/18
- tests: check for presence of cscope with redirected input. (was: autobuild logs),
Ralf Wildenhues <=