* 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