* New config.sub and config.guess
[make.git] / tests / ChangeLog
blobc742ac133b13d14a30291659a37358c1db01ba45
1 2000-03-27  Paul D. Smith  <psmith@gnu.org>
3         * scripts/features/statipattrules: Test that static pattern rules
4         whose prerequisite patterns resolve to empty strings throw an
5         error (instead of dumping core).  Fixes PR/1670.
7         * scripts/features/reinvoke: Make more robust by touching "b"
8         first, to ensure it's not newer than "a".
9         Reported by Marco Franzen <Marco.Franzen@Thyron.com>.
10         * scripts/options/dash-n: Ditto.
12         * scripts/functions/call: Whoops.  The fix to PR/1527 caused
13         recursive invocations of $(call ...) to break.  I can't come up
14         with any way to get both working at the same time, so I backed out
15         the fix to 1527 and added a test case for recursive calls.  This
16         also tests the fix for PR/1610.
18         * scripts/features/double_colon: Test that circular dependencies
19         in double-colon rule sets are detected correctly (PR/1671).
21 2000-03-26  Paul D. Smith  <psmith@gnu.org>
23         * scripts/targets/INTERMEDIATE: Test that make doesn't remove
24         .INTERMEDIATE files when given on the command line (PR/1669).
26 2000-03-08  Paul D. Smith  <psmith@gnu.org>
28         * scripts/options/dash-k: Add a test for error detection by
29         multiple targets depending on the same prerequisite with -k.
30         For PR/1634.
32 2000-02-07  Paul D. Smith  <psmith@gnu.org>
34         * scripts/features/escape: Add a test for backslash-escaped spaces
35         in a target name (PR/1586).
37 2000-02-04  Paul D. Smith  <psmith@gnu.org>
39         * scripts/features/patspecific_vars: Add a test for pattern-specific
40         target variables inherited from the parent target (PR/1407).
42 2000-02-02  Paul D. Smith  <psmith@gnu.org>
44         * run_make_tests.pl (set_more_defaults): Hard-code the LANG to C
45         to make sure sorting order, etc. is predictable.
46         Reported by Andreas Jaeger <aj@suse.de>.
48         * run_make_tests.pl (set_more_defaults): Set the $wtime variable
49         depending on the OS.  Eli Zaretskii <eliz@is.elta.co.il> reports
50         this seems to need to be *4* on DOS/Windows, not just 2.  Keep it
51         1 for other systems.
52         * scripts/features/vpathplus (touchfiles): Use the $wtime value
53         instead of hardcoding 2.
54         * scripts/targets/SECONDARY: Ditto.
55         * scripts/targets/INTERMEDIATE: Ditto.
57 2000-01-27  Paul D. Smith  <psmith@gnu.org>
59         * test_driver.pl (toplevel): Don't try to run test scripts which
60         are really directories.
62 2000-01-23  Paul D. Smith  <psmith@gnu.org>
64         * scripts/features/include: Remove a check; the fix caused more
65         problems than the error, so I removed it and removed the test for
66         it.
68 2000-01-11  Paul D. Smith  <psmith@gnu.org>
70         * scripts/functions/call: Add a test for PR/1517 and PR/1527: make
71         sure $(call ...) doesn't eval its arguments and that you can
72         invoke foreach from it without looping forever.
74 1999-12-15  Paul D. Smith  <psmith@gnu.org>
76         * scripts/targets/INTERMEDIATE: Add a test for PR/1423: make sure
77         .INTERMEDIATE settings on files don't disable them as implicit
78         intermediate possibilities.
80 1999-12-01  Paul D. Smith  <psmith@gnu.org>
82         * scripts/features/double_colon: Add a test for PR/1476: Try
83         double-colon rules as non-goal targets and during parallel builds
84         to make sure they're handled serially.
86 1999-11-17  Paul D. Smith  <psmith@gnu.org>
88         * scripts/functions/if: Add a test for PR/1429: put some text
89         after an if-statement to make sure it works.
91         * scripts/features/targetvars: Add a test for PR/1380: handling +=
92         in target-specific variable definitions correctly.
94 1999-10-15  Paul D. Smith  <psmith@gnu.org>
96         * scripts/variables/MAKEFILES: This was really broken: it didn't
97         test anything at all, really.  Rewrote it, plus added a test for
98         PR/1394.
100 1999-10-13  Paul D. Smith  <psmith@gnu.org>
102         * scripts/options/dash-n: Add a test for PR/1379: "-n doesn't
103         behave properly when used with recursive targets".
105 1999-10-08  Paul D. Smith  <psmith@gnu.org>
107         * scripts/features/targetvars: Add a check for PR/1378:
108         "Target-specific vars don't inherit correctly"
110 1999-09-29  Paul D. Smith  <psmith@gnu.org>
112         * test_driver.pl (get_osname): Change $fancy_file_names to
113         $short_filenames and reverse the logic.
114         (run_each_test): Change test of non-existent $port_host to use
115         $short_filenames--problem reported by Eli Zaretskii.
117 1999-09-23  Paul D. Smith  <psmith@gnu.org>
119         * scripts/features/parallelism: Add a check to ensure that the
120         jobserver works when we re-invoke.  Also cleaned up the tests a
121         little, reducing the number of rules we use so the test won't need
122         as many "sleep" commands.
124 1999-09-16  Paul D. Smith  <psmith@gnu.org>
126         * scripts/features/reinvoke: Remove invocations of "touch" in
127         makefiles.  See the comments on the touch function rewrite below.
128         Note that UNIX touch behaves the same way if the file already
129         exists: it sets the time to the _local_ time.  We don't want
130         this.  This is probably a good tip for makefile writers in
131         general, actually... where practical.
132         * scripts/options/dash-l: Ditto.
133         * scripts/options/dash-n: Ditto.
135         * test_driver.pl (run_each_test): In retrospect, I don't like the
136         .lN/.bN/.dN postfix required by DOS.  So, for non-DOS systems I
137         changed it back to use .log, .base, and .diff.
139         * run_make_tests.pl (set_more_defaults): Move the check for the
140         make pathname to here from set_defaults (that's too early since it
141         happens before the command line processing).
142         Create a new variable $port_type, calculated from $osname, to
143         specify what kind of system we're running on.  We should integrate
144         the VOS stuff here, too.
145         (valid_option): Comment out the workdir/-work stuff so people
146         won't be fooled into thinking it works... someone needs to fix
147         this, though!
149         * scripts/functions/origin: Use $port_type instead of $osname.
150         * scripts/functions/foreach: Ditto.
151         * scripts/features/default_names: Ditto.
153 1999-09-15  Paul D. Smith  <psmith@gnu.org>
155         * test_driver.pl (touch): Rewrite this function.  Previously it
156         used to use utime() to hard-set the time based on the current
157         local clock, or, if the file didn't exist, it merely created it.
158         This mirrors exactly what real UNIX touch does, but it fails badly
159         on networked filesystems where the FS server clock is skewed from
160         the local clock: normally modifying a file causes it to get a mod
161         time based on the _server's_ clock.  Hard-setting it based on the
162         _local_ clock causes gratuitous errors and makes the tests
163         unreliable except on local filesystems.  The new function will
164         simply modify the file, allowing the filesystem to set the mod
165         time as it sees fit.
167         * scripts/features/parallelism: The second test output could
168         change depending on how fast some scripts completed; use "sleep"
169         to force the order we want.
171         * test_driver.pl (toplevel): A bug in Perl 5.000 to Perl 5.004
172         means that "%ENV = ();" doesn't do the right thing.  This worked
173         in Perl 4 and was fixed in Perl 5.004_01, but use a loop to delete
174         the environment rather than require specific versions.
176         * run_make_tests.pl (set_more_defaults): Don't use Perl 5 s///
177         modifier "s", so the tests will run with Perl 4.
178         (set_more_defaults): Set $pure_log to empty if there's no -logfile
179         option in PURIFYOPTIONS.
180         (setup_for_test): Don't remove any logs unless $pure_log is set.
182 1999-09-15  Eli Zaretskii  <eliz@is.elta.co.il>
184         * scripts/features/reinvoke: Put the SHELL definition in the right
185         test makefile.
187 1999-09-15  Paul D. Smith  <psmith@gnu.org>
189         ChangeLog file for the test suite created.