1 2011-08-29 Paul Smith <psmith@gnu.org>
3 * scripts/features/varnesting: Test resetting of variables while
4 expanding them. See Savannah patch #7534
6 2011-06-12 Paul Smith <psmith@gnu.org>
8 * scripts/features/archives: Check archives with whitespace at the
9 beginning, end, and extra in the middle.
10 Another test for Savannah bug #30612.
12 2011-05-07 Paul Smith <psmith@gnu.org>
14 * scripts/variables/private: Ensure we skip private variables when
15 appending. Test for Savannah bug #32872.
17 * scripts/functions/wildcard: Verify wildcard used to test for
18 file existence/non-existence.
20 2011-05-02 Paul Smith <psmith@gnu.org>
22 * scripts/functions/sort: Add a test for Savannah bug #33125.
24 2011-04-17 David A. Wheeler <dwheeler@dwheeler.com>
26 * scripts/features/shell_assignment: Regression for "!=" feature
28 2010-11-06 Paul Smith <psmith@gnu.org>
30 * scripts/features/targetvars: Fix known-good output for BS/NL changes.
31 * scripts/functions/call: Ditto.
32 * scripts/variables/special: Ditto.
34 * scripts/misc/bs-nl: New test suite for backslash/newline testing.
36 2010-08-29 Paul Smith <psmith@gnu.org>
38 * scripts/features/errors: Add new error message to output text.
39 * scripts/variables/SHELL: Ditto.
40 * scripts/targets/POSIX: Ditto.
41 * scripts/options/dash-k: Ditto.
42 * scripts/features/vpathplus: Ditto.
43 * scripts/features/patternrules: Ditto.
44 * scripts/features/parallelism: Ditto.
46 2010-08-13 Paul Smith <psmith@gnu.org>
48 * scripts/features/archives: New regression tests for archive
49 support. Test for fix to Savannah bug #30612.
51 * run_make_tests.pl (set_more_defaults): Set a %FEATURES hash to
52 the features available in $(.FEATURES).
54 2010-08-10 Paul Smith <psmith@gnu.org>
56 * scripts/features/reinvoke: Ensure command line variable settings
57 are preserved across make re-exec. Tests Savannah bug #30723.
59 2010-07-28 Paul Smith <psmith@gnu.org>
61 * scripts/targets/POSIX: Compatibility issues with Solaris (and
62 Tru64?); "false" returns different exit codes, and set -x shows
63 output with extra whitespace. Run the commands by hand first to
64 find out what the real shell would do, then compare what make does.
65 * scripts/variables/SHELL: Ditto.
67 2010-07-12 Paul Smith <psmith@gnu.org>
69 * test_driver.pl: Add a new $perl_name containing the path to Perl.
70 * run_make_tests.pl (run_make_test): Replace the special string
71 #PERL# in a makefile etc. with the path the Perl executable so
74 * scripts/targets/ONESHELL: Add a new set of regression tests for
75 the .ONESHELL feature.
77 2010-07-06 Paul Smith <psmith@gnu.org>
79 * scripts/variables/SHELL: Test the new .SHELLFLAGS variable.
81 * scripts/targets/POSIX: New file. Test the .POSIX special target.
82 Verify that enabling .POSIX changes the shell flags to set -e.
84 2010-07-01 Paul Smith <psmith@gnu.org>
86 * scripts/features/recursion: Add a space to separate command-line
87 args. Fixes Savannah bug #29968.
89 2009-11-12 Boris Kolpackov <boris@codesynthesis.com>
91 * scripts/features/vpath3: Test for the new library search
94 2009-10-06 Boris Kolpackov <boris@codesynthesis.com>
96 * scripts/features/se_explicit: Enable the test for now fixed
99 2009-10-06 Boris Kolpackov <boris@codesynthesis.com>
101 * scripts/variables/undefine: Tests for the new undefine feature.
103 2009-10-03 Paul Smith <psmith@gnu.org>
105 * scripts/features/parallelism: Test for open Savannah bug #26846.
107 * scripts/variables/MAKE: Rewrite for new run_make_test() format.
109 * scripts/variables/MAKEFLAGS: Created.
110 Add test for Savannah bug #2216 (still open).
112 * scripts/features/include: Test for Savannah bug #102 (still open).
114 2009-09-30 Boris Kolpackov <boris@codesynthesis.com>
116 * scripts/features/include: Add diagnostics issuing tests for
117 cases where targets have been updated and failed with the
118 dontcare flag. Savannah bugs #15110, #25493, #12686, #17740.
120 2009-09-28 Paul Smith <psmith@gnu.org>
122 * scripts/functions/shell: Add regression test for Savannah bug
125 * scripts/features/se_explicit: Add regression tests for Savannah
126 bug #25780 (still open).
128 * run_make_tests.pl (valid_option): Add a new flag, -all([-_]?tests)?
129 that runs tests we know will fail. This allows us to add
130 regression tests to the test suite for bugs that haven't been
133 2009-09-28 Boris Kolpackov <boris@codesynthesis.com>
135 * scripts/features/patspecific_vars: Add a test for the shortest
138 * scripts/features/patternrules: Add a test for the shortest stem
141 2009-09-24 Paul Smith <psmith@gnu.org>
143 * scripts/features/se_implicit: Add a test for order-only
144 secondary expansion prerequisites.
146 2009-09-23 Paul Smith <psmith@gnu.org>
148 * scripts/features/patternrules: Test that we can remove pattern
149 rules, both single and multiple prerequisites. Savannah bug #18622.
151 * scripts/features/echoing: Rework for run_make_test().
153 2009-06-14 Paul Smith <psmith@gnu.org>
155 * scripts/features/vpath: Verify we don't get bogus circular
156 dependency warnings if we choose a different file via vpath during
157 update. Savannah bug #13529.
159 2009-06-13 Paul Smith <psmith@gnu.org>
161 * scripts/variables/MAKEFILES: Verify that MAKEFILES included
162 files (and files included by them) don't set the default goal.
165 * scripts/functions/wildcard: Test that wildcards with
166 non-existent glob matchers return empty.
168 2009-06-09 Paul Smith <psmith@gnu.org>
170 * scripts/options/dash-B: Test the $? works correctly with -B.
173 * scripts/features/patternrules: Test that dependencies of
174 "also_make" targets are created properly. Savannah bug #19108.
176 * test_driver.pl (compare_output): Create a "run" file for failed
177 tests containing the command that was run.
178 (get_runfile): New function.
180 * run_make_tests.pl (valid_option): Enhanced support for valgrind:
181 allow memcheck and massif tools.
183 * scripts/features/patternrules: Have to comment out a line in the
184 first test due to backing out a change that broke the implicit
185 rule search algorithm. Savannah bug #17752.
186 * scripts/misc/general4: Remove a test that is redundant with
189 * scripts/features/parallelism: Add a test for re-exec with
190 jobserver master override. Savannah bug #18124.
192 2009-06-08 Paul Smith <psmith@gnu.org>
194 * scripts/features/targetvars: Add a test for continued target
195 vars after a semicolon. Savannah bug #17521.
197 2009-06-07 Paul Smith <psmith@gnu.org>
199 * scripts/features/se_explicit: Make sure we catch defining
200 prereqs during snap_deps(). Savannah bug #24622.
202 * scripts/variables/automatic: Check prereq ordering when the
203 target with the recipe has no prereqs. Savannah bug #21198.
205 * scripts/variables/LIBPATTERNS: Add a new set of test for
206 $(.LIBPATTERNS) (previously untested!)
208 2009-06-04 Paul Smith <psmith@gnu.org>
210 * scripts/variables/SHELL: The export target-specific SHELL test
211 has an incorrect known-good-value.
213 * scripts/misc/general4: Check for whitespace (ffeed, vtab, etc.)
215 * scripts/features/se_explicit: Add tests for Savannah bug #24588.
217 2009-05-31 Paul Smith <psmith@gnu.org>
219 * scripts/variables/DEFAULT_GOAL: Add tests for Savannah bug #25697.
221 * scripts/features/targetvars: Add tests of overrides for Savannah
223 * scripts/features/patspecific_vars: Ditto.
225 * scripts/features/patternrules: Add a test for Savannah bug #26593.
227 2009-05-30 Paul Smith <psmith@gnu.org>
229 * scripts/variables/flavors: Update with new variable flavor tests.
230 * scripts/variables/define: Create a new set of tests for
231 define/endef and move those aspects of the flavors suite here.
233 2009-05-25 Paul Smith <psmith@gnu.org>
235 * scripts/features/targetvars: Ditto.
237 * scripts/features/export: Test new variable parsing abilities.
239 2009-02-23 Ramon Garcia <ramon.garcia.f@gmail.com>
241 * scripts/variables/private: Create a new suite of tests for 'private'.
243 2007-11-04 Paul Smith <psmith@gnu.org>
245 * scripts/functions/eval: Update error message for command -> recipe.
247 * test_driver.pl (compare_output): Allow the answer to be a regex,
248 if surrounded by '/'.
249 * scripts/misc/close_stdout: Use a regex for the answer, since
250 sometimes the error will have a description and sometimes it won't.
252 2007-09-10 Paul Smith <psmith@gnu.org>
254 * scripts/variables/special: Add tests for .RECIPEPREFIX variable.
256 2007-08-15 Paul Smith <psmith@gnu.org>
258 These test cases were contributed by
259 Icarus Sparry <savannah@icarus.freeuk.com> and J. David Bryan for
260 Savannah bugs #3330 and #15919.
262 * scripts/targets/SECONDARY: Add tests for Savannah bugs 3330 and
265 * scripts/features/parallelism: Add tests for wrong answer/hang
266 combining INTERMEDIATE, order-only prereqs, and parallelism.
267 See Savannah bugs 3330 and 15919.
269 2007-07-13 Paul Smith <psmith@gnu.org>
271 Install a timeout so tests can never loop infinitely.
272 Original idea and patch for a single-test version provided by
273 Icarus Sparry <savannah@icarus.freeuk.com>
275 * test_driver.pl (_run_command): New function: this is called by
276 other functions to actually run a command. Before we run it,
277 install a SIGALRM handler and set up a timer to go off in the
278 future (default is 5s; this can be overridden by individual tests).
279 (run_command): Call it.
280 (run_command_with_output): Call it.
282 * run_make_tests.pl (run_make_with_options): Override the default
283 timeout if the caller requests it.
284 (run_make_test): Pass any timeout override to run_make_with_options.
286 * scripts/features/parallelism: Increase the timeout for long tests.
287 * scripts/options/dash-l: Ditto.
289 2006-10-01 Paul Smith <psmith@paulandlesley.org>
291 * run_make_tests.pl (set_more_defaults): Remove setting of LANG in
292 ENV here. This doesn't always work.
293 * test_driver.pl (toplevel): Set LC_ALL to 'C' in the make
294 environment. Fixes Savannah bug #16698.
296 2006-09-30 Paul Smith <psmith@paulandlesley.org>
298 * scripts/variables/automatic: Add back the test for bug #8154.
300 2006-04-01 Paul D. Smith <psmith@gnu.org>
302 * scripts/functions/realpath: Don't run tests with multiple
303 initial slashes on Windows: those paths mean something different.
305 2006-03-19 Paul D. Smith <psmith@gnu.org>
307 * scripts/features/parallelism: Test that the jobserver is
308 properly managed when we have to re-exec the master instance of
311 2006-03-17 Boris Kolpackov <boris@kolpackov.net>
313 * scripts/features/statipattrules: Add tests for bug #16053.
315 2006-03-09 Paul Smith <psmith@gnu.org>
317 * scripts/features/escape: Use "pre:" not "p:" to avoid conflicts
318 with DOS drive letters. Fixes Savannah bug #15947.
320 * test_driver.pl (run_each_test): Set the status properly even
321 when a test fails to execute. Fixes Savannah bug #15942.
323 * scripts/functions/foreach: Use a different environment variable
324 other than PATH to avoid differences with Windows platforms.
325 Fixes Savannah bug #15938.
327 2006-03-05 Paul D. Smith <psmith@gnu.org>
329 * run_make_tests.pl (set_more_defaults): Add CYGWIN_NT as a port
330 type W32. Fixed Savannah bug #15937.
332 * scripts/features/default_names: Don't call error() when the test
333 fails. Fixes Savannah bug #15941.
335 2006-02-17 Paul D. Smith <psmith@gnu.org>
337 * scripts/features/targetvars: Test a complex construction which
338 guarantees that we have to merge variable lists of different
339 sizes. Tests for Savannah bug #15757.
341 2006-02-15 Paul D. Smith <psmith@gnu.org>
343 * scripts/functions/error: Make sure filename/lineno information
344 is related to where the error is expanded, not where it's set.
345 * scripts/functions/warning: Ditto.
346 * scripts/functions/foreach: Check for different error conditions.
347 * scripts/functions/word: Ditto.
348 * scripts/variables/negative: Test some variable reference failure
350 * scripts/options/warn-undefined-variables: Test the
351 --warn-undefined-variables flag.
353 2006-02-09 Paul D. Smith <psmith@gnu.org>
355 * run_make_tests.pl (set_more_defaults): Update valgrind support
357 * test_driver.pl (toplevel): Skip all hidden files/directories (ones
360 * scripts/functions/andor: Tests for $(and ..) and $(or ...)
363 2006-02-08 Boris Kolpackov <boris@kolpackov.net>
365 * scripts/features/parallelism: Add a test for bug #15641.
367 2006-02-06 Paul D. Smith <psmith@gnu.org>
369 * scripts/options/dash-W: Add a test for bug #15341.
371 2006-01-03 Paul D. Smith <psmith@gnu.org>
373 * scripts/variables/automatic: Add a test for bug #8154.
375 * README: Update to reflect the current state of the test suite.
377 2005-12-12 Paul D. Smith <psmith@gnu.org>
379 * scripts/features/parallelism, scripts/functions/wildcard,
380 scripts/targets/FORCE, scripts/targets/PHONY,
381 scripts/targets/SILENT: Use the default setting for
382 $delete_command. Fixes bug #15085.
384 * run_make_tests.pl (get_this_pwd) [VMS]: Use -no_ask with delete_file.
386 2005-12-11 Paul D. Smith <psmith@gnu.org>
388 * scripts/misc/general4: Test implicit rules with '$' in the
389 prereq list & prereq patterns.
390 * scripts/features/se_implicit: Add in .SECONDEXPANSION settings.
392 2005-12-09 Boris Kolpackov <boris@kolpackov.net>
394 * scripts/features/patternrules: Add a test for bug #13022.
396 2005-12-07 Boris Kolpackov <boris@kolpackov.net>
398 * scripts/features/double_colon: Add a test for bug #14334.
400 2005-11-17 Boris Kolpackov <boris@kolpackov.net>
402 * scripts/functions/flavor: Add a test for the flavor function.
404 2005-11-14 Boris Kolpackov <boris@kolpackov.net>
406 * scripts/variables/INCLUDE_DIRS: Add a test for the .INCLUDE_DIRS
409 2005-10-24 Paul D. Smith <psmith@gnu.org>
411 * scripts/misc/general4: Test '$$' in prerequisites list.
412 * scripts/features/statipattrules: Rewrite to use run_make_test().
413 Add various static pattern info.
414 * scripts/features/se_statpat: Enable .SECONDEXPANSION target.
415 * scripts/features/se_explicit: Add tests for handling '$$' in
416 prerequisite lists with and without setting .SECONDEXPANSION.
417 * scripts/features/order_only: Convert to run_make_test().
418 * run_make_tests.pl (set_more_defaults): If we can't get the value
419 of $(MAKE) from make, then fatal immediately.
421 2005-08-31 Paul D. Smith <psmith@gnu.org>
423 * run_make_tests.pl (get_this_pwd): Require the POSIX module (in
424 an eval to trap errors) and if it exists, use POSIX::getcwd to
425 find the working directory. If it doesn't exist, go back to the
426 previous methods. This tries to be more accurate on Windows
429 2005-08-29 Paul D. Smith <psmith@gnu.org>
431 * scripts/functions/abspath: Add some text to the error messages
432 to get a better idea of what's wrong. Make warnings instead of
435 * scripts/features/patspecific_vars: Don't use "test", which is
436 UNIX specific. Print the values and let the test script match
439 2005-08-25 Paul Smith <psmith@gnu.org>
441 * scripts/variables/SHELL: Use a /./ prefix instead of //: the
442 former works better with non-UNIX environments. Fixes Savannah
445 2005-08-13 Boris Kolpackov <boris@kolpackov.net>
447 * scripts/functions/wildcard: Wrap calls to $(wildcard ) with
448 $(sort) so that the resulting order is no longer filesystem-
451 2005-08-10 Boris Kolpackov <boris@kolpackov.net>
453 * scripts/features/statipattrules: Add a test for Savannah bug #13881.
455 2005-08-07 Paul D. Smith <psmith@gnu.org>
457 * scripts/features/parallelism: Add a test for a bug reported by
458 Michael Matz (matz@suse.de) in which make exits without waiting
459 for all its children in some situations during parallel builds.
461 2005-07-08 Paul D. Smith <psmith@gnu.org>
463 * test_driver.pl: Reset the environment to a clean value every
464 time before we invoke make. I'm suspicious that the environment
465 isn't handled the same way in Windows as it is in UNIX, and some
466 variables are leaking out beyond the tests they are intended for.
467 Create an %extraENV hash tests can set to add more env. vars.
468 * tests/scripts/features/export: Change to use %extraENV.
469 * tests/scripts/functions/eval: Ditto.
470 * tests/scripts/functions/origin: Ditto.
471 * tests/scripts/options/dash-e: Ditto.
472 * tests/scripts/variables/SHELL: Ditto.
474 2005-06-27 Paul D. Smith <psmith@gnu.org>
476 * scripts/options/dash-W: Use 'echo >>' instead of touch to update
478 * scripts/features/reinvoke: Rewrite to be safer on systems with
479 subsecond timestamps.
480 * scripts/features/patternrules: False exits with different error
481 codes on different systems (for example, Linux => 1, Solaris => 255).
483 * scripts/options/dash-W: Set the timestamp to foo.x in the future,
484 to be sure it will be considered updated when it's remade.
486 2005-06-26 Paul D. Smith <psmith@gnu.org>
488 * scripts/functions/shell: New test suite for the shell function.
490 2005-06-25 Paul D. Smith <psmith@gnu.org>
492 * scripts/features/include: Test include/-include/sinclude with no
493 arguments. Tests fix for Savannah bug #1761.
495 * scripts/misc/general3: Implement comprehensive testing of
496 backslash-newline behavior in command scripts: various types of
497 quoting, fast path / slow path, etc.
498 Tests fix for Savannah bug #1332.
500 * scripts/options/symlinks: Test symlinks to non-existent files.
501 Tests fix for Savannah bug #13280.
503 * scripts/misc/general3: Test semicolons in variable references.
504 Tests fix for Savannah bug #1454.
506 * scripts/variables/MAKE_RESTARTS: New file: test the
507 MAKE_RESTARTS variable.
508 * scripts/options/dash-B: Test re-exec doesn't loop infinitely.
509 Tests fix for Savannah bug #7566.
510 * scripts/options/dash-W: New file: test the -W flag, including
511 re-exec infinite looping.
513 2005-06-12 Paul D. Smith <psmith@gnu.org>
515 * scripts/misc/close_stdout: Add a test for Savannah bug #1328.
516 This test only works on systems that have /dev/full (e.g., Linux).
518 2005-06-09 Paul D. Smith <psmith@gnu.org>
520 * scripts/functions/foreach: Add a test for Savannah bug #11913.
522 2005-05-31 Boris Kolpackov <boris@kolpackov.net>
524 * scripts/features/include: Add a test for Savannah bug #13216.
525 * scripts/features/patternrules: Add a test for Savannah bug #13218.
527 2005-05-13 Paul D. Smith <psmith@gnu.org>
529 * scripts/features/conditionals: Add tests for the new if... else
532 2005-05-03 Paul D. Smith <psmith@gnu.org>
534 * scripts/variables/DEFAULT_GOAL: Rename DEFAULT_TARGET to
537 2005-05-02 Paul D. Smith <psmith@gnu.org>
539 * scripts/features/parallelism: Add a test for exporting recursive
540 variables containing $(shell ) calls. Rewrite this script to use
541 run_make_test() everywhere.
543 2005-04-07 Paul D. Smith <psmith@gnu.org>
545 * scripts/targets/SECONDARY: Add a test for Savannah bug #12331.
547 2005-03-15 Boris Kolpackov <boris@kolpackov.net>
549 * scripts/variables/automatic: Add a test for Savannah bug #12320.
551 2005-03-10 Boris Kolpackov <boris@kolpackov.net>
553 * scripts/features/patternrules: Add a test for Savannah bug #12267.
555 2005-03-09 Boris Kolpackov <boris@kolpackov.net>
557 * scripts/variables/DEFAULT_TARGET: Add a test for Savannah
560 2005-03-04 Boris Kolpackov <boris@kolpackov.net>
562 * scripts/features/patternrules: Add a test for Savannah bug #12202.
564 2005-03-03 Boris Kolpackov <boris@kolpackov.net>
566 * scripts/features/se_implicit: Add a test for stem
567 termination bug. Add a test for stem triple-expansion bug.
569 * scripts/features/se_statpat: Add a test for stem
570 triple-expansion bug.
572 * scripts/features/statipattrules: Change test #4 to reflect
573 new way empty prerequisite list is handled.
576 2005-03-01 Boris Kolpackov <boris@kolpackov.net>
578 * scripts/features/statipattrules: Add a test for
581 2005-02-28 Paul D. Smith <psmith@gnu.org>
583 * scripts/options/dash-q: Add a test for Savannah bug # 7144.
585 * scripts/options/symlinks: New file to test checking of symlink
586 timestamps. Can't use filename dash-L because it conflicts with
587 dash-l on case-insensitive filesystems.
589 * scripts/variables/MAKEFILE_LIST, scripts/variables/MFILE_LIST:
590 Rename MAKEFILE_LIST test to MFILE_LIST, for systems that need 8.3
593 2005-02-28 Boris Kolpackov <boris@kolpackov.net>
595 * scripts/variables/DEFAULT_TARGET: Test the .DEFAULT_TARGET
598 2005-02-27 Boris Kolpackov <boris@kolpackov.net>
600 * scripts/features/se_explicit: Test the second expansion in
602 * scripts/features/se_implicit: Test the second expansion in
604 * scripts/features/se_statpat: Test the second expansion in
605 static pattern rules.
606 * scripts/variables/automatic: Fix to work with the second
609 * scripts/misc/general4: Add a test for bug #12091.
611 2005-02-27 Paul D. Smith <psmith@gnu.org>
613 * scripts/functions/eval: Check that eval of targets within
614 command scripts fails. See Savannah bug # 12124.
616 2005-02-26 Paul D. Smith <psmith@gnu.org>
618 * test_driver.pl (compare_output): If a basic comparison of the
619 log and answer doesn't match, try harder: change all backslashes
620 to slashes and all CRLF to LF. This helps on DOS/Windows systems.
622 2005-02-09 Paul D. Smith <psmith@gnu.org>
624 * scripts/features/recursion: Test command line variable settings:
625 only one instance of a given variable should be provided.
627 2004-11-30 Boris Kolpackov <boris@kolpackov.net>
629 * tests/scripts/functions/abspath: New file: test `abspath'
632 * tests/scripts/functions/realpath: New file: test `realpath'
635 2004-11-28 Paul D. Smith <psmith@gnu.org>
637 * scripts/options/dash-C [WINDOWS32]: Add a test for bug #10252;
638 this doesn't really test anything useful in UNIX but...
640 * scripts/variables/SHELL: New file: test proper handling of SHELL
641 according to POSIX rules. Fixes bug #1276.
643 2004-10-21 Boris Kolpackov <boris@kolpackov.net>
645 * scripts/functions/word: Test $(firstword ) and $(lastword ).
647 2004-10-05 Boris Kolpackov <boris@kolpackov.net>
649 * scripts/features/patspecific_vars: Test simple/recursive
652 2004-09-28 Boris Kolpackov <boris@kolpackov.net>
654 * scripts/features/include: Test dontcare flag inheritance
655 when rebuilding makefiles.
657 2004-09-27 Boris Kolpackov <boris@kolpackov.net>
659 * scripts/features/patspecific_vars: Test exported variables.
661 2004-09-22 Paul D. Smith <psmith@gnu.org>
663 * run_make_tests.pl (run_make_test): Don't add newlines to the
664 makestring or answer if they are completely empty.
666 * scripts/features/patternrules: Rename from implicit_prereq_eval.
668 * scripts/test_template: Rework the template.
670 2004-09-21 Boris Kolpackov <boris@kolpackov.net>
672 * run_make_tests.pl: Change `#!/usr/local/bin/perl' to be
673 `#!/usr/bin/env perl'.
675 * scripts/features/implicit_prereq_eval: Test implicit rule
676 prerequisite evaluation code.
678 2004-09-21 Paul D. Smith <psmith@gnu.org>
680 * run_make_tests.pl (run_make_test): Enhance to allow the make
681 string to be undef: in that case it reuses the previous make
682 string. Allows multiple tests on the same makefile.
684 * scripts/variables/flavors: Add some tests for prefix characters
685 interacting with define/endef variables.
687 2004-09-20 Paul D. Smith <psmith@gnu.org>
689 * scripts/functions/substitution: Rewrite to use run_make_test()
690 interface, and add test for substitution failures reported by
691 Markus Mauhart <qwe123@chello.at>.
693 2004-03-22 Paul D. Smith <psmith@gnu.org>
695 * test_driver.pl (run_each_test, toplevel, compare_output): Change
696 to track both the testing categories _AND_ the number of
697 individual tests, and report both sets of numbers.
699 2004-02-21 Paul D. Smith <psmith@gnu.org>
701 * scripts/functions/origin: Set our own environment variable
702 rather than relying on $HOME.
704 2004-01-21 Paul D. Smith <psmith@gnu.org>
706 * scripts/features/conditionals: Test arguments to ifn?def which
707 contain whitespace (such as a function that is evaluated). Bug
710 2004-01-07 Paul D. Smith <psmith@gnu.org>
712 * scripts/features/order_only: Test order-only prerequisites in
713 pattern rules (patch #2349).
715 2003-11-02 Paul D. Smith <psmith@gnu.org>
717 * scripts/functions/if: Test if on conditionals with trailing
718 whitespace--bug #5798.
720 * scripts/functions/eval: Test eval in a non-file context--bug #6195.
722 2003-04-19 Paul D. Smith <psmith@gnu.org>
724 * scripts/features/patspecific_vars: Test multiple patterns
725 matching the same target--Bug #1405.
727 2003-04-09 Paul D. Smith <psmith@gnu.org>
729 * run_make_tests.pl (set_more_defaults): A new $port_type of
730 'OS/2' for (surprise!) OS/2. Also choose a wait time of 2 seconds
733 2003-03-28 Paul D. Smith <psmith@gnu.org>
735 * scripts/targets/SECONDARY: Test the "global" .SECONDARY (with
736 not prerequisites)--Bug #2515.
738 2003-01-30 Paul D. Smith <psmith@gnu.org>
740 * scripts/features/targetvars: Test very long target-specific
741 variable definition lines (longer than the default make buffer
742 length). Tests patch # 1022.
744 * scripts/functions/eval: Test very recursive $(eval ...) calls
745 with simple variable expansion (bug #2238).
747 * scripts/functions/word: Test error handling for word and
748 wordlist functions (bug #2407).
750 2003-01-22 Paul D. Smith <psmith@gnu.org>
752 * scripts/functions/call: Test recursive argument masking (bug
755 2002-10-25 Paul D. Smith <psmith@gnu.org>
757 * scripts/functions/eval: Test using $(eval ...) inside
758 conditionals (Bug #1516).
760 2002-10-14 Paul D. Smith <psmith@gnu.org>
762 * scripts/options/dash-t: Add a test for handling -t on targets
763 with no commands (Bug #1418).
765 2002-10-13 Paul D. Smith <psmith@gnu.org>
767 * scripts/features/targetvars: Add a test for exporting
768 target-specific vars (Bug #1391).
770 2002-10-05 Paul D. Smith <psmith@gnu.org>
772 * scripts/variables/automatic: Add tests for $$(@), $${@}, $${@D},
775 2002-09-23 Paul D. Smith <psmith@gnu.org>
777 * scripts/features/escape: Test handling of escaped comment
778 characters in targets and prerequisites.
780 2002-09-18 Paul D. Smith <psmith@gnu.org>
782 * scripts/features/export: Test export/unexport of multiple
783 variables in a single command.
785 2002-09-17 Paul D. Smith <psmith@gnu.org>
787 * scripts/features/targetvars: Tests for Bug #940: test
788 target-specific and pattern-specific variables in conjunction with
789 double-colon targets.
791 2002-09-10 Paul D. Smith <psmith@gnu.org>
793 * test_driver.pl (compare_output): Match the new format for time
796 * scripts/features/export: Created. Add tests for export/unexport
797 capabilities, including exporting/unexporting expanded variables.
799 * scripts/features/conditionals: Add a test for expanded variables
800 in ifdef conditionals.
802 2002-09-04 Paul D. Smith <psmith@gnu.org>
804 * scripts/features/reinvoke: Change touch/sleep combos to utouch
806 * scripts/features/vpathgpath: Ditto.
807 * scripts/features/vpathplus: Ditto.
808 * scripts/options/dash-n: Ditto.
809 * scripts/targets/INTERMEDIATE: Ditto.
810 * scripts/targets/SECONDARY: Ditto.
812 * scripts/options/dash-t: Added a test for the -t bug fixed by
813 Henning Makholm. This test was also contributed by Henning.
815 * scripts/misc/general4: Add a test suite for obscure algorithmic
816 features of make. First test: make sure creation subdirectories
817 as prerequisites of targets works properly.
819 * scripts/misc/version: Remove this bogus test.
821 2002-08-07 Paul D. Smith <psmith@gnu.org>
823 * scripts/misc/general3: Add a test for makefiles that don't end
826 * scripts/variables/special: Create tests for the special
827 variables (.VARIABLES and .TARGETS). Comment out .TARGETS test
828 for now as it's not yet supported.
830 2002-08-01 Paul D. Smith <psmith@gnu.org>
832 * scripts/options/dash-B: Add a test for the new -B option.
834 2002-07-11 Paul D. Smith <psmith@gnu.org>
836 * run_make_tests.pl (valid_option): Add support for Valgrind. Use
837 -valgrind option to the test suite.
838 (set_more_defaults): Set up the file descriptor to capture
839 Valgrind output. We have to unset its close-on-exec flag; we
840 hardcode the value for F_SETFD (2) rather than load it; hopefully
841 this will help us avoid breaking the Windows/DOS test suite.
843 2002-07-10 Paul D. Smith <psmith@gnu.org>
845 * scripts/variables/automatic: Add some tests for $$@, $$(@D), and
848 * test_driver.pl (utouch): Create a new function that creates a
849 file with a specific timestamp offset. Use of this function will
850 let us avoid lots of annoying sleep() invocations in the tests
851 just to get proper timestamping, which will make the tests run a
852 lot faster. So far it's only used in the automatic test suite.
854 2002-07-09 Paul D. Smith <psmith@gnu.org>
856 * scripts/variables/automatic: Create a test for automatic variables.
858 2002-07-08 Paul D. Smith <psmith@gnu.org>
860 * scripts/features/order_only: Test new order-only prerequisites.
862 2002-07-07 Paul D. Smith <psmith@gnu.org>
864 * scripts/functions/eval: Test new function.
865 * scripts/functions/value: Test new function.
866 * scripts/variables/MAKEFILE_LIST: Test new variable.
868 2002-04-28 Paul D. Smith <psmith@gnu.org>
870 * scripts/functions/call: New test: transitive closure
871 implementation using $(call ...) to test variable recursion.
873 2002-04-21 Paul D. Smith <psmith@gnu.org>
875 * test_driver.pl (compare_dir_tree): Ignore CVS and RCS
876 directories in the script directories.
878 2001-05-02 Paul D. Smith <psmith@gnu.org>
880 * scripts/variables/flavors: Test define/endef scripts where only
881 one of the command lines is quiet.
883 2000-06-22 Paul D. Smith <psmith@gnu.org>
885 * scripts/options/dash-q: New file; test the -q option. Includes
888 2000-06-21 Paul D. Smith <psmith@gnu.org>
890 * scripts/features/targetvars: Added a test for PR/1709: allowing
891 semicolons in target-specific variable values.
893 2000-06-19 Paul D. Smith <psmith@gnu.org>
895 * scripts/functions/addsuffix: Test for an empty final argument.
896 Actually this bug might have happened for any function, but this
899 2000-06-17 Eli Zaretskii <eliz@is.elta.co.il>
901 * scripts/options/general: If parallel jobs are not supported,
902 expect a warning message from Make.
904 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
906 * scripts/options/general: Don't try -jN with N != 1 if parallel
907 jobs are not supported.
909 2000-05-24 Paul D. Smith <psmith@gnu.org>
911 * scripts/options/general: Test general option processing (PR/1716).
913 2000-04-11 Paul D. Smith <psmith@gnu.org>
915 * scripts/functions/strip: Test empty value to strip (PR/1689).
917 2000-04-08 Eli Zaretskii <eliz@is.elta.co.il>
919 * scripts/features/reinvoke: Sleep before updating the target
920 files in the first test, to ensure its time stamp really gets
921 newer; otherwise Make might re-exec more than once.
923 2000-04-07 Eli Zaretskii <eliz@is.elta.co.il>
925 * scripts/features/double_colon: Don't run the parallel tests if
926 parallel jobs aren't supported.
928 2000-04-04 Paul D. Smith <psmith@gnu.org>
930 * scripts/functions/word: wordlist doesn't swap arguments anymore.
932 2000-03-27 Paul D. Smith <psmith@gnu.org>
934 * scripts/features/statipattrules: Test that static pattern rules
935 whose prerequisite patterns resolve to empty strings throw an
936 error (instead of dumping core). Fixes PR/1670.
938 * scripts/features/reinvoke: Make more robust by touching "b"
939 first, to ensure it's not newer than "a".
940 Reported by Marco Franzen <Marco.Franzen@Thyron.com>.
941 * scripts/options/dash-n: Ditto.
943 * scripts/functions/call: Whoops. The fix to PR/1527 caused
944 recursive invocations of $(call ...) to break. I can't come up
945 with any way to get both working at the same time, so I backed out
946 the fix to 1527 and added a test case for recursive calls. This
947 also tests the fix for PR/1610.
949 * scripts/features/double_colon: Test that circular dependencies
950 in double-colon rule sets are detected correctly (PR/1671).
952 2000-03-26 Paul D. Smith <psmith@gnu.org>
954 * scripts/targets/INTERMEDIATE: Test that make doesn't remove
955 .INTERMEDIATE files when given on the command line (PR/1669).
957 2000-03-08 Paul D. Smith <psmith@gnu.org>
959 * scripts/options/dash-k: Add a test for error detection by
960 multiple targets depending on the same prerequisite with -k.
963 2000-02-07 Paul D. Smith <psmith@gnu.org>
965 * scripts/features/escape: Add a test for backslash-escaped spaces
966 in a target name (PR/1586).
968 2000-02-04 Paul D. Smith <psmith@gnu.org>
970 * scripts/features/patspecific_vars: Add a test for pattern-specific
971 target variables inherited from the parent target (PR/1407).
973 2000-02-02 Paul D. Smith <psmith@gnu.org>
975 * run_make_tests.pl (set_more_defaults): Hard-code the LANG to C
976 to make sure sorting order, etc. is predictable.
977 Reported by Andreas Jaeger <aj@suse.de>.
979 * run_make_tests.pl (set_more_defaults): Set the $wtime variable
980 depending on the OS. Eli Zaretskii <eliz@is.elta.co.il> reports
981 this seems to need to be *4* on DOS/Windows, not just 2. Keep it
983 * scripts/features/vpathplus (touchfiles): Use the $wtime value
984 instead of hardcoding 2.
985 * scripts/targets/SECONDARY: Ditto.
986 * scripts/targets/INTERMEDIATE: Ditto.
988 2000-01-27 Paul D. Smith <psmith@gnu.org>
990 * test_driver.pl (toplevel): Don't try to run test scripts which
991 are really directories.
993 2000-01-23 Paul D. Smith <psmith@gnu.org>
995 * scripts/features/include: Remove a check; the fix caused more
996 problems than the error, so I removed it and removed the test for
999 2000-01-11 Paul D. Smith <psmith@gnu.org>
1001 * scripts/functions/call: Add a test for PR/1517 and PR/1527: make
1002 sure $(call ...) doesn't eval its arguments and that you can
1003 invoke foreach from it without looping forever.
1005 1999-12-15 Paul D. Smith <psmith@gnu.org>
1007 * scripts/targets/INTERMEDIATE: Add a test for PR/1423: make sure
1008 .INTERMEDIATE settings on files don't disable them as implicit
1009 intermediate possibilities.
1011 1999-12-01 Paul D. Smith <psmith@gnu.org>
1013 * scripts/features/double_colon: Add a test for PR/1476: Try
1014 double-colon rules as non-goal targets and during parallel builds
1015 to make sure they're handled serially.
1017 1999-11-17 Paul D. Smith <psmith@gnu.org>
1019 * scripts/functions/if: Add a test for PR/1429: put some text
1020 after an if-statement to make sure it works.
1022 * scripts/features/targetvars: Add a test for PR/1380: handling +=
1023 in target-specific variable definitions correctly.
1025 1999-10-15 Paul D. Smith <psmith@gnu.org>
1027 * scripts/variables/MAKEFILES: This was really broken: it didn't
1028 test anything at all, really. Rewrote it, plus added a test for
1031 1999-10-13 Paul D. Smith <psmith@gnu.org>
1033 * scripts/options/dash-n: Add a test for PR/1379: "-n doesn't
1034 behave properly when used with recursive targets".
1036 1999-10-08 Paul D. Smith <psmith@gnu.org>
1038 * scripts/features/targetvars: Add a check for PR/1378:
1039 "Target-specific vars don't inherit correctly"
1041 1999-09-29 Paul D. Smith <psmith@gnu.org>
1043 * test_driver.pl (get_osname): Change $fancy_file_names to
1044 $short_filenames and reverse the logic.
1045 (run_each_test): Change test of non-existent $port_host to use
1046 $short_filenames--problem reported by Eli Zaretskii.
1048 1999-09-23 Paul D. Smith <psmith@gnu.org>
1050 * scripts/features/parallelism: Add a check to ensure that the
1051 jobserver works when we re-invoke. Also cleaned up the tests a
1052 little, reducing the number of rules we use so the test won't need
1053 as many "sleep" commands.
1055 1999-09-16 Paul D. Smith <psmith@gnu.org>
1057 * scripts/features/reinvoke: Remove invocations of "touch" in
1058 makefiles. See the comments on the touch function rewrite below.
1059 Note that UNIX touch behaves the same way if the file already
1060 exists: it sets the time to the _local_ time. We don't want
1061 this. This is probably a good tip for makefile writers in
1062 general, actually... where practical.
1063 * scripts/options/dash-l: Ditto.
1064 * scripts/options/dash-n: Ditto.
1066 * test_driver.pl (run_each_test): In retrospect, I don't like the
1067 .lN/.bN/.dN postfix required by DOS. So, for non-DOS systems I
1068 changed it back to use .log, .base, and .diff.
1070 * run_make_tests.pl (set_more_defaults): Move the check for the
1071 make pathname to here from set_defaults (that's too early since it
1072 happens before the command line processing).
1073 Create a new variable $port_type, calculated from $osname, to
1074 specify what kind of system we're running on. We should integrate
1075 the VOS stuff here, too.
1076 (valid_option): Comment out the workdir/-work stuff so people
1077 won't be fooled into thinking it works... someone needs to fix
1080 * scripts/functions/origin: Use $port_type instead of $osname.
1081 * scripts/functions/foreach: Ditto.
1082 * scripts/features/default_names: Ditto.
1084 1999-09-15 Paul D. Smith <psmith@gnu.org>
1086 * test_driver.pl (touch): Rewrite this function. Previously it
1087 used to use utime() to hard-set the time based on the current
1088 local clock, or, if the file didn't exist, it merely created it.
1089 This mirrors exactly what real UNIX touch does, but it fails badly
1090 on networked filesystems where the FS server clock is skewed from
1091 the local clock: normally modifying a file causes it to get a mod
1092 time based on the _server's_ clock. Hard-setting it based on the
1093 _local_ clock causes gratuitous errors and makes the tests
1094 unreliable except on local filesystems. The new function will
1095 simply modify the file, allowing the filesystem to set the mod
1096 time as it sees fit.
1098 * scripts/features/parallelism: The second test output could
1099 change depending on how fast some scripts completed; use "sleep"
1100 to force the order we want.
1102 * test_driver.pl (toplevel): A bug in Perl 5.000 to Perl 5.004
1103 means that "%ENV = ();" doesn't do the right thing. This worked
1104 in Perl 4 and was fixed in Perl 5.004_01, but use a loop to delete
1105 the environment rather than require specific versions.
1107 * run_make_tests.pl (set_more_defaults): Don't use Perl 5 s///
1108 modifier "s", so the tests will run with Perl 4.
1109 (set_more_defaults): Set $pure_log to empty if there's no -logfile
1110 option in PURIFYOPTIONS.
1111 (setup_for_test): Don't remove any logs unless $pure_log is set.
1113 1999-09-15 Eli Zaretskii <eliz@is.elta.co.il>
1115 * scripts/features/reinvoke: Put the SHELL definition in the right
1118 1999-09-15 Paul D. Smith <psmith@gnu.org>
1120 ChangeLog file for the test suite created.
1123 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
1124 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
1125 This file is part of GNU Make.
1127 GNU Make is free software; you can redistribute it and/or modify it under the
1128 terms of the GNU General Public License as published by the Free Software
1129 Foundation; either version 3 of the License, or (at your option) any later
1132 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
1133 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
1134 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1136 You should have received a copy of the GNU General Public License along with
1137 this program. If not, see <http://www.gnu.org/licenses/>.