From: Stefano Lattarini Date: Wed, 7 Jan 2015 10:02:46 +0000 (+0100) Subject: [ng] tests: avoid a spurious failure with ${CC} lacking dep-tracking support X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d38e1ac7130f404da8e81c9ad90802803cea9038;p=thirdparty%2Fautomake.git [ng] tests: avoid a spurious failure with ${CC} lacking dep-tracking support * t/subobj-indir-pr13928.sh: Here: do not expect .Po files to be created in the .deps directories if the compiler is found not to support generation of dependency tracking information. Signed-off-by: Stefano Lattarini --- diff --git a/t/subobj-indir-pr13928.sh b/t/subobj-indir-pr13928.sh index 9a7116d35..7626996f8 100644 --- a/t/subobj-indir-pr13928.sh +++ b/t/subobj-indir-pr13928.sh @@ -44,8 +44,15 @@ $AUTOMAKE -a ./configure $MAKE -test -f s/.deps/foo.Po + +test -d s/.deps +if ! grep '^am_cv_CC_dependencies_compiler_type=none$' config.log; then + # This file is not created if the compiler does not support generation + # of dependency tracking information. + test -f s/.deps/foo.Po +fi find . | $FGREP '$(src)' && exit 1 + $MAKE distcheck :