[Top][All Lists]

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

Re: cscope.test and instspc.test failure

From: Ralf Wildenhues
Subject: Re: cscope.test and instspc.test failure
Date: Mon, 1 Mar 2010 20:48:01 +0100
User-agent: Mutt/1.5.20 (2009-10-28)

Hi Peter,

* Peter Johansson wrote on Mon, Mar 01, 2010 at 02:12:01AM CET:
> I experience failure on cscope.test and instspc.test in the latest
> git version of automake. I attached the test-suite.log (gzipped).
> AFAICS, it seems cscope fails because I have fortran compiler. If
> that's the case I suppose the test should be skipped. Unfortunately,
> I don't know how to accomplish that; the tests have the variable
> `required' but I'm not sure how to use that here because the
> compiler could come in so many different shapes. Perhaps a configure
> test would be more suitable here? Regarding `instspc.test' I don't
> understand the output.

Yeah, instspc.test is the ugliest test in the testsuite.  I'm fairly
certain this is the same as this one:

cscope.test should be fixed by the patch below, added you to THANKS and
committed to master.

Thanks for the report,

    Fix cscope test on systems without working Fortran compiler.
    * tests/cscope.test: Skip remainder of test if `$MAKE all' fails.
    * THANKS: Update.
    Report by Peter Johansson.

diff --git a/tests/cscope.test b/tests/cscope.test
index 716cc38..e4a84a3 100755
--- a/tests/cscope.test
+++ b/tests/cscope.test
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2009  Free Software Foundation, Inc.
+# Copyright (C) 2009, 2010  Free Software Foundation, Inc.
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -99,6 +99,7 @@ test ! -f cscope.po.out
 $MAKE cscope 2>stderr
 cat stderr >&2
 grep 'cannot find file' stderr && Exit 1
+$MAKE || Exit 77
 $MAKE distclean
 cd ..

reply via email to

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