OSDN Git Service

Automate testsuite dependency generation.
authorKeith Marshall <keithmarshall@users.sourceforge.net>
Wed, 12 Jul 2017 17:54:11 +0000 (18:54 +0100)
committerKeith Marshall <keithmarshall@users.sourceforge.net>
Wed, 12 Jul 2017 17:54:11 +0000 (18:54 +0100)
mingwrt/ChangeLog
mingwrt/tests/Makefile.in
w32api/ChangeLog
w32api/tests/Makefile.in

index 6b604b3..1c49af2 100644 (file)
@@ -1,3 +1,12 @@
+2017-07-12  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Automate testsuite dependency generation.
+
+       * tests/Makefile.in (testsuite) [$srcdir/*.at]: Automatically
+       enumerate all such wildcard matches as prerequisites, instead of...
+       (headers.at, ansiprintf.at, logarithms.at, powerfunc.at): ...these,
+       which were previously enumerated explicitly.
+
 2017-06-05  Keith Marshall  <keithmarshall@users.sourceforge.net>
 
        Automatically correct obsolete _XOPEN_SOURCE usage.
index 1a57f37..2bdf904 100644 (file)
@@ -5,7 +5,7 @@
 # $Id$
 #
 # Written by Keith Marshall <keithmarshall@users.sourceforge.net>
-# Copyright (C) 2016, MinGW.org Project
+# Copyright (C) 2016, 2017, MinGW.org Project
 #
 #
 # Permission is hereby granted, free of charge, to any person obtaining a
@@ -102,7 +102,7 @@ autotest_missing = $(call missing,autom4te,Unable to compile the testsuite)
 testsuite: %: %.at
        $(AUTOTEST_COMPILE) -o $* $<
 
-testsuite: headers.at ansiprintf.at logarithms.at powerfunc.at
+testsuite: $(notdir $(wildcard ${srcdir}/*.at))
 
 # Display a diagnostic message, explaining that any specified program
 # is required, but has not been installed.
index 813be72..bb49dd9 100644 (file)
@@ -1,3 +1,11 @@
+2017-07-12  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Automate testsuite dependency generation.
+
+       * tests/Makefile.in (testsuite) [$srcdir/*.at]: Automatically
+       enumerate all such wildcard matches as prerequisites, instead of...
+       (headers.at): ...this sole explicit dependency.
+
 2017-06-20  Keith Marshall  <keithmarshall@users.sourceforge.net>
 
        Make <winnt.h> header effectively self-contained.
index 39da276..347ec78 100644 (file)
@@ -103,7 +103,7 @@ autotest_missing = $(call missing,autom4te,Unable to compile the testsuite)
 testsuite: %: %.at
        $(AUTOTEST_COMPILE) -o $* $<
 
-testsuite: headers.at
+testsuite: $(notdir $(wildcard ${srcdir}/*.at))
 
 # Display a diagnostic message, explaining that any specified program
 # is required, but has not been installed.