Implement SysV-style $$@ support. I looked at E.Parmelan's patch but
[make/kirr.git] / tests / ChangeLog
blob3a13e9ed93e48247d9c08b12a2b087847b6b619e
1 2002-07-10  Paul D. Smith  <psmith@gnu.org>
3         * scripts/variables/automatic: Add some tests for $$@, $$(@D), and
4         $$(@F).
6 2002-07-09  Paul D. Smith  <psmith@gnu.org>
8         * scripts/variables/automatic: Create a test for automatic variables.
10 2002-07-08  Paul D. Smith  <psmith@gnu.org>
12         * scripts/features/order_only: Test new order-only prerequisites.
14 2002-07-07  Paul D. Smith  <psmith@gnu.org>
16         * scripts/functions/eval: Test new function.
17         * scripts/functions/value: Test new function.
18         * scripts/variables/MAKEFILE_LIST: Test new variable.
20 2002-04-28  Paul D. Smith  <psmith@gnu.org>
22         * scripts/functions/call: New test: transitive closure
23         implementation using $(call ...) to test variable recursion.
25 2002-04-21  Paul D. Smith  <psmith@gnu.org>
27         * test_driver.pl (compare_dir_tree): Ignore CVS and RCS
28         directories in the script directories.
30 2001-05-02  Paul D. Smith  <psmith@gnu.org>
32         * scripts/variables/flavors: Test define/endef scripts where only
33         one of the command lines is quiet.
35 2000-06-22  Paul D. Smith  <psmith@gnu.org>
37         * scripts/options/dash-q: New file; test the -q option.  Includes
38         a test for PR/1780.
40 2000-06-21  Paul D. Smith  <psmith@gnu.org>
42         * scripts/features/targetvars: Added a test for PR/1709: allowing
43         semicolons in target-specific variable values.
45 2000-06-19  Paul D. Smith  <psmith@gnu.org>
47         * scripts/functions/addsuffix: Test for an empty final argument.
48         Actually this bug might have happened for any function, but this
49         one was handy.
51 2000-06-17  Eli Zaretskii  <eliz@is.elta.co.il>
53         * scripts/options/general: If parallel jobs are not supported,
54         expect a warning message from Make.
56 2000-06-15  Eli Zaretskii  <eliz@is.elta.co.il>
58         * scripts/options/general: Don't try -jN with N != 1 if parallel
59         jobs are not supported.
61 2000-05-24  Paul D. Smith  <psmith@gnu.org>
63         * scripts/options/general: Test general option processing (PR/1716).
65 2000-04-11  Paul D. Smith  <psmith@gnu.org>
67         * scripts/functions/strip: Test empty value to strip (PR/1689).
69 2000-04-08  Eli Zaretskii  <eliz@is.elta.co.il>
71         * scripts/features/reinvoke: Sleep before updating the target
72         files in the first test, to ensure its time stamp really gets
73         newer; otherwise Make might re-exec more than once.
75 2000-04-07  Eli Zaretskii  <eliz@is.elta.co.il>
77         * scripts/features/double_colon: Don't run the parallel tests if
78         parallel jobs aren't supported.
80 2000-04-04  Paul D. Smith  <psmith@gnu.org>
82         * scripts/functions/word: wordlist doesn't swap arguments anymore.
84 2000-03-27  Paul D. Smith  <psmith@gnu.org>
86         * scripts/features/statipattrules: Test that static pattern rules
87         whose prerequisite patterns resolve to empty strings throw an
88         error (instead of dumping core).  Fixes PR/1670.
90         * scripts/features/reinvoke: Make more robust by touching "b"
91         first, to ensure it's not newer than "a".
92         Reported by Marco Franzen <Marco.Franzen@Thyron.com>.
93         * scripts/options/dash-n: Ditto.
95         * scripts/functions/call: Whoops.  The fix to PR/1527 caused
96         recursive invocations of $(call ...) to break.  I can't come up
97         with any way to get both working at the same time, so I backed out
98         the fix to 1527 and added a test case for recursive calls.  This
99         also tests the fix for PR/1610.
101         * scripts/features/double_colon: Test that circular dependencies
102         in double-colon rule sets are detected correctly (PR/1671).
104 2000-03-26  Paul D. Smith  <psmith@gnu.org>
106         * scripts/targets/INTERMEDIATE: Test that make doesn't remove
107         .INTERMEDIATE files when given on the command line (PR/1669).
109 2000-03-08  Paul D. Smith  <psmith@gnu.org>
111         * scripts/options/dash-k: Add a test for error detection by
112         multiple targets depending on the same prerequisite with -k.
113         For PR/1634.
115 2000-02-07  Paul D. Smith  <psmith@gnu.org>
117         * scripts/features/escape: Add a test for backslash-escaped spaces
118         in a target name (PR/1586).
120 2000-02-04  Paul D. Smith  <psmith@gnu.org>
122         * scripts/features/patspecific_vars: Add a test for pattern-specific
123         target variables inherited from the parent target (PR/1407).
125 2000-02-02  Paul D. Smith  <psmith@gnu.org>
127         * run_make_tests.pl (set_more_defaults): Hard-code the LANG to C
128         to make sure sorting order, etc. is predictable.
129         Reported by Andreas Jaeger <aj@suse.de>.
131         * run_make_tests.pl (set_more_defaults): Set the $wtime variable
132         depending on the OS.  Eli Zaretskii <eliz@is.elta.co.il> reports
133         this seems to need to be *4* on DOS/Windows, not just 2.  Keep it
134         1 for other systems.
135         * scripts/features/vpathplus (touchfiles): Use the $wtime value
136         instead of hardcoding 2.
137         * scripts/targets/SECONDARY: Ditto.
138         * scripts/targets/INTERMEDIATE: Ditto.
140 2000-01-27  Paul D. Smith  <psmith@gnu.org>
142         * test_driver.pl (toplevel): Don't try to run test scripts which
143         are really directories.
145 2000-01-23  Paul D. Smith  <psmith@gnu.org>
147         * scripts/features/include: Remove a check; the fix caused more
148         problems than the error, so I removed it and removed the test for
149         it.
151 2000-01-11  Paul D. Smith  <psmith@gnu.org>
153         * scripts/functions/call: Add a test for PR/1517 and PR/1527: make
154         sure $(call ...) doesn't eval its arguments and that you can
155         invoke foreach from it without looping forever.
157 1999-12-15  Paul D. Smith  <psmith@gnu.org>
159         * scripts/targets/INTERMEDIATE: Add a test for PR/1423: make sure
160         .INTERMEDIATE settings on files don't disable them as implicit
161         intermediate possibilities.
163 1999-12-01  Paul D. Smith  <psmith@gnu.org>
165         * scripts/features/double_colon: Add a test for PR/1476: Try
166         double-colon rules as non-goal targets and during parallel builds
167         to make sure they're handled serially.
169 1999-11-17  Paul D. Smith  <psmith@gnu.org>
171         * scripts/functions/if: Add a test for PR/1429: put some text
172         after an if-statement to make sure it works.
174         * scripts/features/targetvars: Add a test for PR/1380: handling +=
175         in target-specific variable definitions correctly.
177 1999-10-15  Paul D. Smith  <psmith@gnu.org>
179         * scripts/variables/MAKEFILES: This was really broken: it didn't
180         test anything at all, really.  Rewrote it, plus added a test for
181         PR/1394.
183 1999-10-13  Paul D. Smith  <psmith@gnu.org>
185         * scripts/options/dash-n: Add a test for PR/1379: "-n doesn't
186         behave properly when used with recursive targets".
188 1999-10-08  Paul D. Smith  <psmith@gnu.org>
190         * scripts/features/targetvars: Add a check for PR/1378:
191         "Target-specific vars don't inherit correctly"
193 1999-09-29  Paul D. Smith  <psmith@gnu.org>
195         * test_driver.pl (get_osname): Change $fancy_file_names to
196         $short_filenames and reverse the logic.
197         (run_each_test): Change test of non-existent $port_host to use
198         $short_filenames--problem reported by Eli Zaretskii.
200 1999-09-23  Paul D. Smith  <psmith@gnu.org>
202         * scripts/features/parallelism: Add a check to ensure that the
203         jobserver works when we re-invoke.  Also cleaned up the tests a
204         little, reducing the number of rules we use so the test won't need
205         as many "sleep" commands.
207 1999-09-16  Paul D. Smith  <psmith@gnu.org>
209         * scripts/features/reinvoke: Remove invocations of "touch" in
210         makefiles.  See the comments on the touch function rewrite below.
211         Note that UNIX touch behaves the same way if the file already
212         exists: it sets the time to the _local_ time.  We don't want
213         this.  This is probably a good tip for makefile writers in
214         general, actually... where practical.
215         * scripts/options/dash-l: Ditto.
216         * scripts/options/dash-n: Ditto.
218         * test_driver.pl (run_each_test): In retrospect, I don't like the
219         .lN/.bN/.dN postfix required by DOS.  So, for non-DOS systems I
220         changed it back to use .log, .base, and .diff.
222         * run_make_tests.pl (set_more_defaults): Move the check for the
223         make pathname to here from set_defaults (that's too early since it
224         happens before the command line processing).
225         Create a new variable $port_type, calculated from $osname, to
226         specify what kind of system we're running on.  We should integrate
227         the VOS stuff here, too.
228         (valid_option): Comment out the workdir/-work stuff so people
229         won't be fooled into thinking it works... someone needs to fix
230         this, though!
232         * scripts/functions/origin: Use $port_type instead of $osname.
233         * scripts/functions/foreach: Ditto.
234         * scripts/features/default_names: Ditto.
236 1999-09-15  Paul D. Smith  <psmith@gnu.org>
238         * test_driver.pl (touch): Rewrite this function.  Previously it
239         used to use utime() to hard-set the time based on the current
240         local clock, or, if the file didn't exist, it merely created it.
241         This mirrors exactly what real UNIX touch does, but it fails badly
242         on networked filesystems where the FS server clock is skewed from
243         the local clock: normally modifying a file causes it to get a mod
244         time based on the _server's_ clock.  Hard-setting it based on the
245         _local_ clock causes gratuitous errors and makes the tests
246         unreliable except on local filesystems.  The new function will
247         simply modify the file, allowing the filesystem to set the mod
248         time as it sees fit.
250         * scripts/features/parallelism: The second test output could
251         change depending on how fast some scripts completed; use "sleep"
252         to force the order we want.
254         * test_driver.pl (toplevel): A bug in Perl 5.000 to Perl 5.004
255         means that "%ENV = ();" doesn't do the right thing.  This worked
256         in Perl 4 and was fixed in Perl 5.004_01, but use a loop to delete
257         the environment rather than require specific versions.
259         * run_make_tests.pl (set_more_defaults): Don't use Perl 5 s///
260         modifier "s", so the tests will run with Perl 4.
261         (set_more_defaults): Set $pure_log to empty if there's no -logfile
262         option in PURIFYOPTIONS.
263         (setup_for_test): Don't remove any logs unless $pure_log is set.
265 1999-09-15  Eli Zaretskii  <eliz@is.elta.co.il>
267         * scripts/features/reinvoke: Put the SHELL definition in the right
268         test makefile.
270 1999-09-15  Paul D. Smith  <psmith@gnu.org>
272         ChangeLog file for the test suite created.