From 99948e986a210d1e63daa41ca1861620818e4955 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Wed, 7 Jan 2015 11:35:48 +0100 Subject: [ng] vala tests: avoid spurious failure with Sun C/C++ compilers * t/vala-mix2.sh: Here, by forcing the use of the GNU C/C++ compilers. If we don't, our dependency-tracking code forces 'make' to try to rebuild spurious binaries or object files when the Sun C compiler is in use, with reasons like: '/opt/SUNWspro/prod/include/CC/Cstd/./istream.cc' is newer \ than target '/opt/SUNWspro/prod/include/CC/Cstd/./istream' Go figure. Signed-off-by: Stefano Lattarini --- t/vala-mix2.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/vala-mix2.sh b/t/vala-mix2.sh index 0725100fe..5ad1b5d46 100644 --- a/t/vala-mix2.sh +++ b/t/vala-mix2.sh @@ -17,7 +17,7 @@ # Vala sources, C and C++ sources and C and C++ headers in the same # program. Functional test. See automake bug#10894. -required='valac cc c++ pkg-config' +required='valac gcc g++ pkg-config' . test-init.sh cat >> configure.ac <<'END' @@ -90,8 +90,8 @@ have_generated_files () have_generated_files # Remake rules are not uselessly triggered. -$MAKE -q $MAKE -n | $FGREP vala.stamp && exit 1 +$MAKE -q # But are triggered when they should. for file in zardoz.vala foo.h bar.c baz.c zen.hh master.cxx; do -- cgit v1.2.1