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