From 8bf5cacff594974000979c5b70e33ebbcfcde29a Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 26 Mar 2012 14:44:05 +0200 Subject: [PATCH] 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 --- tests/vala-mix.test | 2 +- tests/vala-mix2.test | 2 +- tests/vala-vpath.test | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.2