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