From: Bruno Haible Date: Mon, 26 Mar 2012 12:44:05 +0000 (+0200) Subject: vala tests: fix spurious failures with older valac (<= 0.7.2) X-Git-Tag: v1.11.4~3^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bf5cacff594974000979c5b70e33ebbcfcde29a;p=thirdparty%2Fautomake.git vala tests: fix spurious failures with older valac (<= 0.7.2) See automake bug#11093. The Vala compiler before the 0.7.3 release does not support the '--profile' option. But some of our tests were relying on it, so skip those tests if the detected Vala compiler is too old. * tests/vala-vpath.test, tests/vala-mix.test, tests/vala-mix2.test (configure.in): Require vala version >= 0.7.3 in AM_PROG_VALAC call. Co-authored-by: Stefano Lattarini Signed-off-by: Stefano Lattarini --- diff --git a/tests/vala-mix.test b/tests/vala-mix.test index 73a07d93b..012b36ad0 100755 --- a/tests/vala-mix.test +++ b/tests/vala-mix.test @@ -24,7 +24,7 @@ set -e cat >> configure.in <<'END' AC_PROG_CC AM_PROG_CC_C_O -AM_PROG_VALAC +AM_PROG_VALAC([0.7.3]) AC_OUTPUT END diff --git a/tests/vala-mix2.test b/tests/vala-mix2.test index 88d281888..298f88d60 100755 --- a/tests/vala-mix2.test +++ b/tests/vala-mix2.test @@ -25,7 +25,7 @@ set -e cat >> configure.in <<'END' AC_PROG_CC AC_PROG_CXX -AM_PROG_VALAC +AM_PROG_VALAC([0.7.3]) AC_OUTPUT END diff --git a/tests/vala-vpath.test b/tests/vala-vpath.test index 8f2b6774a..311eb3a06 100755 --- a/tests/vala-vpath.test +++ b/tests/vala-vpath.test @@ -25,7 +25,7 @@ set -e cat >> configure.in << 'END' AC_CONFIG_SRCDIR([hello.vala]) AC_PROG_CC -AM_PROG_VALAC([0.7]) +AM_PROG_VALAC([0.7.3]) AC_OUTPUT END