1 2006-04-01 Paul D. Smith <psmith (a] gnu.org> 2 3 * scripts/functions/realpath: Don't run tests with multiple 4 initial slashes on Windows: those paths mean something different. 5 6 2006-03-19 Paul D. Smith <psmith (a] gnu.org> 7 8 * scripts/features/parallelism: Test that the jobserver is 9 properly managed when we have to re-exec the master instance of 10 make. 11 12 2006-03-17 Boris Kolpackov <boris (a] kolpackov.net> 13 14 * scripts/features/statipattrules: Add tests for bug #16053. 15 16 2006-03-09 Paul Smith <psmith (a] gnu.org> 17 18 * scripts/features/escape: Use "pre:" not "p:" to avoid conflicts 19 with DOS drive letters. Fixes Savannah bug #15947. 20 21 * test_driver.pl (run_each_test): Set the status properly even 22 when a test fails to execute. Fixes Savannah bug #15942. 23 24 * scripts/functions/foreach: Use a different environment variable 25 other than PATH to avoid differences with Windows platforms. 26 Fixes Savannah bug #15938. 27 28 2006-03-05 Paul D. Smith <psmith (a] gnu.org> 29 30 * run_make_tests.pl (set_more_defaults): Add CYGWIN_NT as a port 31 type W32. Fixed Savannah bug #15937. 32 33 * scripts/features/default_names: Don't call error() when the test 34 fails. Fixes Savannah bug #15941. 35 36 2006-02-17 Paul D. Smith <psmith (a] gnu.org> 37 38 * scripts/features/targetvars: Test a complex construction which 39 guarantees that we have to merge variable lists of different 40 sizes. Tests for Savannah bug #15757. 41 42 2006-02-15 Paul D. Smith <psmith (a] gnu.org> 43 44 * scripts/functions/error: Make sure filename/lineno information 45 is related to where the error is expanded, not where it's set. 46 * scripts/functions/warning: Ditto. 47 * scripts/functions/foreach: Check for different error conditions. 48 * scripts/functions/word: Ditto. 49 * scripts/variables/negative: Test some variable reference failure 50 conditions. 51 * scripts/options/warn-undefined-variables: Test the 52 --warn-undefined-variables flag. 53 54 2006-02-09 Paul D. Smith <psmith (a] gnu.org> 55 56 * run_make_tests.pl (set_more_defaults): Update valgrind support 57 for newer versions. 58 * test_driver.pl (toplevel): Skip all hidden files/directories (ones 59 beginning with "."). 60 61 * scripts/functions/andor: Tests for $(and ..) and $(or ...) 62 functions. 63 64 2006-02-08 Boris Kolpackov <boris (a] kolpackov.net> 65 66 * scripts/features/parallelism: Add a test for bug #15641. 67 68 2006-02-06 Paul D. Smith <psmith (a] gnu.org> 69 70 * scripts/options/dash-W: Add a test for bug #15341. 71 72 2006-01-03 Paul D. Smith <psmith (a] gnu.org> 73 74 * scripts/variables/automatic: Add a test for bug #8154. 75 76 * README: Update to reflect the current state of the test suite. 77 78 2005-12-12 Paul D. Smith <psmith (a] gnu.org> 79 80 * scripts/features/parallelism, scripts/functions/wildcard, 81 scripts/targets/FORCE, scripts/targets/PHONY, 82 scripts/targets/SILENT: Use the default setting for 83 $delete_command. Fixes bug #15085. 84 85 * run_make_tests.pl (get_this_pwd) [VMS]: Use -no_ask with delete_file. 86 87 2005-12-11 Paul D. Smith <psmith (a] gnu.org> 88 89 * scripts/misc/general4: Test implicit rules with '$' in the 90 prereq list & prereq patterns. 91 * scripts/features/se_implicit: Add in .SECONDEXPANSION settings. 92 93 2005-12-09 Boris Kolpackov <boris (a] kolpackov.net> 94 95 * scripts/features/patternrules: Add a test for bug #13022. 96 97 2005-12-07 Boris Kolpackov <boris (a] kolpackov.net> 98 99 * scripts/features/double_colon: Add a test for bug #14334. 100 101 2005-11-17 Boris Kolpackov <boris (a] kolpackov.net> 102 103 * scripts/functions/flavor: Add a test for the flavor function. 104 105 2005-11-14 Boris Kolpackov <boris (a] kolpackov.net> 106 107 * scripts/variables/INCLUDE_DIRS: Add a test for the .INCLUDE_DIRS 108 special variable. 109 110 2005-10-24 Paul D. Smith <psmith (a] gnu.org> 111 112 * scripts/misc/general4: Test '$$' in prerequisites list. 113 * scripts/features/statipattrules: Rewrite to use run_make_test(). 114 Add various static pattern info. 115 * scripts/features/se_statpat: Enable .SECONDEXPANSION target. 116 * scripts/features/se_explicit: Add tests for handling '$$' in 117 prerequisite lists with and without setting .SECONDEXPANSION. 118 * scripts/features/order_only: Convert to run_make_test(). 119 * run_make_tests.pl (set_more_defaults): If we can't get the value 120 of $(MAKE) from make, then fatal immediately. 121 122 2005-08-31 Paul D. Smith <psmith (a] gnu.org> 123 124 * run_make_tests.pl (get_this_pwd): Require the POSIX module (in 125 an eval to trap errors) and if it exists, use POSIX::getcwd to 126 find the working directory. If it doesn't exist, go back to the 127 previous methods. This tries to be more accurate on Windows 128 systems. 129 130 2005-08-29 Paul D. Smith <psmith (a] gnu.org> 131 132 * scripts/functions/abspath: Add some text to the error messages 133 to get a better idea of what's wrong. Make warnings instead of 134 errors. 135 136 * scripts/features/patspecific_vars: Don't use "test", which is 137 UNIX specific. Print the values and let the test script match 138 them. 139 140 2005-08-25 Paul Smith <psmith (a] gnu.org> 141 142 * scripts/variables/SHELL: Use a /./ prefix instead of //: the 143 former works better with non-UNIX environments. Fixes Savannah 144 bug #14129. 145 146 2005-08-13 Boris Kolpackov <boris (a] kolpackov.net> 147 148 * scripts/functions/wildcard: Wrap calls to $(wildcard ) with 149 $(sort) so that the resulting order is no longer filesystem- 150 dependant. 151 152 2005-08-10 Boris Kolpackov <boris (a] kolpackov.net> 153 154 * scripts/features/statipattrules: Add a test for Savannah bug #13881. 155 156 2005-08-07 Paul D. Smith <psmith (a] gnu.org> 157 158 * scripts/features/parallelism: Add a test for a bug reported by 159 Michael Matz (matz (a] suse.de) in which make exits without waiting 160 for all its children in some situations during parallel builds. 161 162 2005-07-08 Paul D. Smith <psmith (a] gnu.org> 163 164 * test_driver.pl: Reset the environment to a clean value every 165 time before we invoke make. I'm suspicious that the environment 166 isn't handled the same way in Windows as it is in UNIX, and some 167 variables are leaking out beyond the tests they are intended for. 168 Create an %extraENV hash tests can set to add more env. vars. 169 * tests/scripts/features/export: Change to use %extraENV. 170 * tests/scripts/functions/eval: Ditto. 171 * tests/scripts/functions/origin: Ditto. 172 * tests/scripts/options/dash-e: Ditto. 173 * tests/scripts/variables/SHELL: Ditto. 174 175 2005-06-27 Paul D. Smith <psmith (a] gnu.org> 176 177 * scripts/options/dash-W: Use 'echo >>' instead of touch to update 178 files. 179 * scripts/features/reinvoke: Rewrite to be safer on systems with 180 subsecond timestamps. 181 * scripts/features/patternrules: False exits with different error 182 codes on different systems (for example, Linux => 1, Solaris => 255). 183 184 * scripts/options/dash-W: Set the timestamp to foo.x in the future, 185 to be sure it will be considered updated when it's remade. 186 187 2005-06-26 Paul D. Smith <psmith (a] gnu.org> 188 189 * scripts/functions/shell: New test suite for the shell function. 190 191 2005-06-25 Paul D. Smith <psmith (a] gnu.org> 192 193 * scripts/features/include: Test include/-include/sinclude with no 194 arguments. Tests fix for Savannah bug #1761. 195 196 * scripts/misc/general3: Implement comprehensive testing of 197 backslash-newline behavior in command scripts: various types of 198 quoting, fast path / slow path, etc. 199 Tests fix for Savannah bug #1332. 200 201 * scripts/options/symlinks: Test symlinks to non-existent files. 202 Tests fix for Savannah bug #13280. 203 204 * scripts/misc/general3: Test semicolons in variable references. 205 Tests fix for Savannah bug #1454. 206 207 * scripts/variables/MAKE_RESTARTS: New file: test the 208 MAKE_RESTARTS variable. 209 * scripts/options/dash-B: Test re-exec doesn't loop infinitely. 210 Tests fix for Savannah bug #7566. 211 * scripts/options/dash-W: New file: test the -W flag, including 212 re-exec infinite looping. 213 214 2005-06-12 Paul D. Smith <psmith (a] gnu.org> 215 216 * scripts/misc/close_stdout: Add a test for Savannah bug #1328. 217 This test only works on systems that have /dev/full (e.g., Linux). 218 219 2005-06-09 Paul D. Smith <psmith (a] gnu.org> 220 221 * scripts/functions/foreach: Add a test for Savannah bug #11913. 222 223 2005-05-31 Boris Kolpackov <boris (a] kolpackov.net> 224 225 * scripts/features/include: Add a test for Savannah bug #13216. 226 * scripts/features/patternrules: Add a test for Savannah bug #13218. 227 228 2005-05-13 Paul D. Smith <psmith (a] gnu.org> 229 230 * scripts/features/conditionals: Add tests for the new if... else 231 if... endif syntax. 232 233 2005-05-03 Paul D. Smith <psmith (a] gnu.org> 234 235 * scripts/variables/DEFAULT_GOAL: Rename DEFAULT_TARGET to 236 DEFAULT_GOAL. 237 238 2005-05-02 Paul D. Smith <psmith (a] gnu.org> 239 240 * scripts/features/parallelism: Add a test for exporting recursive 241 variables containing $(shell ) calls. Rewrite this script to use 242 run_make_test() everywhere. 243 244 2005-04-07 Paul D. Smith <psmith (a] gnu.org> 245 246 * scripts/targets/SECONDARY: Add a test for Savannah bug #12331. 247 248 2005-03-15 Boris Kolpackov <boris (a] kolpackov.net> 249 250 * scripts/variables/automatic: Add a test for Savannah bug #12320. 251 252 2005-03-10 Boris Kolpackov <boris (a] kolpackov.net> 253 254 * scripts/features/patternrules: Add a test for Savannah bug #12267. 255 256 2005-03-09 Boris Kolpackov <boris (a] kolpackov.net> 257 258 * scripts/variables/DEFAULT_TARGET: Add a test for Savannah 259 bug #12266. 260 261 2005-03-04 Boris Kolpackov <boris (a] kolpackov.net> 262 263 * scripts/features/patternrules: Add a test for Savannah bug #12202. 264 265 2005-03-03 Boris Kolpackov <boris (a] kolpackov.net> 266 267 * scripts/features/se_implicit: Add a test for stem 268 termination bug. Add a test for stem triple-expansion bug. 269 270 * scripts/features/se_statpat: Add a test for stem 271 triple-expansion bug. 272 273 * scripts/features/statipattrules: Change test #4 to reflect 274 new way empty prerequisite list is handled. 275 276 277 2005-03-01 Boris Kolpackov <boris (a] kolpackov.net> 278 279 * scripts/features/statipattrules: Add a test for 280 Savannah bug #12180. 281 282 2005-02-28 Paul D. Smith <psmith (a] gnu.org> 283 284 * scripts/options/dash-q: Add a test for Savannah bug # 7144. 285 286 * scripts/options/symlinks: New file to test checking of symlink 287 timestamps. Can't use filename dash-L because it conflicts with 288 dash-l on case-insensitive filesystems. 289 290 * scripts/variables/MAKEFILE_LIST, scripts/variables/MFILE_LIST: 291 Rename MAKEFILE_LIST test to MFILE_LIST, for systems that need 8.3 292 unique filenames. 293 294 2005-02-28 Boris Kolpackov <boris (a] kolpackov.net> 295 296 * scripts/variables/DEFAULT_TARGET: Test the .DEFAULT_TARGET 297 special variable. 298 299 2005-02-27 Boris Kolpackov <boris (a] kolpackov.net> 300 301 * scripts/features/se_explicit: Test the second expansion in 302 explicit rules. 303 * scripts/features/se_implicit: Test the second expansion in 304 implicit rules. 305 * scripts/features/se_statpat: Test the second expansion in 306 static pattern rules. 307 * scripts/variables/automatic: Fix to work with the second 308 expansion. 309 310 * scripts/misc/general4: Add a test for bug #12091. 311 312 2005-02-27 Paul D. Smith <psmith (a] gnu.org> 313 314 * scripts/functions/eval: Check that eval of targets within 315 command scripts fails. See Savannah bug # 12124. 316 317 2005-02-26 Paul D. Smith <psmith (a] gnu.org> 318 319 * test_driver.pl (compare_output): If a basic comparison of the 320 log and answer doesn't match, try harder: change all backslashes 321 to slashes and all CRLF to LF. This helps on DOS/Windows systems. 322 323 2005-02-09 Paul D. Smith <psmith (a] gnu.org> 324 325 * scripts/features/recursion: Test command line variable settings: 326 only one instance of a given variable should be provided. 327 328 2004-11-30 Boris Kolpackov <boris (a] kolpackov.net> 329 330 * tests/scripts/functions/abspath: New file: test `abspath' 331 built-in function. 332 333 * tests/scripts/functions/realpath: New file: test `realpath' 334 built-in function. 335 336 2004-11-28 Paul D. Smith <psmith (a] gnu.org> 337 338 * scripts/options/dash-C [WINDOWS32]: Add a test for bug #10252; 339 this doesn't really test anything useful in UNIX but... 340 341 * scripts/variables/SHELL: New file: test proper handling of SHELL 342 according to POSIX rules. Fixes bug #1276. 343 344 2004-10-21 Boris Kolpackov <boris (a] kolpackov.net> 345 346 * scripts/functions/word: Test $(firstword ) and $(lastword ). 347 348 2004-10-05 Boris Kolpackov <boris (a] kolpackov.net> 349 350 * scripts/features/patspecific_vars: Test simple/recursive 351 variable expansion. 352 353 2004-09-28 Boris Kolpackov <boris (a] kolpackov.net> 354 355 * scripts/features/include: Test dontcare flag inheritance 356 when rebuilding makefiles. 357 358 2004-09-27 Boris Kolpackov <boris (a] kolpackov.net> 359 360 * scripts/features/patspecific_vars: Test exported variables. 361 362 2004-09-22 Paul D. Smith <psmith (a] gnu.org> 363 364 * run_make_tests.pl (run_make_test): Don't add newlines to the 365 makestring or answer if they are completely empty. 366 367 * scripts/features/patternrules: Rename from implicit_prereq_eval. 368 369 * scripts/test_template: Rework the template. 370 371 2004-09-21 Boris Kolpackov <boris (a] kolpackov.net> 372 373 * run_make_tests.pl: Change `#!/usr/local/bin/perl' to be 374 `#!/usr/bin/env perl'. 375 376 * scripts/features/implicit_prereq_eval: Test implicit rule 377 prerequisite evaluation code. 378 379 2004-09-21 Paul D. Smith <psmith (a] gnu.org> 380 381 * run_make_tests.pl (run_make_test): Enhance to allow the make 382 string to be undef: in that case it reuses the previous make 383 string. Allows multiple tests on the same makefile. 384 385 * scripts/variables/flavors: Add some tests for prefix characters 386 interacting with define/endef variables. 387 388 2004-09-20 Paul D. Smith <psmith (a] gnu.org> 389 390 * scripts/functions/substitution: Rewrite to use run_make_test() 391 interface, and add test for substitution failures reported by 392 Markus Mauhart <qwe123 (a] chello.at>. 393 394 2004-03-22 Paul D. Smith <psmith (a] gnu.org> 395 396 * test_driver.pl (run_each_test, toplevel, compare_output): Change 397 to track both the testing categories _AND_ the number of 398 individual tests, and report both sets of numbers. 399 400 2004-02-21 Paul D. Smith <psmith (a] gnu.org> 401 402 * scripts/functions/origin: Set our own environment variable 403 rather than relying on $HOME. 404 405 2004-01-21 Paul D. Smith <psmith (a] gnu.org> 406 407 * scripts/features/conditionals: Test arguments to ifn?def which 408 contain whitespace (such as a function that is evaluated). Bug 409 #7257. 410 411 2004-01-07 Paul D. Smith <psmith (a] gnu.org> 412 413 * scripts/features/order_only: Test order-only prerequisites in 414 pattern rules (patch #2349). 415 416 2003-11-02 Paul D. Smith <psmith (a] gnu.org> 417 418 * scripts/functions/if: Test if on conditionals with trailing 419 whitespace--bug #5798. 420 421 * scripts/functions/eval: Test eval in a non-file context--bug #6195. 422 423 2003-04-19 Paul D. Smith <psmith (a] gnu.org> 424 425 * scripts/features/patspecific_vars: Test multiple patterns 426 matching the same target--Bug #1405. 427 428 2003-04-09 Paul D. Smith <psmith (a] gnu.org> 429 430 * run_make_tests.pl (set_more_defaults): A new $port_type of 431 'OS/2' for (surprise!) OS/2. Also choose a wait time of 2 seconds 432 for OS/2. 433 434 2003-03-28 Paul D. Smith <psmith (a] gnu.org> 435 436 * scripts/targets/SECONDARY: Test the "global" .SECONDARY (with 437 not prerequisites)--Bug #2515. 438 439 2003-01-30 Paul D. Smith <psmith (a] gnu.org> 440 441 * scripts/features/targetvars: Test very long target-specific 442 variable definition lines (longer than the default make buffer 443 length). Tests patch # 1022. 444 445 * scripts/functions/eval: Test very recursive $(eval ...) calls 446 with simple variable expansion (bug #2238). 447 448 * scripts/functions/word: Test error handling for word and 449 wordlist functions (bug #2407). 450 451 2003-01-22 Paul D. Smith <psmith (a] gnu.org> 452 453 * scripts/functions/call: Test recursive argument masking (bug 454 #1744). 455 456 2002-10-25 Paul D. Smith <psmith (a] gnu.org> 457 458 * scripts/functions/eval: Test using $(eval ...) inside 459 conditionals (Bug #1516). 460 461 2002-10-14 Paul D. Smith <psmith (a] gnu.org> 462 463 * scripts/options/dash-t: Add a test for handling -t on targets 464 with no commands (Bug #1418). 465 466 2002-10-13 Paul D. Smith <psmith (a] gnu.org> 467 468 * scripts/features/targetvars: Add a test for exporting 469 target-specific vars (Bug #1391). 470 471 2002-10-05 Paul D. Smith <psmith (a] gnu.org> 472 473 * scripts/variables/automatic: Add tests for $$(@), $${@}, $${@D}, 474 and $${@F}. 475 476 2002-09-23 Paul D. Smith <psmith (a] gnu.org> 477 478 * scripts/features/escape: Test handling of escaped comment 479 characters in targets and prerequisites. 480 481 2002-09-18 Paul D. Smith <psmith (a] gnu.org> 482 483 * scripts/features/export: Test export/unexport of multiple 484 variables in a single command. 485 486 2002-09-17 Paul D. Smith <psmith (a] gnu.org> 487 488 * scripts/features/targetvars: Tests for Bug #940: test 489 target-specific and pattern-specific variables in conjunction with 490 double-colon targets. 491 492 2002-09-10 Paul D. Smith <psmith (a] gnu.org> 493 494 * test_driver.pl (compare_output): Match the new format for time 495 skew error messages. 496 497 * scripts/features/export: Created. Add tests for export/unexport 498 capabilities, including exporting/unexporting expanded variables. 499 500 * scripts/features/conditionals: Add a test for expanded variables 501 in ifdef conditionals. 502 503 2002-09-04 Paul D. Smith <psmith (a] gnu.org> 504 505 * scripts/features/reinvoke: Change touch/sleep combos to utouch 506 invocations. 507 * scripts/features/vpathgpath: Ditto. 508 * scripts/features/vpathplus: Ditto. 509 * scripts/options/dash-n: Ditto. 510 * scripts/targets/INTERMEDIATE: Ditto. 511 * scripts/targets/SECONDARY: Ditto. 512 513 * scripts/options/dash-t: Added a test for the -t bug fixed by 514 Henning Makholm. This test was also contributed by Henning. 515 516 * scripts/misc/general4: Add a test suite for obscure algorithmic 517 features of make. First test: make sure creation subdirectories 518 as prerequisites of targets works properly. 519 520 * scripts/misc/version: Remove this bogus test. 521 522 2002-08-07 Paul D. Smith <psmith (a] gnu.org> 523 524 * scripts/misc/general3: Add a test for makefiles that don't end 525 in newlines. 526 527 * scripts/variables/special: Create tests for the special 528 variables (.VARIABLES and .TARGETS). Comment out .TARGETS test 529 for now as it's not yet supported. 530 531 2002-08-01 Paul D. Smith <psmith (a] gnu.org> 532 533 * scripts/options/dash-B: Add a test for the new -B option. 534 535 2002-07-11 Paul D. Smith <psmith (a] gnu.org> 536 537 * run_make_tests.pl (valid_option): Add support for Valgrind. Use 538 -valgrind option to the test suite. 539 (set_more_defaults): Set up the file descriptor to capture 540 Valgrind output. We have to unset its close-on-exec flag; we 541 hardcode the value for F_SETFD (2) rather than load it; hopefully 542 this will help us avoid breaking the Windows/DOS test suite. 543 544 2002-07-10 Paul D. Smith <psmith (a] gnu.org> 545 546 * scripts/variables/automatic: Add some tests for $$@, $$(@D), and 547 $$(@F). 548 549 * test_driver.pl (utouch): Create a new function that creates a 550 file with a specific timestamp offset. Use of this function will 551 let us avoid lots of annoying sleep() invocations in the tests 552 just to get proper timestamping, which will make the tests run a 553 lot faster. So far it's only used in the automatic test suite. 554 555 2002-07-09 Paul D. Smith <psmith (a] gnu.org> 556 557 * scripts/variables/automatic: Create a test for automatic variables. 558 559 2002-07-08 Paul D. Smith <psmith (a] gnu.org> 560 561 * scripts/features/order_only: Test new order-only prerequisites. 562 563 2002-07-07 Paul D. Smith <psmith (a] gnu.org> 564 565 * scripts/functions/eval: Test new function. 566 * scripts/functions/value: Test new function. 567 * scripts/variables/MAKEFILE_LIST: Test new variable. 568 569 2002-04-28 Paul D. Smith <psmith (a] gnu.org> 570 571 * scripts/functions/call: New test: transitive closure 572 implementation using $(call ...) to test variable recursion. 573 574 2002-04-21 Paul D. Smith <psmith (a] gnu.org> 575 576 * test_driver.pl (compare_dir_tree): Ignore CVS and RCS 577 directories in the script directories. 578 579 2001-05-02 Paul D. Smith <psmith (a] gnu.org> 580 581 * scripts/variables/flavors: Test define/endef scripts where only 582 one of the command lines is quiet. 583 584 2000-06-22 Paul D. Smith <psmith (a] gnu.org> 585 586 * scripts/options/dash-q: New file; test the -q option. Includes 587 a test for PR/1780. 588 589 2000-06-21 Paul D. Smith <psmith (a] gnu.org> 590 591 * scripts/features/targetvars: Added a test for PR/1709: allowing 592 semicolons in target-specific variable values. 593 594 2000-06-19 Paul D. Smith <psmith (a] gnu.org> 595 596 * scripts/functions/addsuffix: Test for an empty final argument. 597 Actually this bug might have happened for any function, but this 598 one was handy. 599 600 2000-06-17 Eli Zaretskii <eliz (a] is.elta.co.il> 601 602 * scripts/options/general: If parallel jobs are not supported, 603 expect a warning message from Make. 604 605 2000-06-15 Eli Zaretskii <eliz (a] is.elta.co.il> 606 607 * scripts/options/general: Don't try -jN with N != 1 if parallel 608 jobs are not supported. 609 610 2000-05-24 Paul D. Smith <psmith (a] gnu.org> 611 612 * scripts/options/general: Test general option processing (PR/1716). 613 614 2000-04-11 Paul D. Smith <psmith (a] gnu.org> 615 616 * scripts/functions/strip: Test empty value to strip (PR/1689). 617 618 2000-04-08 Eli Zaretskii <eliz (a] is.elta.co.il> 619 620 * scripts/features/reinvoke: Sleep before updating the target 621 files in the first test, to ensure its time stamp really gets 622 newer; otherwise Make might re-exec more than once. 623 624 2000-04-07 Eli Zaretskii <eliz (a] is.elta.co.il> 625 626 * scripts/features/double_colon: Don't run the parallel tests if 627 parallel jobs aren't supported. 628 629 2000-04-04 Paul D. Smith <psmith (a] gnu.org> 630 631 * scripts/functions/word: wordlist doesn't swap arguments anymore. 632 633 2000-03-27 Paul D. Smith <psmith (a] gnu.org> 634 635 * scripts/features/statipattrules: Test that static pattern rules 636 whose prerequisite patterns resolve to empty strings throw an 637 error (instead of dumping core). Fixes PR/1670. 638 639 * scripts/features/reinvoke: Make more robust by touching "b" 640 first, to ensure it's not newer than "a". 641 Reported by Marco Franzen <Marco.Franzen (a] Thyron.com>. 642 * scripts/options/dash-n: Ditto. 643 644 * scripts/functions/call: Whoops. The fix to PR/1527 caused 645 recursive invocations of $(call ...) to break. I can't come up 646 with any way to get both working at the same time, so I backed out 647 the fix to 1527 and added a test case for recursive calls. This 648 also tests the fix for PR/1610. 649 650 * scripts/features/double_colon: Test that circular dependencies 651 in double-colon rule sets are detected correctly (PR/1671). 652 653 2000-03-26 Paul D. Smith <psmith (a] gnu.org> 654 655 * scripts/targets/INTERMEDIATE: Test that make doesn't remove 656 .INTERMEDIATE files when given on the command line (PR/1669). 657 658 2000-03-08 Paul D. Smith <psmith (a] gnu.org> 659 660 * scripts/options/dash-k: Add a test for error detection by 661 multiple targets depending on the same prerequisite with -k. 662 For PR/1634. 663 664 2000-02-07 Paul D. Smith <psmith (a] gnu.org> 665 666 * scripts/features/escape: Add a test for backslash-escaped spaces 667 in a target name (PR/1586). 668 669 2000-02-04 Paul D. Smith <psmith (a] gnu.org> 670 671 * scripts/features/patspecific_vars: Add a test for pattern-specific 672 target variables inherited from the parent target (PR/1407). 673 674 2000-02-02 Paul D. Smith <psmith (a] gnu.org> 675 676 * run_make_tests.pl (set_more_defaults): Hard-code the LANG to C 677 to make sure sorting order, etc. is predictable. 678 Reported by Andreas Jaeger <aj (a] suse.de>. 679 680 * run_make_tests.pl (set_more_defaults): Set the $wtime variable 681 depending on the OS. Eli Zaretskii <eliz (a] is.elta.co.il> reports 682 this seems to need to be *4* on DOS/Windows, not just 2. Keep it 683 1 for other systems. 684 * scripts/features/vpathplus (touchfiles): Use the $wtime value 685 instead of hardcoding 2. 686 * scripts/targets/SECONDARY: Ditto. 687 * scripts/targets/INTERMEDIATE: Ditto. 688 689 2000-01-27 Paul D. Smith <psmith (a] gnu.org> 690 691 * test_driver.pl (toplevel): Don't try to run test scripts which 692 are really directories. 693 694 2000-01-23 Paul D. Smith <psmith (a] gnu.org> 695 696 * scripts/features/include: Remove a check; the fix caused more 697 problems than the error, so I removed it and removed the test for 698 it. 699 700 2000-01-11 Paul D. Smith <psmith (a] gnu.org> 701 702 * scripts/functions/call: Add a test for PR/1517 and PR/1527: make 703 sure $(call ...) doesn't eval its arguments and that you can 704 invoke foreach from it without looping forever. 705 706 1999-12-15 Paul D. Smith <psmith (a] gnu.org> 707 708 * scripts/targets/INTERMEDIATE: Add a test for PR/1423: make sure 709 .INTERMEDIATE settings on files don't disable them as implicit 710 intermediate possibilities. 711 712 1999-12-01 Paul D. Smith <psmith (a] gnu.org> 713 714 * scripts/features/double_colon: Add a test for PR/1476: Try 715 double-colon rules as non-goal targets and during parallel builds 716 to make sure they're handled serially. 717 718 1999-11-17 Paul D. Smith <psmith (a] gnu.org> 719 720 * scripts/functions/if: Add a test for PR/1429: put some text 721 after an if-statement to make sure it works. 722 723 * scripts/features/targetvars: Add a test for PR/1380: handling += 724 in target-specific variable definitions correctly. 725 726 1999-10-15 Paul D. Smith <psmith (a] gnu.org> 727 728 * scripts/variables/MAKEFILES: This was really broken: it didn't 729 test anything at all, really. Rewrote it, plus added a test for 730 PR/1394. 731 732 1999-10-13 Paul D. Smith <psmith (a] gnu.org> 733 734 * scripts/options/dash-n: Add a test for PR/1379: "-n doesn't 735 behave properly when used with recursive targets". 736 737 1999-10-08 Paul D. Smith <psmith (a] gnu.org> 738 739 * scripts/features/targetvars: Add a check for PR/1378: 740 "Target-specific vars don't inherit correctly" 741 742 1999-09-29 Paul D. Smith <psmith (a] gnu.org> 743 744 * test_driver.pl (get_osname): Change $fancy_file_names to 745 $short_filenames and reverse the logic. 746 (run_each_test): Change test of non-existent $port_host to use 747 $short_filenames--problem reported by Eli Zaretskii. 748 749 1999-09-23 Paul D. Smith <psmith (a] gnu.org> 750 751 * scripts/features/parallelism: Add a check to ensure that the 752 jobserver works when we re-invoke. Also cleaned up the tests a 753 little, reducing the number of rules we use so the test won't need 754 as many "sleep" commands. 755 756 1999-09-16 Paul D. Smith <psmith (a] gnu.org> 757 758 * scripts/features/reinvoke: Remove invocations of "touch" in 759 makefiles. See the comments on the touch function rewrite below. 760 Note that UNIX touch behaves the same way if the file already 761 exists: it sets the time to the _local_ time. We don't want 762 this. This is probably a good tip for makefile writers in 763 general, actually... where practical. 764 * scripts/options/dash-l: Ditto. 765 * scripts/options/dash-n: Ditto. 766 767 * test_driver.pl (run_each_test): In retrospect, I don't like the 768 .lN/.bN/.dN postfix required by DOS. So, for non-DOS systems I 769 changed it back to use .log, .base, and .diff. 770 771 * run_make_tests.pl (set_more_defaults): Move the check for the 772 make pathname to here from set_defaults (that's too early since it 773 happens before the command line processing). 774 Create a new variable $port_type, calculated from $osname, to 775 specify what kind of system we're running on. We should integrate 776 the VOS stuff here, too. 777 (valid_option): Comment out the workdir/-work stuff so people 778 won't be fooled into thinking it works... someone needs to fix 779 this, though! 780 781 * scripts/functions/origin: Use $port_type instead of $osname. 782 * scripts/functions/foreach: Ditto. 783 * scripts/features/default_names: Ditto. 784 785 1999-09-15 Paul D. Smith <psmith (a] gnu.org> 786 787 * test_driver.pl (touch): Rewrite this function. Previously it 788 used to use utime() to hard-set the time based on the current 789 local clock, or, if the file didn't exist, it merely created it. 790 This mirrors exactly what real UNIX touch does, but it fails badly 791 on networked filesystems where the FS server clock is skewed from 792 the local clock: normally modifying a file causes it to get a mod 793 time based on the _server's_ clock. Hard-setting it based on the 794 _local_ clock causes gratuitous errors and makes the tests 795 unreliable except on local filesystems. The new function will 796 simply modify the file, allowing the filesystem to set the mod 797 time as it sees fit. 798 799 * scripts/features/parallelism: The second test output could 800 change depending on how fast some scripts completed; use "sleep" 801 to force the order we want. 802 803 * test_driver.pl (toplevel): A bug in Perl 5.000 to Perl 5.004 804 means that "%ENV = ();" doesn't do the right thing. This worked 805 in Perl 4 and was fixed in Perl 5.004_01, but use a loop to delete 806 the environment rather than require specific versions. 807 808 * run_make_tests.pl (set_more_defaults): Don't use Perl 5 s/// 809 modifier "s", so the tests will run with Perl 4. 810 (set_more_defaults): Set $pure_log to empty if there's no -logfile 811 option in PURIFYOPTIONS. 812 (setup_for_test): Don't remove any logs unless $pure_log is set. 813 814 1999-09-15 Eli Zaretskii <eliz (a] is.elta.co.il> 815 816 * scripts/features/reinvoke: Put the SHELL definition in the right 817 test makefile. 818 819 1999-09-15 Paul D. Smith <psmith (a] gnu.org> 820 821 ChangeLog file for the test suite created. 822 824 825 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 826 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 827 This file is part of GNU Make. 828 829 GNU Make is free software; you can redistribute it and/or modify it under the 830 terms of the GNU General Public License as published by the Free Software 831 Foundation; either version 2, or (at your option) any later version. 832 833 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY 834 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 835 A PARTICULAR PURPOSE. See the GNU General Public License for more details. 836 837 You should have received a copy of the GNU General Public License along with 838 GNU Make; see the file COPYING. If not, write to the Free Software 839 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 840