summaryrefslogtreecommitdiff
path: root/tests/run_make_tests.pl
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2010-08-14 02:50:14 +0000
committerPaul Smith <psmith@gnu.org>2010-08-14 02:50:14 +0000
commit5acda13ace0ae4443ed04c4f8a62512b00a2b656 (patch)
treee12848b880e685ed54e2f86856c3d153517c6a5f /tests/run_make_tests.pl
parent036760a9fdb11849b6a43feec7ce294e7f77db2a (diff)
downloadgunmake-5acda13ace0ae4443ed04c4f8a62512b00a2b656.tar.gz
- Fix the NEWS file to be accurate
- Add oneshell to $(.FEATURES) (forgot that!) - Fix Savannah bug #30612: handling of archive references with >1 object
Diffstat (limited to 'tests/run_make_tests.pl')
-rwxr-xr-xtests/run_make_tests.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run_make_tests.pl b/tests/run_make_tests.pl
index 2c8c08b..7291c55 100755
--- a/tests/run_make_tests.pl
+++ b/tests/run_make_tests.pl
@@ -29,6 +29,7 @@
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <http://www.gnu.org/licenses/>.
+%FEATURES = ();
$valgrind = 0; # invoke make with valgrind
$valgrind_args = '';
@@ -367,6 +368,8 @@ sub set_more_defaults
$parallel_jobs = 1;
}
+ %FEATURES = map { $_ => 1 } split /\s+/, `sh -c "echo '\\\$(info \\\$(.FEATURES))' | $make_path -f- 2>/dev/null"`;
+
# Set up for valgrind, if requested.
if ($valgrind) {