Fixed bug #13022 by setting is_target flag on files that this implicit
[make/kirr.git] / tests / ChangeLog
blobe222ef1e5fd862d8a826f0248142948ce49f7713
1 2005-12-09  Boris Kolpackov  <boris@kolpackov.net>
3         * scripts/features/patternrules: Add a test for bug #13022.
5 2005-12-07  Boris Kolpackov  <boris@kolpackov.net>
7         * scripts/features/double_colon: Add a test for bug #14334.
9 2005-11-17  Boris Kolpackov  <boris@kolpackov.net>
11         * scripts/functions/flavor: Add a test for the flavor function.
13 2005-11-14  Boris Kolpackov  <boris@kolpackov.net>
15         * scripts/variables/INCLUDE_DIRS: Add a test for the .INCLUDE_DIRS
16         special variable.
18 2005-10-24  Paul D. Smith  <psmith@gnu.org>
20         * scripts/misc/general4: Test '$$' in prerequisites list.
21         * scripts/features/statipattrules: Rewrite to use run_make_test().
22         Add various static pattern info.
23         * scripts/features/se_statpat: Enable .SECONDEXPANSION target.
24         * scripts/features/se_explicit: Add tests for handling '$$' in
25         prerequisite lists with and without setting .SECONDEXPANSION.
26         * scripts/features/order_only: Convert to run_make_test().
27         * run_make_tests.pl (set_more_defaults): If we can't get the value
28         of $(MAKE) from make, then fatal immediately.
30 2005-08-31  Paul D. Smith  <psmith@gnu.org>
32         * run_make_tests.pl (get_this_pwd): Require the POSIX module (in
33         an eval to trap errors) and if it exists, use POSIX::getcwd to
34         find the working directory.  If it doesn't exist, go back to the
35         previous methods.  This tries to be more accurate on Windows
36         systems.
38 2005-08-29  Paul D. Smith  <psmith@gnu.org>
40         * scripts/functions/abspath: Add some text to the error messages
41         to get a better idea of what's wrong.  Make warnings instead of
42         errors.
44         * scripts/features/patspecific_vars: Don't use "test", which is
45         UNIX specific.  Print the values and let the test script match
46         them.
48 2005-08-25  Paul Smith  <psmith@gnu.org>
50         * scripts/variables/SHELL: Use a /./ prefix instead of //: the
51         former works better with non-UNIX environments.  Fixes Savannah
52         bug #14129.
54 2005-08-13  Boris Kolpackov  <boris@kolpackov.net>
56         * scripts/functions/wildcard: Wrap calls to $(wildcard ) with
57         $(sort) so that the resulting order is no longer filesystem-
58         dependant.
60 2005-08-10  Boris Kolpackov  <boris@kolpackov.net>
62         * scripts/features/statipattrules: Add a test for Savannah bug #13881.
64 2005-08-07  Paul D. Smith  <psmith@gnu.org>
66         * scripts/features/parallelism: Add a test for a bug reported by
67         Michael Matz (matz@suse.de) in which make exits without waiting
68         for all its children in some situations during parallel builds.
70 2005-07-08  Paul D. Smith  <psmith@gnu.org>
72         * test_driver.pl: Reset the environment to a clean value every
73         time before we invoke make.  I'm suspicious that the environment
74         isn't handled the same way in Windows as it is in UNIX, and some
75         variables are leaking out beyond the tests they are intended for.
76         Create an %extraENV hash tests can set to add more env. vars.
77         * tests/scripts/features/export: Change to use %extraENV.
78         * tests/scripts/functions/eval: Ditto.
79         * tests/scripts/functions/origin: Ditto.
80         * tests/scripts/options/dash-e: Ditto.
81         * tests/scripts/variables/SHELL: Ditto.
83 2005-06-27  Paul D. Smith  <psmith@gnu.org>
85         * scripts/options/dash-W: Use 'echo >>' instead of touch to update
86         files.
87         * scripts/features/reinvoke: Rewrite to be safer on systems with
88         subsecond timestamps.
89         * scripts/features/patternrules: False exits with different error
90         codes on different systems (for example, Linux => 1, Solaris => 255).
92         * scripts/options/dash-W: Set the timestamp to foo.x in the future,
93         to be sure it will be considered updated when it's remade.
95 2005-06-26  Paul D. Smith  <psmith@gnu.org>
97         * scripts/functions/shell: New test suite for the shell function.
99 2005-06-25  Paul D. Smith  <psmith@gnu.org>
101         * scripts/features/include: Test include/-include/sinclude with no
102         arguments.  Tests fix for Savannah bug #1761.
104         * scripts/misc/general3: Implement comprehensive testing of
105         backslash-newline behavior in command scripts: various types of
106         quoting, fast path / slow path, etc.
107         Tests fix for Savannah bug #1332.
109         * scripts/options/symlinks: Test symlinks to non-existent files.
110         Tests fix for Savannah bug #13280.
112         * scripts/misc/general3: Test semicolons in variable references.
113         Tests fix for Savannah bug #1454.
115         * scripts/variables/MAKE_RESTARTS: New file: test the
116         MAKE_RESTARTS variable.
117         * scripts/options/dash-B: Test re-exec doesn't loop infinitely.
118         Tests fix for Savannah bug #7566.
119         * scripts/options/dash-W: New file: test the -W flag, including
120         re-exec infinite looping.
122 2005-06-12  Paul D. Smith  <psmith@gnu.org>
124         * scripts/misc/close_stdout: Add a test for Savannah bug #1328.
125         This test only works on systems that have /dev/full (e.g., Linux).
127 2005-06-09  Paul D. Smith  <psmith@gnu.org>
129         * scripts/functions/foreach: Add a test for Savannah bug #11913.
131 2005-05-31  Boris Kolpackov  <boris@kolpackov.net>
133         * scripts/features/include: Add a test for Savannah bug #13216.
134         * scripts/features/patternrules: Add a test for Savannah bug #13218.
136 2005-05-13  Paul D. Smith  <psmith@gnu.org>
138         * scripts/features/conditionals: Add tests for the new if... else
139         if... endif syntax.
141 2005-05-03  Paul D. Smith  <psmith@gnu.org>
143         * scripts/variables/DEFAULT_GOAL: Rename DEFAULT_TARGET to
144         DEFAULT_GOAL.
146 2005-05-02  Paul D. Smith  <psmith@gnu.org>
148         * scripts/features/parallelism: Add a test for exporting recursive
149         variables containing $(shell ) calls.  Rewrite this script to use
150         run_make_test() everywhere.
152 2005-04-07  Paul D. Smith  <psmith@gnu.org>
154         * scripts/targets/SECONDARY: Add a test for Savannah bug #12331.
156 2005-03-15  Boris Kolpackov  <boris@kolpackov.net>
158         * scripts/variables/automatic: Add a test for Savannah bug #12320.
160 2005-03-10  Boris Kolpackov  <boris@kolpackov.net>
162         * scripts/features/patternrules: Add a test for Savannah bug #12267.
164 2005-03-09  Boris Kolpackov  <boris@kolpackov.net>
166         * scripts/variables/DEFAULT_TARGET: Add a test for Savannah
167         bug #12266.
169 2005-03-04  Boris Kolpackov  <boris@kolpackov.net>
171         * scripts/features/patternrules: Add a test for Savannah bug #12202.
173 2005-03-03  Boris Kolpackov  <boris@kolpackov.net>
175         * scripts/features/se_implicit: Add a test for stem
176         termination bug. Add a test for stem triple-expansion bug.
178         * scripts/features/se_statpat: Add a test for stem
179         triple-expansion bug.
181         * scripts/features/statipattrules: Change test #4 to reflect
182         new way empty prerequisite list is handled.
185 2005-03-01  Boris Kolpackov  <boris@kolpackov.net>
187         * scripts/features/statipattrules: Add a test for
188         Savannah bug #12180.
190 2005-02-28  Paul D. Smith  <psmith@gnu.org>
192         * scripts/options/dash-q: Add a test for Savannah bug # 7144.
194         * scripts/options/symlinks: New file to test checking of symlink
195         timestamps.  Can't use filename dash-L because it conflicts with
196         dash-l on case-insensitive filesystems.
198         * scripts/variables/MAKEFILE_LIST, scripts/variables/MFILE_LIST:
199         Rename MAKEFILE_LIST test to MFILE_LIST, for systems that need 8.3
200         unique filenames.
202 2005-02-28  Boris Kolpackov  <boris@kolpackov.net>
204         * scripts/variables/DEFAULT_TARGET: Test the .DEFAULT_TARGET
205         special variable.
207 2005-02-27  Boris Kolpackov  <boris@kolpackov.net>
209         * scripts/features/se_explicit: Test the second expansion in
210         explicit rules.
211         * scripts/features/se_implicit: Test the second expansion in
212         implicit rules.
213         * scripts/features/se_statpat: Test the second expansion in
214         static pattern rules.
215         * scripts/variables/automatic: Fix to work with the second
216         expansion.
218         * scripts/misc/general4: Add a test for bug #12091.
220 2005-02-27  Paul D. Smith  <psmith@gnu.org>
222         * scripts/functions/eval: Check that eval of targets within
223         command scripts fails.  See Savannah bug # 12124.
225 2005-02-26  Paul D. Smith  <psmith@gnu.org>
227         * test_driver.pl (compare_output): If a basic comparison of the
228         log and answer doesn't match, try harder: change all backslashes
229         to slashes and all CRLF to LF.  This helps on DOS/Windows systems.
231 2005-02-09  Paul D. Smith  <psmith@gnu.org>
233         * scripts/features/recursion: Test command line variable settings:
234         only one instance of a given variable should be provided.
236 2004-11-30  Boris Kolpackov  <boris@kolpackov.net>
238         * tests/scripts/functions/abspath: New file: test `abspath'
239         built-in function.
241         * tests/scripts/functions/realpath: New file: test `realpath'
242         built-in function.
244 2004-11-28  Paul D. Smith  <psmith@gnu.org>
246         * scripts/options/dash-C [WINDOWS32]: Add a test for bug #10252;
247         this doesn't really test anything useful in UNIX but...
249         * scripts/variables/SHELL: New file: test proper handling of SHELL
250         according to POSIX rules.  Fixes bug #1276.
252 2004-10-21  Boris Kolpackov  <boris@kolpackov.net>
254         * scripts/functions/word: Test $(firstword ) and $(lastword ).
256 2004-10-05  Boris Kolpackov  <boris@kolpackov.net>
258         * scripts/features/patspecific_vars: Test simple/recursive
259         variable expansion.
261 2004-09-28  Boris Kolpackov  <boris@kolpackov.net>
263         * scripts/features/include: Test dontcare flag inheritance
264         when rebuilding makefiles.
266 2004-09-27  Boris Kolpackov  <boris@kolpackov.net>
268         * scripts/features/patspecific_vars: Test exported variables.
270 2004-09-22  Paul D. Smith  <psmith@gnu.org>
272         * run_make_tests.pl (run_make_test): Don't add newlines to the
273         makestring or answer if they are completely empty.
275         * scripts/features/patternrules: Rename from implicit_prereq_eval.
277         * scripts/test_template: Rework the template.
279 2004-09-21  Boris Kolpackov  <boris@kolpackov.net>
281         * run_make_tests.pl: Change `#!/usr/local/bin/perl' to be
282         `#!/usr/bin/env perl'.
284         * scripts/features/implicit_prereq_eval: Test implicit rule
285         prerequisite evaluation code.
287 2004-09-21  Paul D. Smith  <psmith@gnu.org>
289         * run_make_tests.pl (run_make_test): Enhance to allow the make
290         string to be undef: in that case it reuses the previous make
291         string.  Allows multiple tests on the same makefile.
293         * scripts/variables/flavors: Add some tests for prefix characters
294         interacting with define/endef variables.
296 2004-09-20  Paul D. Smith  <psmith@gnu.org>
298         * scripts/functions/substitution: Rewrite to use run_make_test()
299         interface, and add test for substitution failures reported by
300         Markus Mauhart <qwe123@chello.at>.
302 2004-03-22  Paul D. Smith  <psmith@gnu.org>
304         * test_driver.pl (run_each_test, toplevel, compare_output): Change
305         to track both the testing categories _AND_ the number of
306         individual tests, and report both sets of numbers.
308 2004-02-21  Paul D. Smith  <psmith@gnu.org>
310         * scripts/functions/origin: Set our own environment variable
311         rather than relying on $HOME.
313 2004-01-21  Paul D. Smith  <psmith@gnu.org>
315         * scripts/features/conditionals: Test arguments to ifn?def which
316         contain whitespace (such as a function that is evaluated).  Bug
317         #7257.
319 2004-01-07  Paul D. Smith  <psmith@gnu.org>
321         * scripts/features/order_only: Test order-only prerequisites in
322         pattern rules (patch #2349).
324 2003-11-02  Paul D. Smith  <psmith@gnu.org>
326         * scripts/functions/if: Test if on conditionals with trailing
327         whitespace--bug #5798.
329         * scripts/functions/eval: Test eval in a non-file context--bug #6195.
331 2003-04-19  Paul D. Smith  <psmith@gnu.org>
333         * scripts/features/patspecific_vars: Test multiple patterns
334         matching the same target--Bug #1405.
336 2003-04-09  Paul D. Smith  <psmith@gnu.org>
338         * run_make_tests.pl (set_more_defaults): A new $port_type of
339         'OS/2' for (surprise!) OS/2.  Also choose a wait time of 2 seconds
340         for OS/2.
342 2003-03-28  Paul D. Smith  <psmith@gnu.org>
344         * scripts/targets/SECONDARY: Test the "global" .SECONDARY (with
345         not prerequisites)--Bug #2515.
347 2003-01-30  Paul D. Smith  <psmith@gnu.org>
349         * scripts/features/targetvars: Test very long target-specific
350         variable definition lines (longer than the default make buffer
351         length).  Tests patch # 1022.
353         * scripts/functions/eval: Test very recursive $(eval ...) calls
354         with simple variable expansion (bug #2238).
356         * scripts/functions/word: Test error handling for word and
357         wordlist functions (bug #2407).
359 2003-01-22  Paul D. Smith  <psmith@gnu.org>
361         * scripts/functions/call: Test recursive argument masking (bug
362         #1744).
364 2002-10-25  Paul D. Smith  <psmith@gnu.org>
366         * scripts/functions/eval: Test using $(eval ...) inside
367         conditionals (Bug #1516).
369 2002-10-14  Paul D. Smith  <psmith@gnu.org>
371         * scripts/options/dash-t: Add a test for handling -t on targets
372         with no commands (Bug #1418).
374 2002-10-13  Paul D. Smith  <psmith@gnu.org>
376         * scripts/features/targetvars: Add a test for exporting
377         target-specific vars (Bug #1391).
379 2002-10-05  Paul D. Smith  <psmith@gnu.org>
381         * scripts/variables/automatic: Add tests for $$(@), $${@}, $${@D},
382         and $${@F}.
384 2002-09-23  Paul D. Smith  <psmith@gnu.org>
386         * scripts/features/escape: Test handling of escaped comment
387         characters in targets and prerequisites.
389 2002-09-18  Paul D. Smith  <psmith@gnu.org>
391         * scripts/features/export: Test export/unexport of multiple
392         variables in a single command.
394 2002-09-17  Paul D. Smith  <psmith@gnu.org>
396         * scripts/features/targetvars: Tests for Bug #940: test
397         target-specific and pattern-specific variables in conjunction with
398         double-colon targets.
400 2002-09-10  Paul D. Smith  <psmith@gnu.org>
402         * test_driver.pl (compare_output): Match the new format for time
403         skew error messages.
405         * scripts/features/export: Created.  Add tests for export/unexport
406         capabilities, including exporting/unexporting expanded variables.
408         * scripts/features/conditionals: Add a test for expanded variables
409         in ifdef conditionals.
411 2002-09-04  Paul D. Smith  <psmith@gnu.org>
413         * scripts/features/reinvoke: Change touch/sleep combos to utouch
414         invocations.
415         * scripts/features/vpathgpath: Ditto.
416         * scripts/features/vpathplus: Ditto.
417         * scripts/options/dash-n: Ditto.
418         * scripts/targets/INTERMEDIATE: Ditto.
419         * scripts/targets/SECONDARY: Ditto.
421         * scripts/options/dash-t: Added a test for the -t bug fixed by
422         Henning Makholm.  This test was also contributed by Henning.
424         * scripts/misc/general4: Add a test suite for obscure algorithmic
425         features of make.  First test: make sure creation subdirectories
426         as prerequisites of targets works properly.
428         * scripts/misc/version: Remove this bogus test.
430 2002-08-07  Paul D. Smith  <psmith@gnu.org>
432         * scripts/misc/general3: Add a test for makefiles that don't end
433         in newlines.
435         * scripts/variables/special: Create tests for the special
436         variables (.VARIABLES and .TARGETS).  Comment out .TARGETS test
437         for now as it's not yet supported.
439 2002-08-01  Paul D. Smith  <psmith@gnu.org>
441         * scripts/options/dash-B: Add a test for the new -B option.
443 2002-07-11  Paul D. Smith  <psmith@gnu.org>
445         * run_make_tests.pl (valid_option): Add support for Valgrind
446         <http://developer.kde.org/~sewardj/>.  Use -valgrind option to the
447         test suite.
448         (set_more_defaults): Set up the file descriptor to capture
449         Valgrind output.  We have to unset its close-on-exec flag; we
450         hardcode the value for F_SETFD (2) rather than load it; hopefully
451         this will help us avoid breaking the Windows/DOS test suite.
453 2002-07-10  Paul D. Smith  <psmith@gnu.org>
455         * scripts/variables/automatic: Add some tests for $$@, $$(@D), and
456         $$(@F).
458         * test_driver.pl (utouch): Create a new function that creates a
459         file with a specific timestamp offset.  Use of this function will
460         let us avoid lots of annoying sleep() invocations in the tests
461         just to get proper timestamping, which will make the tests run a
462         lot faster.  So far it's only used in the automatic test suite.
464 2002-07-09  Paul D. Smith  <psmith@gnu.org>
466         * scripts/variables/automatic: Create a test for automatic variables.
468 2002-07-08  Paul D. Smith  <psmith@gnu.org>
470         * scripts/features/order_only: Test new order-only prerequisites.
472 2002-07-07  Paul D. Smith  <psmith@gnu.org>
474         * scripts/functions/eval: Test new function.
475         * scripts/functions/value: Test new function.
476         * scripts/variables/MAKEFILE_LIST: Test new variable.
478 2002-04-28  Paul D. Smith  <psmith@gnu.org>
480         * scripts/functions/call: New test: transitive closure
481         implementation using $(call ...) to test variable recursion.
483 2002-04-21  Paul D. Smith  <psmith@gnu.org>
485         * test_driver.pl (compare_dir_tree): Ignore CVS and RCS
486         directories in the script directories.
488 2001-05-02  Paul D. Smith  <psmith@gnu.org>
490         * scripts/variables/flavors: Test define/endef scripts where only
491         one of the command lines is quiet.
493 2000-06-22  Paul D. Smith  <psmith@gnu.org>
495         * scripts/options/dash-q: New file; test the -q option.  Includes
496         a test for PR/1780.
498 2000-06-21  Paul D. Smith  <psmith@gnu.org>
500         * scripts/features/targetvars: Added a test for PR/1709: allowing
501         semicolons in target-specific variable values.
503 2000-06-19  Paul D. Smith  <psmith@gnu.org>
505         * scripts/functions/addsuffix: Test for an empty final argument.
506         Actually this bug might have happened for any function, but this
507         one was handy.
509 2000-06-17  Eli Zaretskii  <eliz@is.elta.co.il>
511         * scripts/options/general: If parallel jobs are not supported,
512         expect a warning message from Make.
514 2000-06-15  Eli Zaretskii  <eliz@is.elta.co.il>
516         * scripts/options/general: Don't try -jN with N != 1 if parallel
517         jobs are not supported.
519 2000-05-24  Paul D. Smith  <psmith@gnu.org>
521         * scripts/options/general: Test general option processing (PR/1716).
523 2000-04-11  Paul D. Smith  <psmith@gnu.org>
525         * scripts/functions/strip: Test empty value to strip (PR/1689).
527 2000-04-08  Eli Zaretskii  <eliz@is.elta.co.il>
529         * scripts/features/reinvoke: Sleep before updating the target
530         files in the first test, to ensure its time stamp really gets
531         newer; otherwise Make might re-exec more than once.
533 2000-04-07  Eli Zaretskii  <eliz@is.elta.co.il>
535         * scripts/features/double_colon: Don't run the parallel tests if
536         parallel jobs aren't supported.
538 2000-04-04  Paul D. Smith  <psmith@gnu.org>
540         * scripts/functions/word: wordlist doesn't swap arguments anymore.
542 2000-03-27  Paul D. Smith  <psmith@gnu.org>
544         * scripts/features/statipattrules: Test that static pattern rules
545         whose prerequisite patterns resolve to empty strings throw an
546         error (instead of dumping core).  Fixes PR/1670.
548         * scripts/features/reinvoke: Make more robust by touching "b"
549         first, to ensure it's not newer than "a".
550         Reported by Marco Franzen <Marco.Franzen@Thyron.com>.
551         * scripts/options/dash-n: Ditto.
553         * scripts/functions/call: Whoops.  The fix to PR/1527 caused
554         recursive invocations of $(call ...) to break.  I can't come up
555         with any way to get both working at the same time, so I backed out
556         the fix to 1527 and added a test case for recursive calls.  This
557         also tests the fix for PR/1610.
559         * scripts/features/double_colon: Test that circular dependencies
560         in double-colon rule sets are detected correctly (PR/1671).
562 2000-03-26  Paul D. Smith  <psmith@gnu.org>
564         * scripts/targets/INTERMEDIATE: Test that make doesn't remove
565         .INTERMEDIATE files when given on the command line (PR/1669).
567 2000-03-08  Paul D. Smith  <psmith@gnu.org>
569         * scripts/options/dash-k: Add a test for error detection by
570         multiple targets depending on the same prerequisite with -k.
571         For PR/1634.
573 2000-02-07  Paul D. Smith  <psmith@gnu.org>
575         * scripts/features/escape: Add a test for backslash-escaped spaces
576         in a target name (PR/1586).
578 2000-02-04  Paul D. Smith  <psmith@gnu.org>
580         * scripts/features/patspecific_vars: Add a test for pattern-specific
581         target variables inherited from the parent target (PR/1407).
583 2000-02-02  Paul D. Smith  <psmith@gnu.org>
585         * run_make_tests.pl (set_more_defaults): Hard-code the LANG to C
586         to make sure sorting order, etc. is predictable.
587         Reported by Andreas Jaeger <aj@suse.de>.
589         * run_make_tests.pl (set_more_defaults): Set the $wtime variable
590         depending on the OS.  Eli Zaretskii <eliz@is.elta.co.il> reports
591         this seems to need to be *4* on DOS/Windows, not just 2.  Keep it
592         1 for other systems.
593         * scripts/features/vpathplus (touchfiles): Use the $wtime value
594         instead of hardcoding 2.
595         * scripts/targets/SECONDARY: Ditto.
596         * scripts/targets/INTERMEDIATE: Ditto.
598 2000-01-27  Paul D. Smith  <psmith@gnu.org>
600         * test_driver.pl (toplevel): Don't try to run test scripts which
601         are really directories.
603 2000-01-23  Paul D. Smith  <psmith@gnu.org>
605         * scripts/features/include: Remove a check; the fix caused more
606         problems than the error, so I removed it and removed the test for
607         it.
609 2000-01-11  Paul D. Smith  <psmith@gnu.org>
611         * scripts/functions/call: Add a test for PR/1517 and PR/1527: make
612         sure $(call ...) doesn't eval its arguments and that you can
613         invoke foreach from it without looping forever.
615 1999-12-15  Paul D. Smith  <psmith@gnu.org>
617         * scripts/targets/INTERMEDIATE: Add a test for PR/1423: make sure
618         .INTERMEDIATE settings on files don't disable them as implicit
619         intermediate possibilities.
621 1999-12-01  Paul D. Smith  <psmith@gnu.org>
623         * scripts/features/double_colon: Add a test for PR/1476: Try
624         double-colon rules as non-goal targets and during parallel builds
625         to make sure they're handled serially.
627 1999-11-17  Paul D. Smith  <psmith@gnu.org>
629         * scripts/functions/if: Add a test for PR/1429: put some text
630         after an if-statement to make sure it works.
632         * scripts/features/targetvars: Add a test for PR/1380: handling +=
633         in target-specific variable definitions correctly.
635 1999-10-15  Paul D. Smith  <psmith@gnu.org>
637         * scripts/variables/MAKEFILES: This was really broken: it didn't
638         test anything at all, really.  Rewrote it, plus added a test for
639         PR/1394.
641 1999-10-13  Paul D. Smith  <psmith@gnu.org>
643         * scripts/options/dash-n: Add a test for PR/1379: "-n doesn't
644         behave properly when used with recursive targets".
646 1999-10-08  Paul D. Smith  <psmith@gnu.org>
648         * scripts/features/targetvars: Add a check for PR/1378:
649         "Target-specific vars don't inherit correctly"
651 1999-09-29  Paul D. Smith  <psmith@gnu.org>
653         * test_driver.pl (get_osname): Change $fancy_file_names to
654         $short_filenames and reverse the logic.
655         (run_each_test): Change test of non-existent $port_host to use
656         $short_filenames--problem reported by Eli Zaretskii.
658 1999-09-23  Paul D. Smith  <psmith@gnu.org>
660         * scripts/features/parallelism: Add a check to ensure that the
661         jobserver works when we re-invoke.  Also cleaned up the tests a
662         little, reducing the number of rules we use so the test won't need
663         as many "sleep" commands.
665 1999-09-16  Paul D. Smith  <psmith@gnu.org>
667         * scripts/features/reinvoke: Remove invocations of "touch" in
668         makefiles.  See the comments on the touch function rewrite below.
669         Note that UNIX touch behaves the same way if the file already
670         exists: it sets the time to the _local_ time.  We don't want
671         this.  This is probably a good tip for makefile writers in
672         general, actually... where practical.
673         * scripts/options/dash-l: Ditto.
674         * scripts/options/dash-n: Ditto.
676         * test_driver.pl (run_each_test): In retrospect, I don't like the
677         .lN/.bN/.dN postfix required by DOS.  So, for non-DOS systems I
678         changed it back to use .log, .base, and .diff.
680         * run_make_tests.pl (set_more_defaults): Move the check for the
681         make pathname to here from set_defaults (that's too early since it
682         happens before the command line processing).
683         Create a new variable $port_type, calculated from $osname, to
684         specify what kind of system we're running on.  We should integrate
685         the VOS stuff here, too.
686         (valid_option): Comment out the workdir/-work stuff so people
687         won't be fooled into thinking it works... someone needs to fix
688         this, though!
690         * scripts/functions/origin: Use $port_type instead of $osname.
691         * scripts/functions/foreach: Ditto.
692         * scripts/features/default_names: Ditto.
694 1999-09-15  Paul D. Smith  <psmith@gnu.org>
696         * test_driver.pl (touch): Rewrite this function.  Previously it
697         used to use utime() to hard-set the time based on the current
698         local clock, or, if the file didn't exist, it merely created it.
699         This mirrors exactly what real UNIX touch does, but it fails badly
700         on networked filesystems where the FS server clock is skewed from
701         the local clock: normally modifying a file causes it to get a mod
702         time based on the _server's_ clock.  Hard-setting it based on the
703         _local_ clock causes gratuitous errors and makes the tests
704         unreliable except on local filesystems.  The new function will
705         simply modify the file, allowing the filesystem to set the mod
706         time as it sees fit.
708         * scripts/features/parallelism: The second test output could
709         change depending on how fast some scripts completed; use "sleep"
710         to force the order we want.
712         * test_driver.pl (toplevel): A bug in Perl 5.000 to Perl 5.004
713         means that "%ENV = ();" doesn't do the right thing.  This worked
714         in Perl 4 and was fixed in Perl 5.004_01, but use a loop to delete
715         the environment rather than require specific versions.
717         * run_make_tests.pl (set_more_defaults): Don't use Perl 5 s///
718         modifier "s", so the tests will run with Perl 4.
719         (set_more_defaults): Set $pure_log to empty if there's no -logfile
720         option in PURIFYOPTIONS.
721         (setup_for_test): Don't remove any logs unless $pure_log is set.
723 1999-09-15  Eli Zaretskii  <eliz@is.elta.co.il>
725         * scripts/features/reinvoke: Put the SHELL definition in the right
726         test makefile.
728 1999-09-15  Paul D. Smith  <psmith@gnu.org>
730         ChangeLog file for the test suite created.