vala tests: fix spurious failures with older valac (<= 0.7.2)
commit8bf5cacff594974000979c5b70e33ebbcfcde29a
authorBruno Haible <bruno@clisp.org>
Mon, 26 Mar 2012 12:44:05 +0000 (26 14:44 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 26 Mar 2012 12:49:27 +0000 (26 14:49 +0200)
tree00507f6b04dc5b44cf8ac16e4f8c4db5a83f57c0
parentd6f2cc911bad4d1d4457aee63f7c8c6d0b754a36
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 <stefano.lattarini@gmail.com>
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
tests/vala-mix.test
tests/vala-mix2.test
tests/vala-vpath.test