X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gen-testsuite-part;h=3bd5c9f015824145bbbfabb6cd754597531e13c8;hb=99c96908f8682106575fab48ce6780f73a100026;hp=59fbf05a5a113c7d26cf1b37ba0246020d08f3eb;hpb=fe1625a4b00b402d6333be0d7999a41ed4983204;p=platform%2Fupstream%2Fautomake.git diff --git a/gen-testsuite-part b/gen-testsuite-part index 59fbf05..3bd5c9f 100755 --- a/gen-testsuite-part +++ b/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-2012 Free Software Foundation, Inc. +# Copyright (C) 2011-2013 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 @@ -154,6 +154,11 @@ my %deps_extractor = line_matcher => qr/^\s*required=.*\bgettext/, nodist_prereqs => "$testdir/gettext-macros.log", }, + pkgconfig_macros => + { + line_matcher => qr/^\s*required=.*\bpkg-config/, + nodist_prereqs => "$testdir/pkg-config-macros.log", + }, use_trivial_test_driver => { line_matcher => qr/\btrivial-test-driver\b/, @@ -308,7 +313,7 @@ while (my ($wrapped_test, $setup_list) = each %wrapper_setups) atomic_write $wrapper_test, sub { write_wrapper_script $_[0], $wrapped_test, $setup }, - 0555; + 0444; # The generated test works by sourcing the original test, so that # it has to be re-run every time that changes ... print "$wbase.log: $wrapped_test\n"; @@ -337,7 +342,7 @@ my %depmodes = ( auto => ["cc"], disabled => ["cc"], - makedepend => ["cc", "makedepend"], + makedepend => ["cc", "makedepend", "-c-o"], dashmstdout => ["gcc"], cpp => ["gcc"], # This was for older (pre-3.x) GCC versions (newer versions @@ -386,7 +391,7 @@ foreach my $lt (TRUE, FALSE) exit \$? EOF }, - 0555); + 0444); } }