From: Stefano Lattarini Date: Wed, 8 Feb 2012 13:29:01 +0000 (+0100) Subject: depcomp tests: avoid spurious failures with 'dashXmstdout' depmode X-Git-Tag: ng-0.5a~11^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0eccd77f93de84c56f5045f8cc5a4fa74c55afe9;p=thirdparty%2Fautomake.git depcomp tests: avoid spurious failures with 'dashXmstdout' depmode * tests/gen-testsuite-part: The 'dashXmstdout' depmode cannot be truly forced on gcc (like we were trying to do, causing spurious failures in the process); so don't do that. This change shouldn't actually reduce coverage anyway, since, as the comments in 'lib/depcomp' say, the 'dashXmstdout' depmode is just like the 'dashmstdout' one, only with a different argument for the compiler. --- diff --git a/tests/gen-testsuite-part b/tests/gen-testsuite-part index ad0065782..195d6f59a 100755 --- a/tests/gen-testsuite-part +++ b/tests/gen-testsuite-part @@ -3,7 +3,7 @@ # of the Automake testsuite. Also, automatically generate some more # tests from them (for particular cases/setups only). -# Copyright (C) 2011 Free Software Foundation, Inc. +# Copyright (C) 2011, 2012 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -327,7 +327,6 @@ my %depmodes = disabled => ["cc"], makedepend => ["cc", "makedepend"], dashmstdout => ["gcc"], - dashXmstdout => ["gcc"], cpp => ["gcc"], # This is for older (pre-3.x) GCC versions. Newer versions # have depmode "gcc3".