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