diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2015-01-07 11:35:48 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2015-01-07 17:53:22 +0100 |
commit | 99948e986a210d1e63daa41ca1861620818e4955 (patch) | |
tree | e7e4a57b82ed73036103b4d044dbe93398ec3bd2 | |
parent | d38e1ac7130f404da8e81c9ad90802803cea9038 (diff) | |
download | automake-99948e986a210d1e63daa41ca1861620818e4955.tar.gz |
[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 <stefano.lattarini@gmail.com>
-rw-r--r-- | t/vala-mix2.sh | 4 |
1 files 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 |