vala tests: skip in a cross compiler setup
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 15 May 2013 20:05:21 +0000 (22:05 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 15 May 2013 20:06:45 +0000 (22:06 +0200)
commit4348577bc8beda1443f137e82ce088c300404916
tree127142c7866176c62bbb0cb84f5e31bda7caabfb
parent3a4c7cf9abecea754012c3ad7e13b2b01fd3ef16
vala tests: skip in a cross compiler setup

The "vala + pkg-config" doesn't interact well with cross-compilation:
<https://mail.gnome.org/archives/vala-list/2012-September/msg00094.html>

That is causing annoying failures in our testsuite when it's run in
cross-compilation mode.  It's not worth trying too be overly smart and
work around these problems; just skip the affected tests instead.

* t/ax/am-test-lib.sh (require_tool): A new requirement 'valac', telling
that the test needs to compile Vala-generated C files.  In particular,
this causes the test to be skipped when using a cross-compiler.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/ax/am-test-lib.sh