1 2009-10-06 Boris Kolpackov <boris@codesynthesis.com>
3 * scripts/features/se_explicit: Enable the test for now fixed
6 2009-10-06 Boris Kolpackov <boris@codesynthesis.com>
8 * scripts/variables/undefine: Tests for the new undefine feature.
10 2009-10-03 Paul Smith <psmith@gnu.org>
12 * scripts/features/parallelism: Test for open Savannah bug #26846.
14 * scripts/variables/MAKE: Rewrite for new run_make_test() format.
16 * scripts/variables/MAKEFLAGS: Created.
17 Add test for Savannah bug #2216 (still open).
19 * scripts/features/include: Test for Savannah bug #102 (still open).
21 2009-09-30 Boris Kolpackov <boris@codesynthesis.com>
23 * scripts/features/include: Add diagnostics issuing tests for
24 cases where targets have been updated and failed with the
25 dontcare flag. Savannah bugs #15110, #25493, #12686, #17740.
27 2009-09-28 Paul Smith <psmith@gnu.org>
29 * scripts/functions/shell: Add regression test for Savannah bug
32 * scripts/features/se_explicit: Add regression tests for Savannah
33 bug #25780 (still open).
35 * run_make_tests.pl (valid_option): Add a new flag, -all([-_]?tests)?
36 that runs tests we know will fail. This allows us to add
37 regression tests to the test suite for bugs that haven't been
40 2009-09-28 Boris Kolpackov <boris@codesynthesis.com>
42 * scripts/features/patspecific_vars: Add a test for the shortest
45 * scripts/features/patternrules: Add a test for the shortest stem
48 2009-09-24 Paul Smith <psmith@gnu.org>
50 * scripts/features/se_implicit: Add a test for order-only
51 secondary expansion prerequisites.
53 2009-09-23 Paul Smith <psmith@gnu.org>
55 * scripts/features/patternrules: Test that we can remove pattern
56 rules, both single and multiple prerequisites. Savannah bug #18622.
58 * scripts/features/echoing: Rework for run_make_test().
60 2009-06-14 Paul Smith <psmith@gnu.org>
62 * scripts/features/vpath: Verify we don't get bogus circular
63 dependency warnings if we choose a different file via vpath during
64 update. Savannah bug #13529.
66 2009-06-13 Paul Smith <psmith@gnu.org>
68 * scripts/variables/MAKEFILES: Verify that MAKEFILES included
69 files (and files included by them) don't set the default goal.
72 * scripts/functions/wildcard: Test that wildcards with
73 non-existent glob matchers return empty.
75 2009-06-09 Paul Smith <psmith@gnu.org>
77 * scripts/options/dash-B: Test the $? works correctly with -B.
80 * scripts/features/patternrules: Test that dependencies of
81 "also_make" targets are created properly. Savannah bug #19108.
83 * test_driver.pl (compare_output): Create a "run" file for failed
84 tests containing the command that was run.
85 (get_runfile): New function.
87 * run_make_tests.pl (valid_option): Enhanced support for valgrind:
88 allow memcheck and massif tools.
90 * scripts/features/patternrules: Have to comment out a line in the
91 first test due to backing out a change that broke the implicit
92 rule search algorithm. Savannah bug #17752.
93 * scripts/misc/general4: Remove a test that is redundant with
96 * scripts/features/parallelism: Add a test for re-exec with
97 jobserver master override. Savannah bug #18124.
99 2009-06-08 Paul Smith <psmith@gnu.org>
101 * scripts/features/targetvars: Add a test for continued target
102 vars after a semicolon. Savannah bug #17521.
104 2009-06-07 Paul Smith <psmith@gnu.org>
106 * scripts/features/se_explicit: Make sure we catch defining
107 prereqs during snap_deps(). Savannah bug #24622.
109 * scripts/variables/automatic: Check prereq ordering when the
110 target with the recipe has no prereqs. Savannah bug #21198.
112 * scripts/variables/LIBPATTERNS: Add a new set of test for
113 $(.LIBPATTERNS) (previously untested!)
115 2009-06-04 Paul Smith <psmith@gnu.org>
117 * scripts/variables/SHELL: The export target-specific SHELL test
118 has an incorrect known-good-value.
120 * scripts/misc/general4: Check for whitespace (ffeed, vtab, etc.)
122 * scripts/features/se_explicit: Add tests for Savannah bug #24588.
124 2009-05-31 Paul Smith <psmith@gnu.org>
126 * scripts/variables/DEFAULT_GOAL: Add tests for Savannah bug #25697.
128 * scripts/features/targetvars: Add tests of overrides for Savannah
130 * scripts/features/patspecific_vars: Ditto.
132 * scripts/features/patternrules: Add a test for Savannah bug #26593.
134 2009-05-30 Paul Smith <psmith@gnu.org>
136 * scripts/variables/flavors: Update with new variable flavor tests.
137 * scripts/variables/define: Create a new set of tests for
138 define/endef and move those aspects of the flavors suite here.
140 2009-05-25 Paul Smith <psmith@gnu.org>
142 * scripts/features/targetvars: Ditto.
144 * scripts/features/export: Test new variable parsing abilities.
146 2009-02-23 Ramon Garcia <ramon.garcia.f@gmail.com>
148 * scripts/variables/private: Create a new suite of tests for 'private'.
150 2007-11-04 Paul Smith <psmith@gnu.org>
152 * scripts/functions/eval: Update error message for command -> recipe.
154 * test_driver.pl (compare_output): Allow the answer to be a regex,
155 if surrounded by '/'.
156 * scripts/misc/close_stdout: Use a regex for the answer, since
157 sometimes the error will have a description and sometimes it won't.
159 2007-09-10 Paul Smith <psmith@gnu.org>
161 * scripts/variables/special: Add tests for .RECIPEPREFIX variable.
163 2007-08-15 Paul Smith <psmith@gnu.org>
165 These test cases were contributed by
166 Icarus Sparry <savannah@icarus.freeuk.com> and J. David Bryan for
167 Savannah bugs #3330 and #15919.
169 * scripts/targets/SECONDARY: Add tests for Savannah bugs 3330 and
172 * scripts/features/parallelism: Add tests for wrong answer/hang
173 combining INTERMEDIATE, order-only prereqs, and parallelism.
174 See Savannah bugs 3330 and 15919.
176 2007-07-13 Paul Smith <psmith@gnu.org>
178 Install a timeout so tests can never loop infinitely.
179 Original idea and patch for a single-test version provided by
180 Icarus Sparry <savannah@icarus.freeuk.com>
182 * test_driver.pl (_run_command): New function: this is called by
183 other functions to actually run a command. Before we run it,
184 install a SIGALRM handler and set up a timer to go off in the
185 future (default is 5s; this can be overridden by individual tests).
186 (run_command): Call it.
187 (run_command_with_output): Call it.
189 * run_make_tests.pl (run_make_with_options): Override the default
190 timeout if the caller requests it.
191 (run_make_test): Pass any timeout override to run_make_with_options.
193 * scripts/features/parallelism: Increase the timeout for long tests.
194 * scripts/options/dash-l: Ditto.
196 2006-10-01 Paul Smith <psmith@paulandlesley.org>
198 * run_make_tests.pl (set_more_defaults): Remove setting of LANG in
199 ENV here. This doesn't always work.
200 * test_driver.pl (toplevel): Set LC_ALL to 'C' in the make
201 environment. Fixes Savannah bug #16698.
203 2006-09-30 Paul Smith <psmith@paulandlesley.org>
205 * scripts/variables/automatic: Add back the test for bug #8154.
207 2006-04-01 Paul D. Smith <psmith@gnu.org>
209 * scripts/functions/realpath: Don't run tests with multiple
210 initial slashes on Windows: those paths mean something different.
212 2006-03-19 Paul D. Smith <psmith@gnu.org>
214 * scripts/features/parallelism: Test that the jobserver is
215 properly managed when we have to re-exec the master instance of
218 2006-03-17 Boris Kolpackov <boris@kolpackov.net>
220 * scripts/features/statipattrules: Add tests for bug #16053.
222 2006-03-09 Paul Smith <psmith@gnu.org>
224 * scripts/features/escape: Use "pre:" not "p:" to avoid conflicts
225 with DOS drive letters. Fixes Savannah bug #15947.
227 * test_driver.pl (run_each_test): Set the status properly even
228 when a test fails to execute. Fixes Savannah bug #15942.
230 * scripts/functions/foreach: Use a different environment variable
231 other than PATH to avoid differences with Windows platforms.
232 Fixes Savannah bug #15938.
234 2006-03-05 Paul D. Smith <psmith@gnu.org>
236 * run_make_tests.pl (set_more_defaults): Add CYGWIN_NT as a port
237 type W32. Fixed Savannah bug #15937.
239 * scripts/features/default_names: Don't call error() when the test
240 fails. Fixes Savannah bug #15941.
242 2006-02-17 Paul D. Smith <psmith@gnu.org>
244 * scripts/features/targetvars: Test a complex construction which
245 guarantees that we have to merge variable lists of different
246 sizes. Tests for Savannah bug #15757.
248 2006-02-15 Paul D. Smith <psmith@gnu.org>
250 * scripts/functions/error: Make sure filename/lineno information
251 is related to where the error is expanded, not where it's set.
252 * scripts/functions/warning: Ditto.
253 * scripts/functions/foreach: Check for different error conditions.
254 * scripts/functions/word: Ditto.
255 * scripts/variables/negative: Test some variable reference failure
257 * scripts/options/warn-undefined-variables: Test the
258 --warn-undefined-variables flag.
260 2006-02-09 Paul D. Smith <psmith@gnu.org>
262 * run_make_tests.pl (set_more_defaults): Update valgrind support
264 * test_driver.pl (toplevel): Skip all hidden files/directories (ones
267 * scripts/functions/andor: Tests for $(and ..) and $(or ...)
270 2006-02-08 Boris Kolpackov <boris@kolpackov.net>
272 * scripts/features/parallelism: Add a test for bug #15641.
274 2006-02-06 Paul D. Smith <psmith@gnu.org>
276 * scripts/options/dash-W: Add a test for bug #15341.
278 2006-01-03 Paul D. Smith <psmith@gnu.org>
280 * scripts/variables/automatic: Add a test for bug #8154.
282 * README: Update to reflect the current state of the test suite.
284 2005-12-12 Paul D. Smith <psmith@gnu.org>
286 * scripts/features/parallelism, scripts/functions/wildcard,
287 scripts/targets/FORCE, scripts/targets/PHONY,
288 scripts/targets/SILENT: Use the default setting for
289 $delete_command. Fixes bug #15085.
291 * run_make_tests.pl (get_this_pwd) [VMS]: Use -no_ask with delete_file.
293 2005-12-11 Paul D. Smith <psmith@gnu.org>
295 * scripts/misc/general4: Test implicit rules with '$' in the
296 prereq list & prereq patterns.
297 * scripts/features/se_implicit: Add in .SECONDEXPANSION settings.
299 2005-12-09 Boris Kolpackov <boris@kolpackov.net>
301 * scripts/features/patternrules: Add a test for bug #13022.
303 2005-12-07 Boris Kolpackov <boris@kolpackov.net>
305 * scripts/features/double_colon: Add a test for bug #14334.
307 2005-11-17 Boris Kolpackov <boris@kolpackov.net>
309 * scripts/functions/flavor: Add a test for the flavor function.
311 2005-11-14 Boris Kolpackov <boris@kolpackov.net>
313 * scripts/variables/INCLUDE_DIRS: Add a test for the .INCLUDE_DIRS
316 2005-10-24 Paul D. Smith <psmith@gnu.org>
318 * scripts/misc/general4: Test '$$' in prerequisites list.
319 * scripts/features/statipattrules: Rewrite to use run_make_test().
320 Add various static pattern info.
321 * scripts/features/se_statpat: Enable .SECONDEXPANSION target.
322 * scripts/features/se_explicit: Add tests for handling '$$' in
323 prerequisite lists with and without setting .SECONDEXPANSION.
324 * scripts/features/order_only: Convert to run_make_test().
325 * run_make_tests.pl (set_more_defaults): If we can't get the value
326 of $(MAKE) from make, then fatal immediately.
328 2005-08-31 Paul D. Smith <psmith@gnu.org>
330 * run_make_tests.pl (get_this_pwd): Require the POSIX module (in
331 an eval to trap errors) and if it exists, use POSIX::getcwd to
332 find the working directory. If it doesn't exist, go back to the
333 previous methods. This tries to be more accurate on Windows
336 2005-08-29 Paul D. Smith <psmith@gnu.org>
338 * scripts/functions/abspath: Add some text to the error messages
339 to get a better idea of what's wrong. Make warnings instead of
342 * scripts/features/patspecific_vars: Don't use "test", which is
343 UNIX specific. Print the values and let the test script match
346 2005-08-25 Paul Smith <psmith@gnu.org>
348 * scripts/variables/SHELL: Use a /./ prefix instead of //: the
349 former works better with non-UNIX environments. Fixes Savannah
352 2005-08-13 Boris Kolpackov <boris@kolpackov.net>
354 * scripts/functions/wildcard: Wrap calls to $(wildcard ) with
355 $(sort) so that the resulting order is no longer filesystem-
358 2005-08-10 Boris Kolpackov <boris@kolpackov.net>
360 * scripts/features/statipattrules: Add a test for Savannah bug #13881.
362 2005-08-07 Paul D. Smith <psmith@gnu.org>
364 * scripts/features/parallelism: Add a test for a bug reported by
365 Michael Matz (matz@suse.de) in which make exits without waiting
366 for all its children in some situations during parallel builds.
368 2005-07-08 Paul D. Smith <psmith@gnu.org>
370 * test_driver.pl: Reset the environment to a clean value every
371 time before we invoke make. I'm suspicious that the environment
372 isn't handled the same way in Windows as it is in UNIX, and some
373 variables are leaking out beyond the tests they are intended for.
374 Create an %extraENV hash tests can set to add more env. vars.
375 * tests/scripts/features/export: Change to use %extraENV.
376 * tests/scripts/functions/eval: Ditto.
377 * tests/scripts/functions/origin: Ditto.
378 * tests/scripts/options/dash-e: Ditto.
379 * tests/scripts/variables/SHELL: Ditto.
381 2005-06-27 Paul D. Smith <psmith@gnu.org>
383 * scripts/options/dash-W: Use 'echo >>' instead of touch to update
385 * scripts/features/reinvoke: Rewrite to be safer on systems with
386 subsecond timestamps.
387 * scripts/features/patternrules: False exits with different error
388 codes on different systems (for example, Linux => 1, Solaris => 255).
390 * scripts/options/dash-W: Set the timestamp to foo.x in the future,
391 to be sure it will be considered updated when it's remade.
393 2005-06-26 Paul D. Smith <psmith@gnu.org>
395 * scripts/functions/shell: New test suite for the shell function.
397 2005-06-25 Paul D. Smith <psmith@gnu.org>
399 * scripts/features/include: Test include/-include/sinclude with no
400 arguments. Tests fix for Savannah bug #1761.
402 * scripts/misc/general3: Implement comprehensive testing of
403 backslash-newline behavior in command scripts: various types of
404 quoting, fast path / slow path, etc.
405 Tests fix for Savannah bug #1332.
407 * scripts/options/symlinks: Test symlinks to non-existent files.
408 Tests fix for Savannah bug #13280.
410 * scripts/misc/general3: Test semicolons in variable references.
411 Tests fix for Savannah bug #1454.
413 * scripts/variables/MAKE_RESTARTS: New file: test the
414 MAKE_RESTARTS variable.
415 * scripts/options/dash-B: Test re-exec doesn't loop infinitely.
416 Tests fix for Savannah bug #7566.
417 * scripts/options/dash-W: New file: test the -W flag, including
418 re-exec infinite looping.
420 2005-06-12 Paul D. Smith <psmith@gnu.org>
422 * scripts/misc/close_stdout: Add a test for Savannah bug #1328.
423 This test only works on systems that have /dev/full (e.g., Linux).
425 2005-06-09 Paul D. Smith <psmith@gnu.org>
427 * scripts/functions/foreach: Add a test for Savannah bug #11913.
429 2005-05-31 Boris Kolpackov <boris@kolpackov.net>
431 * scripts/features/include: Add a test for Savannah bug #13216.
432 * scripts/features/patternrules: Add a test for Savannah bug #13218.
434 2005-05-13 Paul D. Smith <psmith@gnu.org>
436 * scripts/features/conditionals: Add tests for the new if... else
439 2005-05-03 Paul D. Smith <psmith@gnu.org>
441 * scripts/variables/DEFAULT_GOAL: Rename DEFAULT_TARGET to
444 2005-05-02 Paul D. Smith <psmith@gnu.org>
446 * scripts/features/parallelism: Add a test for exporting recursive
447 variables containing $(shell ) calls. Rewrite this script to use
448 run_make_test() everywhere.
450 2005-04-07 Paul D. Smith <psmith@gnu.org>
452 * scripts/targets/SECONDARY: Add a test for Savannah bug #12331.
454 2005-03-15 Boris Kolpackov <boris@kolpackov.net>
456 * scripts/variables/automatic: Add a test for Savannah bug #12320.
458 2005-03-10 Boris Kolpackov <boris@kolpackov.net>
460 * scripts/features/patternrules: Add a test for Savannah bug #12267.
462 2005-03-09 Boris Kolpackov <boris@kolpackov.net>
464 * scripts/variables/DEFAULT_TARGET: Add a test for Savannah
467 2005-03-04 Boris Kolpackov <boris@kolpackov.net>
469 * scripts/features/patternrules: Add a test for Savannah bug #12202.
471 2005-03-03 Boris Kolpackov <boris@kolpackov.net>
473 * scripts/features/se_implicit: Add a test for stem
474 termination bug. Add a test for stem triple-expansion bug.
476 * scripts/features/se_statpat: Add a test for stem
477 triple-expansion bug.
479 * scripts/features/statipattrules: Change test #4 to reflect
480 new way empty prerequisite list is handled.
483 2005-03-01 Boris Kolpackov <boris@kolpackov.net>
485 * scripts/features/statipattrules: Add a test for
488 2005-02-28 Paul D. Smith <psmith@gnu.org>
490 * scripts/options/dash-q: Add a test for Savannah bug # 7144.
492 * scripts/options/symlinks: New file to test checking of symlink
493 timestamps. Can't use filename dash-L because it conflicts with
494 dash-l on case-insensitive filesystems.
496 * scripts/variables/MAKEFILE_LIST, scripts/variables/MFILE_LIST:
497 Rename MAKEFILE_LIST test to MFILE_LIST, for systems that need 8.3
500 2005-02-28 Boris Kolpackov <boris@kolpackov.net>
502 * scripts/variables/DEFAULT_TARGET: Test the .DEFAULT_TARGET
505 2005-02-27 Boris Kolpackov <boris@kolpackov.net>
507 * scripts/features/se_explicit: Test the second expansion in
509 * scripts/features/se_implicit: Test the second expansion in
511 * scripts/features/se_statpat: Test the second expansion in
512 static pattern rules.
513 * scripts/variables/automatic: Fix to work with the second
516 * scripts/misc/general4: Add a test for bug #12091.
518 2005-02-27 Paul D. Smith <psmith@gnu.org>
520 * scripts/functions/eval: Check that eval of targets within
521 command scripts fails. See Savannah bug # 12124.
523 2005-02-26 Paul D. Smith <psmith@gnu.org>
525 * test_driver.pl (compare_output): If a basic comparison of the
526 log and answer doesn't match, try harder: change all backslashes
527 to slashes and all CRLF to LF. This helps on DOS/Windows systems.
529 2005-02-09 Paul D. Smith <psmith@gnu.org>
531 * scripts/features/recursion: Test command line variable settings:
532 only one instance of a given variable should be provided.
534 2004-11-30 Boris Kolpackov <boris@kolpackov.net>
536 * tests/scripts/functions/abspath: New file: test `abspath'
539 * tests/scripts/functions/realpath: New file: test `realpath'
542 2004-11-28 Paul D. Smith <psmith@gnu.org>
544 * scripts/options/dash-C [WINDOWS32]: Add a test for bug #10252;
545 this doesn't really test anything useful in UNIX but...
547 * scripts/variables/SHELL: New file: test proper handling of SHELL
548 according to POSIX rules. Fixes bug #1276.
550 2004-10-21 Boris Kolpackov <boris@kolpackov.net>
552 * scripts/functions/word: Test $(firstword ) and $(lastword ).
554 2004-10-05 Boris Kolpackov <boris@kolpackov.net>
556 * scripts/features/patspecific_vars: Test simple/recursive
559 2004-09-28 Boris Kolpackov <boris@kolpackov.net>
561 * scripts/features/include: Test dontcare flag inheritance
562 when rebuilding makefiles.
564 2004-09-27 Boris Kolpackov <boris@kolpackov.net>
566 * scripts/features/patspecific_vars: Test exported variables.
568 2004-09-22 Paul D. Smith <psmith@gnu.org>
570 * run_make_tests.pl (run_make_test): Don't add newlines to the
571 makestring or answer if they are completely empty.
573 * scripts/features/patternrules: Rename from implicit_prereq_eval.
575 * scripts/test_template: Rework the template.
577 2004-09-21 Boris Kolpackov <boris@kolpackov.net>
579 * run_make_tests.pl: Change `#!/usr/local/bin/perl' to be
580 `#!/usr/bin/env perl'.
582 * scripts/features/implicit_prereq_eval: Test implicit rule
583 prerequisite evaluation code.
585 2004-09-21 Paul D. Smith <psmith@gnu.org>
587 * run_make_tests.pl (run_make_test): Enhance to allow the make
588 string to be undef: in that case it reuses the previous make
589 string. Allows multiple tests on the same makefile.
591 * scripts/variables/flavors: Add some tests for prefix characters
592 interacting with define/endef variables.
594 2004-09-20 Paul D. Smith <psmith@gnu.org>
596 * scripts/functions/substitution: Rewrite to use run_make_test()
597 interface, and add test for substitution failures reported by
598 Markus Mauhart <qwe123@chello.at>.
600 2004-03-22 Paul D. Smith <psmith@gnu.org>
602 * test_driver.pl (run_each_test, toplevel, compare_output): Change
603 to track both the testing categories _AND_ the number of
604 individual tests, and report both sets of numbers.
606 2004-02-21 Paul D. Smith <psmith@gnu.org>
608 * scripts/functions/origin: Set our own environment variable
609 rather than relying on $HOME.
611 2004-01-21 Paul D. Smith <psmith@gnu.org>
613 * scripts/features/conditionals: Test arguments to ifn?def which
614 contain whitespace (such as a function that is evaluated). Bug
617 2004-01-07 Paul D. Smith <psmith@gnu.org>
619 * scripts/features/order_only: Test order-only prerequisites in
620 pattern rules (patch #2349).
622 2003-11-02 Paul D. Smith <psmith@gnu.org>
624 * scripts/functions/if: Test if on conditionals with trailing
625 whitespace--bug #5798.
627 * scripts/functions/eval: Test eval in a non-file context--bug #6195.
629 2003-04-19 Paul D. Smith <psmith@gnu.org>
631 * scripts/features/patspecific_vars: Test multiple patterns
632 matching the same target--Bug #1405.
634 2003-04-09 Paul D. Smith <psmith@gnu.org>
636 * run_make_tests.pl (set_more_defaults): A new $port_type of
637 'OS/2' for (surprise!) OS/2. Also choose a wait time of 2 seconds
640 2003-03-28 Paul D. Smith <psmith@gnu.org>
642 * scripts/targets/SECONDARY: Test the "global" .SECONDARY (with
643 not prerequisites)--Bug #2515.
645 2003-01-30 Paul D. Smith <psmith@gnu.org>
647 * scripts/features/targetvars: Test very long target-specific
648 variable definition lines (longer than the default make buffer
649 length). Tests patch # 1022.
651 * scripts/functions/eval: Test very recursive $(eval ...) calls
652 with simple variable expansion (bug #2238).
654 * scripts/functions/word: Test error handling for word and
655 wordlist functions (bug #2407).
657 2003-01-22 Paul D. Smith <psmith@gnu.org>
659 * scripts/functions/call: Test recursive argument masking (bug
662 2002-10-25 Paul D. Smith <psmith@gnu.org>
664 * scripts/functions/eval: Test using $(eval ...) inside
665 conditionals (Bug #1516).
667 2002-10-14 Paul D. Smith <psmith@gnu.org>
669 * scripts/options/dash-t: Add a test for handling -t on targets
670 with no commands (Bug #1418).
672 2002-10-13 Paul D. Smith <psmith@gnu.org>
674 * scripts/features/targetvars: Add a test for exporting
675 target-specific vars (Bug #1391).
677 2002-10-05 Paul D. Smith <psmith@gnu.org>
679 * scripts/variables/automatic: Add tests for $$(@), $${@}, $${@D},
682 2002-09-23 Paul D. Smith <psmith@gnu.org>
684 * scripts/features/escape: Test handling of escaped comment
685 characters in targets and prerequisites.
687 2002-09-18 Paul D. Smith <psmith@gnu.org>
689 * scripts/features/export: Test export/unexport of multiple
690 variables in a single command.
692 2002-09-17 Paul D. Smith <psmith@gnu.org>
694 * scripts/features/targetvars: Tests for Bug #940: test
695 target-specific and pattern-specific variables in conjunction with
696 double-colon targets.
698 2002-09-10 Paul D. Smith <psmith@gnu.org>
700 * test_driver.pl (compare_output): Match the new format for time
703 * scripts/features/export: Created. Add tests for export/unexport
704 capabilities, including exporting/unexporting expanded variables.
706 * scripts/features/conditionals: Add a test for expanded variables
707 in ifdef conditionals.
709 2002-09-04 Paul D. Smith <psmith@gnu.org>
711 * scripts/features/reinvoke: Change touch/sleep combos to utouch
713 * scripts/features/vpathgpath: Ditto.
714 * scripts/features/vpathplus: Ditto.
715 * scripts/options/dash-n: Ditto.
716 * scripts/targets/INTERMEDIATE: Ditto.
717 * scripts/targets/SECONDARY: Ditto.
719 * scripts/options/dash-t: Added a test for the -t bug fixed by
720 Henning Makholm. This test was also contributed by Henning.
722 * scripts/misc/general4: Add a test suite for obscure algorithmic
723 features of make. First test: make sure creation subdirectories
724 as prerequisites of targets works properly.
726 * scripts/misc/version: Remove this bogus test.
728 2002-08-07 Paul D. Smith <psmith@gnu.org>
730 * scripts/misc/general3: Add a test for makefiles that don't end
733 * scripts/variables/special: Create tests for the special
734 variables (.VARIABLES and .TARGETS). Comment out .TARGETS test
735 for now as it's not yet supported.
737 2002-08-01 Paul D. Smith <psmith@gnu.org>
739 * scripts/options/dash-B: Add a test for the new -B option.
741 2002-07-11 Paul D. Smith <psmith@gnu.org>
743 * run_make_tests.pl (valid_option): Add support for Valgrind. Use
744 -valgrind option to the test suite.
745 (set_more_defaults): Set up the file descriptor to capture
746 Valgrind output. We have to unset its close-on-exec flag; we
747 hardcode the value for F_SETFD (2) rather than load it; hopefully
748 this will help us avoid breaking the Windows/DOS test suite.
750 2002-07-10 Paul D. Smith <psmith@gnu.org>
752 * scripts/variables/automatic: Add some tests for $$@, $$(@D), and
755 * test_driver.pl (utouch): Create a new function that creates a
756 file with a specific timestamp offset. Use of this function will
757 let us avoid lots of annoying sleep() invocations in the tests
758 just to get proper timestamping, which will make the tests run a
759 lot faster. So far it's only used in the automatic test suite.
761 2002-07-09 Paul D. Smith <psmith@gnu.org>
763 * scripts/variables/automatic: Create a test for automatic variables.
765 2002-07-08 Paul D. Smith <psmith@gnu.org>
767 * scripts/features/order_only: Test new order-only prerequisites.
769 2002-07-07 Paul D. Smith <psmith@gnu.org>
771 * scripts/functions/eval: Test new function.
772 * scripts/functions/value: Test new function.
773 * scripts/variables/MAKEFILE_LIST: Test new variable.
775 2002-04-28 Paul D. Smith <psmith@gnu.org>
777 * scripts/functions/call: New test: transitive closure
778 implementation using $(call ...) to test variable recursion.
780 2002-04-21 Paul D. Smith <psmith@gnu.org>
782 * test_driver.pl (compare_dir_tree): Ignore CVS and RCS
783 directories in the script directories.
785 2001-05-02 Paul D. Smith <psmith@gnu.org>
787 * scripts/variables/flavors: Test define/endef scripts where only
788 one of the command lines is quiet.
790 2000-06-22 Paul D. Smith <psmith@gnu.org>
792 * scripts/options/dash-q: New file; test the -q option. Includes
795 2000-06-21 Paul D. Smith <psmith@gnu.org>
797 * scripts/features/targetvars: Added a test for PR/1709: allowing
798 semicolons in target-specific variable values.
800 2000-06-19 Paul D. Smith <psmith@gnu.org>
802 * scripts/functions/addsuffix: Test for an empty final argument.
803 Actually this bug might have happened for any function, but this
806 2000-06-17 Eli Zaretskii <eliz@is.elta.co.il>
808 * scripts/options/general: If parallel jobs are not supported,
809 expect a warning message from Make.
811 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
813 * scripts/options/general: Don't try -jN with N != 1 if parallel
814 jobs are not supported.
816 2000-05-24 Paul D. Smith <psmith@gnu.org>
818 * scripts/options/general: Test general option processing (PR/1716).
820 2000-04-11 Paul D. Smith <psmith@gnu.org>
822 * scripts/functions/strip: Test empty value to strip (PR/1689).
824 2000-04-08 Eli Zaretskii <eliz@is.elta.co.il>
826 * scripts/features/reinvoke: Sleep before updating the target
827 files in the first test, to ensure its time stamp really gets
828 newer; otherwise Make might re-exec more than once.
830 2000-04-07 Eli Zaretskii <eliz@is.elta.co.il>
832 * scripts/features/double_colon: Don't run the parallel tests if
833 parallel jobs aren't supported.
835 2000-04-04 Paul D. Smith <psmith@gnu.org>
837 * scripts/functions/word: wordlist doesn't swap arguments anymore.
839 2000-03-27 Paul D. Smith <psmith@gnu.org>
841 * scripts/features/statipattrules: Test that static pattern rules
842 whose prerequisite patterns resolve to empty strings throw an
843 error (instead of dumping core). Fixes PR/1670.
845 * scripts/features/reinvoke: Make more robust by touching "b"
846 first, to ensure it's not newer than "a".
847 Reported by Marco Franzen <Marco.Franzen@Thyron.com>.
848 * scripts/options/dash-n: Ditto.
850 * scripts/functions/call: Whoops. The fix to PR/1527 caused
851 recursive invocations of $(call ...) to break. I can't come up
852 with any way to get both working at the same time, so I backed out
853 the fix to 1527 and added a test case for recursive calls. This
854 also tests the fix for PR/1610.
856 * scripts/features/double_colon: Test that circular dependencies
857 in double-colon rule sets are detected correctly (PR/1671).
859 2000-03-26 Paul D. Smith <psmith@gnu.org>
861 * scripts/targets/INTERMEDIATE: Test that make doesn't remove
862 .INTERMEDIATE files when given on the command line (PR/1669).
864 2000-03-08 Paul D. Smith <psmith@gnu.org>
866 * scripts/options/dash-k: Add a test for error detection by
867 multiple targets depending on the same prerequisite with -k.
870 2000-02-07 Paul D. Smith <psmith@gnu.org>
872 * scripts/features/escape: Add a test for backslash-escaped spaces
873 in a target name (PR/1586).
875 2000-02-04 Paul D. Smith <psmith@gnu.org>
877 * scripts/features/patspecific_vars: Add a test for pattern-specific
878 target variables inherited from the parent target (PR/1407).
880 2000-02-02 Paul D. Smith <psmith@gnu.org>
882 * run_make_tests.pl (set_more_defaults): Hard-code the LANG to C
883 to make sure sorting order, etc. is predictable.
884 Reported by Andreas Jaeger <aj@suse.de>.
886 * run_make_tests.pl (set_more_defaults): Set the $wtime variable
887 depending on the OS. Eli Zaretskii <eliz@is.elta.co.il> reports
888 this seems to need to be *4* on DOS/Windows, not just 2. Keep it
890 * scripts/features/vpathplus (touchfiles): Use the $wtime value
891 instead of hardcoding 2.
892 * scripts/targets/SECONDARY: Ditto.
893 * scripts/targets/INTERMEDIATE: Ditto.
895 2000-01-27 Paul D. Smith <psmith@gnu.org>
897 * test_driver.pl (toplevel): Don't try to run test scripts which
898 are really directories.
900 2000-01-23 Paul D. Smith <psmith@gnu.org>
902 * scripts/features/include: Remove a check; the fix caused more
903 problems than the error, so I removed it and removed the test for
906 2000-01-11 Paul D. Smith <psmith@gnu.org>
908 * scripts/functions/call: Add a test for PR/1517 and PR/1527: make
909 sure $(call ...) doesn't eval its arguments and that you can
910 invoke foreach from it without looping forever.
912 1999-12-15 Paul D. Smith <psmith@gnu.org>
914 * scripts/targets/INTERMEDIATE: Add a test for PR/1423: make sure
915 .INTERMEDIATE settings on files don't disable them as implicit
916 intermediate possibilities.
918 1999-12-01 Paul D. Smith <psmith@gnu.org>
920 * scripts/features/double_colon: Add a test for PR/1476: Try
921 double-colon rules as non-goal targets and during parallel builds
922 to make sure they're handled serially.
924 1999-11-17 Paul D. Smith <psmith@gnu.org>
926 * scripts/functions/if: Add a test for PR/1429: put some text
927 after an if-statement to make sure it works.
929 * scripts/features/targetvars: Add a test for PR/1380: handling +=
930 in target-specific variable definitions correctly.
932 1999-10-15 Paul D. Smith <psmith@gnu.org>
934 * scripts/variables/MAKEFILES: This was really broken: it didn't
935 test anything at all, really. Rewrote it, plus added a test for
938 1999-10-13 Paul D. Smith <psmith@gnu.org>
940 * scripts/options/dash-n: Add a test for PR/1379: "-n doesn't
941 behave properly when used with recursive targets".
943 1999-10-08 Paul D. Smith <psmith@gnu.org>
945 * scripts/features/targetvars: Add a check for PR/1378:
946 "Target-specific vars don't inherit correctly"
948 1999-09-29 Paul D. Smith <psmith@gnu.org>
950 * test_driver.pl (get_osname): Change $fancy_file_names to
951 $short_filenames and reverse the logic.
952 (run_each_test): Change test of non-existent $port_host to use
953 $short_filenames--problem reported by Eli Zaretskii.
955 1999-09-23 Paul D. Smith <psmith@gnu.org>
957 * scripts/features/parallelism: Add a check to ensure that the
958 jobserver works when we re-invoke. Also cleaned up the tests a
959 little, reducing the number of rules we use so the test won't need
960 as many "sleep" commands.
962 1999-09-16 Paul D. Smith <psmith@gnu.org>
964 * scripts/features/reinvoke: Remove invocations of "touch" in
965 makefiles. See the comments on the touch function rewrite below.
966 Note that UNIX touch behaves the same way if the file already
967 exists: it sets the time to the _local_ time. We don't want
968 this. This is probably a good tip for makefile writers in
969 general, actually... where practical.
970 * scripts/options/dash-l: Ditto.
971 * scripts/options/dash-n: Ditto.
973 * test_driver.pl (run_each_test): In retrospect, I don't like the
974 .lN/.bN/.dN postfix required by DOS. So, for non-DOS systems I
975 changed it back to use .log, .base, and .diff.
977 * run_make_tests.pl (set_more_defaults): Move the check for the
978 make pathname to here from set_defaults (that's too early since it
979 happens before the command line processing).
980 Create a new variable $port_type, calculated from $osname, to
981 specify what kind of system we're running on. We should integrate
982 the VOS stuff here, too.
983 (valid_option): Comment out the workdir/-work stuff so people
984 won't be fooled into thinking it works... someone needs to fix
987 * scripts/functions/origin: Use $port_type instead of $osname.
988 * scripts/functions/foreach: Ditto.
989 * scripts/features/default_names: Ditto.
991 1999-09-15 Paul D. Smith <psmith@gnu.org>
993 * test_driver.pl (touch): Rewrite this function. Previously it
994 used to use utime() to hard-set the time based on the current
995 local clock, or, if the file didn't exist, it merely created it.
996 This mirrors exactly what real UNIX touch does, but it fails badly
997 on networked filesystems where the FS server clock is skewed from
998 the local clock: normally modifying a file causes it to get a mod
999 time based on the _server's_ clock. Hard-setting it based on the
1000 _local_ clock causes gratuitous errors and makes the tests
1001 unreliable except on local filesystems. The new function will
1002 simply modify the file, allowing the filesystem to set the mod
1003 time as it sees fit.
1005 * scripts/features/parallelism: The second test output could
1006 change depending on how fast some scripts completed; use "sleep"
1007 to force the order we want.
1009 * test_driver.pl (toplevel): A bug in Perl 5.000 to Perl 5.004
1010 means that "%ENV = ();" doesn't do the right thing. This worked
1011 in Perl 4 and was fixed in Perl 5.004_01, but use a loop to delete
1012 the environment rather than require specific versions.
1014 * run_make_tests.pl (set_more_defaults): Don't use Perl 5 s///
1015 modifier "s", so the tests will run with Perl 4.
1016 (set_more_defaults): Set $pure_log to empty if there's no -logfile
1017 option in PURIFYOPTIONS.
1018 (setup_for_test): Don't remove any logs unless $pure_log is set.
1020 1999-09-15 Eli Zaretskii <eliz@is.elta.co.il>
1022 * scripts/features/reinvoke: Put the SHELL definition in the right
1025 1999-09-15 Paul D. Smith <psmith@gnu.org>
1027 ChangeLog file for the test suite created.
1030 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
1031 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
1032 This file is part of GNU Make.
1034 GNU Make is free software; you can redistribute it and/or modify it under the
1035 terms of the GNU General Public License as published by the Free Software
1036 Foundation; either version 3 of the License, or (at your option) any later
1039 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
1040 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
1041 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1043 You should have received a copy of the GNU General Public License along with
1044 this program. If not, see <http://www.gnu.org/licenses/>.