* Fix PR/1709.
[make/kirr.git] / tests / ChangeLog
blob458b0e038f679989e098254040602659b9ec8154
1 2000-06-21  Paul D. Smith  <psmith@gnu.org>
3         * scripts/features/targetvars: Added a test for PR/1709: allowing
4         semicolons in target-specific variable values.
6 2000-06-19  Paul D. Smith  <psmith@gnu.org>
8         * scripts/functions/addsuffix: Test for an empty final argument.
9         Actually this bug might have happened for any function, but this
10         one was handy.
12 2000-06-17  Eli Zaretskii  <eliz@is.elta.co.il>
14         * scripts/options/general: If parallel jobs are not supported,
15         expect a warning message from Make.
17 2000-06-15  Eli Zaretskii  <eliz@is.elta.co.il>
19         * scripts/options/general: Don't try -jN with N != 1 if parallel
20         jobs are not supported.
22 2000-05-24  Paul D. Smith  <psmith@gnu.org>
24         * scripts/options/general: Test general option processing (PR/1716).
26 2000-04-11  Paul D. Smith  <psmith@gnu.org>
28         * scripts/functions/strip: Test empty value to strip (PR/1689).
30 2000-04-08  Eli Zaretskii  <eliz@is.elta.co.il>
32         * scripts/features/reinvoke: Sleep before updating the target
33         files in the first test, to ensure its time stamp really gets
34         newer; otherwise Make might re-exec more than once.
36 2000-04-07  Eli Zaretskii  <eliz@is.elta.co.il>
38         * scripts/features/double_colon: Don't run the parallel tests if
39         parallel jobs aren't supported.
41 2000-04-04  Paul D. Smith  <psmith@gnu.org>
43         * scripts/functions/word: wordlist doesn't swap arguments anymore.
45 2000-03-27  Paul D. Smith  <psmith@gnu.org>
47         * scripts/features/statipattrules: Test that static pattern rules
48         whose prerequisite patterns resolve to empty strings throw an
49         error (instead of dumping core).  Fixes PR/1670.
51         * scripts/features/reinvoke: Make more robust by touching "b"
52         first, to ensure it's not newer than "a".
53         Reported by Marco Franzen <Marco.Franzen@Thyron.com>.
54         * scripts/options/dash-n: Ditto.
56         * scripts/functions/call: Whoops.  The fix to PR/1527 caused
57         recursive invocations of $(call ...) to break.  I can't come up
58         with any way to get both working at the same time, so I backed out
59         the fix to 1527 and added a test case for recursive calls.  This
60         also tests the fix for PR/1610.
62         * scripts/features/double_colon: Test that circular dependencies
63         in double-colon rule sets are detected correctly (PR/1671).
65 2000-03-26  Paul D. Smith  <psmith@gnu.org>
67         * scripts/targets/INTERMEDIATE: Test that make doesn't remove
68         .INTERMEDIATE files when given on the command line (PR/1669).
70 2000-03-08  Paul D. Smith  <psmith@gnu.org>
72         * scripts/options/dash-k: Add a test for error detection by
73         multiple targets depending on the same prerequisite with -k.
74         For PR/1634.
76 2000-02-07  Paul D. Smith  <psmith@gnu.org>
78         * scripts/features/escape: Add a test for backslash-escaped spaces
79         in a target name (PR/1586).
81 2000-02-04  Paul D. Smith  <psmith@gnu.org>
83         * scripts/features/patspecific_vars: Add a test for pattern-specific
84         target variables inherited from the parent target (PR/1407).
86 2000-02-02  Paul D. Smith  <psmith@gnu.org>
88         * run_make_tests.pl (set_more_defaults): Hard-code the LANG to C
89         to make sure sorting order, etc. is predictable.
90         Reported by Andreas Jaeger <aj@suse.de>.
92         * run_make_tests.pl (set_more_defaults): Set the $wtime variable
93         depending on the OS.  Eli Zaretskii <eliz@is.elta.co.il> reports
94         this seems to need to be *4* on DOS/Windows, not just 2.  Keep it
95         1 for other systems.
96         * scripts/features/vpathplus (touchfiles): Use the $wtime value
97         instead of hardcoding 2.
98         * scripts/targets/SECONDARY: Ditto.
99         * scripts/targets/INTERMEDIATE: Ditto.
101 2000-01-27  Paul D. Smith  <psmith@gnu.org>
103         * test_driver.pl (toplevel): Don't try to run test scripts which
104         are really directories.
106 2000-01-23  Paul D. Smith  <psmith@gnu.org>
108         * scripts/features/include: Remove a check; the fix caused more
109         problems than the error, so I removed it and removed the test for
110         it.
112 2000-01-11  Paul D. Smith  <psmith@gnu.org>
114         * scripts/functions/call: Add a test for PR/1517 and PR/1527: make
115         sure $(call ...) doesn't eval its arguments and that you can
116         invoke foreach from it without looping forever.
118 1999-12-15  Paul D. Smith  <psmith@gnu.org>
120         * scripts/targets/INTERMEDIATE: Add a test for PR/1423: make sure
121         .INTERMEDIATE settings on files don't disable them as implicit
122         intermediate possibilities.
124 1999-12-01  Paul D. Smith  <psmith@gnu.org>
126         * scripts/features/double_colon: Add a test for PR/1476: Try
127         double-colon rules as non-goal targets and during parallel builds
128         to make sure they're handled serially.
130 1999-11-17  Paul D. Smith  <psmith@gnu.org>
132         * scripts/functions/if: Add a test for PR/1429: put some text
133         after an if-statement to make sure it works.
135         * scripts/features/targetvars: Add a test for PR/1380: handling +=
136         in target-specific variable definitions correctly.
138 1999-10-15  Paul D. Smith  <psmith@gnu.org>
140         * scripts/variables/MAKEFILES: This was really broken: it didn't
141         test anything at all, really.  Rewrote it, plus added a test for
142         PR/1394.
144 1999-10-13  Paul D. Smith  <psmith@gnu.org>
146         * scripts/options/dash-n: Add a test for PR/1379: "-n doesn't
147         behave properly when used with recursive targets".
149 1999-10-08  Paul D. Smith  <psmith@gnu.org>
151         * scripts/features/targetvars: Add a check for PR/1378:
152         "Target-specific vars don't inherit correctly"
154 1999-09-29  Paul D. Smith  <psmith@gnu.org>
156         * test_driver.pl (get_osname): Change $fancy_file_names to
157         $short_filenames and reverse the logic.
158         (run_each_test): Change test of non-existent $port_host to use
159         $short_filenames--problem reported by Eli Zaretskii.
161 1999-09-23  Paul D. Smith  <psmith@gnu.org>
163         * scripts/features/parallelism: Add a check to ensure that the
164         jobserver works when we re-invoke.  Also cleaned up the tests a
165         little, reducing the number of rules we use so the test won't need
166         as many "sleep" commands.
168 1999-09-16  Paul D. Smith  <psmith@gnu.org>
170         * scripts/features/reinvoke: Remove invocations of "touch" in
171         makefiles.  See the comments on the touch function rewrite below.
172         Note that UNIX touch behaves the same way if the file already
173         exists: it sets the time to the _local_ time.  We don't want
174         this.  This is probably a good tip for makefile writers in
175         general, actually... where practical.
176         * scripts/options/dash-l: Ditto.
177         * scripts/options/dash-n: Ditto.
179         * test_driver.pl (run_each_test): In retrospect, I don't like the
180         .lN/.bN/.dN postfix required by DOS.  So, for non-DOS systems I
181         changed it back to use .log, .base, and .diff.
183         * run_make_tests.pl (set_more_defaults): Move the check for the
184         make pathname to here from set_defaults (that's too early since it
185         happens before the command line processing).
186         Create a new variable $port_type, calculated from $osname, to
187         specify what kind of system we're running on.  We should integrate
188         the VOS stuff here, too.
189         (valid_option): Comment out the workdir/-work stuff so people
190         won't be fooled into thinking it works... someone needs to fix
191         this, though!
193         * scripts/functions/origin: Use $port_type instead of $osname.
194         * scripts/functions/foreach: Ditto.
195         * scripts/features/default_names: Ditto.
197 1999-09-15  Paul D. Smith  <psmith@gnu.org>
199         * test_driver.pl (touch): Rewrite this function.  Previously it
200         used to use utime() to hard-set the time based on the current
201         local clock, or, if the file didn't exist, it merely created it.
202         This mirrors exactly what real UNIX touch does, but it fails badly
203         on networked filesystems where the FS server clock is skewed from
204         the local clock: normally modifying a file causes it to get a mod
205         time based on the _server's_ clock.  Hard-setting it based on the
206         _local_ clock causes gratuitous errors and makes the tests
207         unreliable except on local filesystems.  The new function will
208         simply modify the file, allowing the filesystem to set the mod
209         time as it sees fit.
211         * scripts/features/parallelism: The second test output could
212         change depending on how fast some scripts completed; use "sleep"
213         to force the order we want.
215         * test_driver.pl (toplevel): A bug in Perl 5.000 to Perl 5.004
216         means that "%ENV = ();" doesn't do the right thing.  This worked
217         in Perl 4 and was fixed in Perl 5.004_01, but use a loop to delete
218         the environment rather than require specific versions.
220         * run_make_tests.pl (set_more_defaults): Don't use Perl 5 s///
221         modifier "s", so the tests will run with Perl 4.
222         (set_more_defaults): Set $pure_log to empty if there's no -logfile
223         option in PURIFYOPTIONS.
224         (setup_for_test): Don't remove any logs unless $pure_log is set.
226 1999-09-15  Eli Zaretskii  <eliz@is.elta.co.il>
228         * scripts/features/reinvoke: Put the SHELL definition in the right
229         test makefile.
231 1999-09-15  Paul D. Smith  <psmith@gnu.org>
233         ChangeLog file for the test suite created.