* Fix backslash-escape in targets.
[make.git] / tests / ChangeLog
blob6fba7ea2948a3fd64438a9237735320b2064e81e
1 2000-02-07  Paul D. Smith  <psmith@gnu.org>
3         * scripts/features/escape: Add a test for backslash-escaped spaces
4         in a target name (PR/1586).
6 2000-02-04  Paul D. Smith  <psmith@gnu.org>
8         * scripts/features/patspecific_vars: Add a test for pattern-specific
9         target variables inherited from the parent target (PR/1407).
11 2000-02-02  Paul D. Smith  <psmith@gnu.org>
13         * run_make_tests.pl (set_more_defaults): Hard-code the LANG to C
14         to make sure sorting order, etc. is predictable.
15         Reported by Andreas Jaeger <aj@suse.de>.
17         * run_make_tests.pl (set_more_defaults): Set the $wtime variable
18         depending on the OS.  Eli Zaretskii <eliz@is.elta.co.il> reports
19         this seems to need to be *4* on DOS/Windows, not just 2.  Keep it
20         1 for other systems.
21         * scripts/features/vpathplus (touchfiles): Use the $wtime value
22         instead of hardcoding 2.
23         * scripts/targets/SECONDARY: Ditto.
24         * scripts/targets/INTERMEDIATE: Ditto.
26 2000-01-27  Paul D. Smith  <psmith@gnu.org>
28         * test_driver.pl (toplevel): Don't try to run test scripts which
29         are really directories.
31 2000-01-23  Paul D. Smith  <psmith@gnu.org>
33         * scripts/features/include: Remove a check; the fix caused more
34         problems than the error, so I removed it and removed the test for
35         it.
37 2000-01-11  Paul D. Smith  <psmith@gnu.org>
39         * scripts/functions/call: Add a test for PR/1517 and PR/1527: make
40         sure $(call ...) doesn't eval its arguments and that you can
41         invoke foreach from it without looping forever.
43 1999-12-15  Paul D. Smith  <psmith@gnu.org>
45         * scripts/targets/INTERMEDIATE: Add a test for PR/1423: make sure
46         .INTERMEDIATE settings on files don't disable them as implicit
47         intermediate possibilities.
49 1999-12-01  Paul D. Smith  <psmith@gnu.org>
51         * scripts/features/double_colon: Add a test for PR/1476: Try
52         double-colon rules as non-goal targets and during parallel builds
53         to make sure they're handled serially.
55 1999-11-17  Paul D. Smith  <psmith@gnu.org>
57         * scripts/functions/if: Add a test for PR/1429: put some text
58         after an if-statement to make sure it works.
60         * scripts/features/targetvars: Add a test for PR/1380: handling +=
61         in target-specific variable definitions correctly.
63 1999-10-15  Paul D. Smith  <psmith@gnu.org>
65         * scripts/variables/MAKEFILES: This was really broken: it didn't
66         test anything at all, really.  Rewrote it, plus added a test for
67         PR/1394.
69 1999-10-13  Paul D. Smith  <psmith@gnu.org>
71         * scripts/options/dash-n: Add a test for PR/1379: "-n doesn't
72         behave properly when used with recursive targets".
74 1999-10-08  Paul D. Smith  <psmith@gnu.org>
76         * scripts/features/targetvars: Add a check for PR/1378:
77         "Target-specific vars don't inherit correctly"
79 1999-09-29  Paul D. Smith  <psmith@gnu.org>
81         * test_driver.pl (get_osname): Change $fancy_file_names to
82         $short_filenames and reverse the logic.
83         (run_each_test): Change test of non-existent $port_host to use
84         $short_filenames--problem reported by Eli Zaretskii.
86 1999-09-23  Paul D. Smith  <psmith@gnu.org>
88         * scripts/features/parallelism: Add a check to ensure that the
89         jobserver works when we re-invoke.  Also cleaned up the tests a
90         little, reducing the number of rules we use so the test won't need
91         as many "sleep" commands.
93 1999-09-16  Paul D. Smith  <psmith@gnu.org>
95         * scripts/features/reinvoke: Remove invocations of "touch" in
96         makefiles.  See the comments on the touch function rewrite below.
97         Note that UNIX touch behaves the same way if the file already
98         exists: it sets the time to the _local_ time.  We don't want
99         this.  This is probably a good tip for makefile writers in
100         general, actually... where practical.
101         * scripts/options/dash-l: Ditto.
102         * scripts/options/dash-n: Ditto.
104         * test_driver.pl (run_each_test): In retrospect, I don't like the
105         .lN/.bN/.dN postfix required by DOS.  So, for non-DOS systems I
106         changed it back to use .log, .base, and .diff.
108         * run_make_tests.pl (set_more_defaults): Move the check for the
109         make pathname to here from set_defaults (that's too early since it
110         happens before the command line processing).
111         Create a new variable $port_type, calculated from $osname, to
112         specify what kind of system we're running on.  We should integrate
113         the VOS stuff here, too.
114         (valid_option): Comment out the workdir/-work stuff so people
115         won't be fooled into thinking it works... someone needs to fix
116         this, though!
118         * scripts/functions/origin: Use $port_type instead of $osname.
119         * scripts/functions/foreach: Ditto.
120         * scripts/features/default_names: Ditto.
122 1999-09-15  Paul D. Smith  <psmith@gnu.org>
124         * test_driver.pl (touch): Rewrite this function.  Previously it
125         used to use utime() to hard-set the time based on the current
126         local clock, or, if the file didn't exist, it merely created it.
127         This mirrors exactly what real UNIX touch does, but it fails badly
128         on networked filesystems where the FS server clock is skewed from
129         the local clock: normally modifying a file causes it to get a mod
130         time based on the _server's_ clock.  Hard-setting it based on the
131         _local_ clock causes gratuitous errors and makes the tests
132         unreliable except on local filesystems.  The new function will
133         simply modify the file, allowing the filesystem to set the mod
134         time as it sees fit.
136         * scripts/features/parallelism: The second test output could
137         change depending on how fast some scripts completed; use "sleep"
138         to force the order we want.
140         * test_driver.pl (toplevel): A bug in Perl 5.000 to Perl 5.004
141         means that "%ENV = ();" doesn't do the right thing.  This worked
142         in Perl 4 and was fixed in Perl 5.004_01, but use a loop to delete
143         the environment rather than require specific versions.
145         * run_make_tests.pl (set_more_defaults): Don't use Perl 5 s///
146         modifier "s", so the tests will run with Perl 4.
147         (set_more_defaults): Set $pure_log to empty if there's no -logfile
148         option in PURIFYOPTIONS.
149         (setup_for_test): Don't remove any logs unless $pure_log is set.
151 1999-09-15  Eli Zaretskii  <eliz@is.elta.co.il>
153         * scripts/features/reinvoke: Put the SHELL definition in the right
154         test makefile.
156 1999-09-15  Paul D. Smith  <psmith@gnu.org>
158         ChangeLog file for the test suite created.