summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-01-22 10:21:26 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-01-22 10:21:26 +0100
commitd266b5f7fb2fbb7fddb5b8515d57c32b45a50c67 (patch)
tree40317cf25e3c0d8ae620f998deff5596c6ed6a6b
parent8ddff1004c14bf94d9bcaf1c3b2a29da58e7adf7 (diff)
downloadautomake-d266b5f7fb2fbb7fddb5b8515d57c32b45a50c67.tar.gz
vala tests: add missing 'valac' requirement, and other minor fixlets
See also automake bug#10575. * tests/vala-mix.test ($required): Add 'valac'; this will avoid spurious failures on systems lacking a Vala compiler. Add some explicative comments for a couple of non-obvious make calls. Make grepping of "make -n" slightly stricter, to avoid potential false positives.
-rwxr-xr-xtests/vala-mix.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/vala-mix.test b/tests/vala-mix.test
index f597a7f87..73a07d93b 100755
--- a/tests/vala-mix.test
+++ b/tests/vala-mix.test
@@ -16,7 +16,7 @@
# Vala sources and C sources in the same program. Functional test.
-required='cc GNUmake'
+required='valac cc GNUmake'
. ./defs || Exit 1
set -e
@@ -96,8 +96,9 @@ have_generated_files ()
# C files.
have_generated_files
+# Remake rules are not uselessly triggered.
$MAKE -q
-$MAKE -n | grep stamp && Exit 1
+$MAKE -n | $FGREP vala.stamp && Exit 1
# Check the distribution.
$MAKE distcheck