bug-automake
[Top][All Lists]
Advanced

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

Re: automake 1.11 self test failure: vala5


From: Ralf Wildenhues
Subject: Re: automake 1.11 self test failure: vala5
Date: Mon, 18 May 2009 23:07:38 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Ralf Wildenhues wrote on Mon, May 18, 2009 at 04:08:09AM CEST:
> * Simon Josefsson wrote on Sun, May 17, 2009 at 09:47:50PM CEST:
> > Hi!  I installed automake 1.11 without any problems except that one
> > self-test failed, see snippet from tests/test-suite.log below.  Is a
> > pkg.m4 missing?
> 
> Yes.  Rather, the testsuite test is not checking sufficiently hard for
> having not only pkg-config available; aclocal also needs to be able to
> find its installed pkg.m4 file.  This failure is harmless, as long as
> you don't plan to use Vala sources with Automake.

I'm pushing this, to let the test skip in this case.

Cheers, and thanks again,
Ralf

    Fix test failure when pkg.m4 is not found, only pkg-config.
    
    * tests/vala5.test: Update comment, this test is not expected to
    fail any more.  Require valac version 0.7.0.  Skip if configure
    fails, could be due to unexpanded PKG_CHECK_MODULES or too old
    valac.
    Report by Simon Josefsson.

diff --git a/tests/vala5.test b/tests/vala5.test
index 172a50f..8fc703c 100755
--- a/tests/vala5.test
+++ b/tests/vala5.test
@@ -19,7 +19,7 @@
 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 # Boston, MA 02110-1301, USA.
 
-# Test per-target flags, expected to fail.
+# Test per-target flags.
 
 required="libtool libtoolize pkg-config valac gcc GNUmake"
 . ./defs || Exit 1
@@ -32,7 +32,7 @@ cat >> 'configure.in' << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_LIBTOOL
-AM_PROG_VALAC
+AM_PROG_VALAC([0.7.0])
 PKG_CHECK_MODULES([GOBJECT],[gobject-2.0 >= 2.10])
 AC_CONFIG_FILES([src/Makefile])
 AC_OUTPUT
@@ -69,6 +69,6 @@ $ACLOCAL
 $AUTOCONF
 $AUTOMAKE -a
 
-./configure
+./configure || Exit 77
 $MAKE
 




reply via email to

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