summaryrefslogtreecommitdiff
path: root/tests/scripts/features
AgeCommit message (Collapse)AuthorFilesLines
2005-10-24Make second expansion optional (partial implementation).Paul Smith4-114/+83
I decided this feature was too impacting to make the permanent default behavior. This set of changes makes the default behavior of make the old behavior (no second expansion). If you want second expansion, you must define the .SECONDEXPANSION: special target before the first target that needs it. This set of changes ONLY fixes explicit and static pattern rules to work like this. Implicit rules still have second expansion enabled all the time: I'll work on that next. Note that there is still a backward-incompatibility: now to get the old SysV behavior using $$@ etc. in the prerequisites list you need to set .SECONDEXPANSION: as well.
2005-08-29Fix make.h preprocessor directive to work better with Windows compilers.Paul Smith1-2/+2
Fix some regression tests to (hopefully) work better on Windows.
2005-08-10Fixed Savannah bug #13881.Boris Kolpackov1-0/+11
2005-08-08- Fixed a bug reported by Michael Matz regarding handling of parallelPaul Smith1-0/+27
jobs after a failed job. - Enhancements to WINDOWS32 code from Eli Zaretskii. - Add Microsoft Project files from J. Grant.
2005-07-12Various minor updates and code cleanups.Paul Smith1-6/+2
2005-07-04Various fixes and updates from testers of the beta3 release (mostly WindowsPaul Smith2-8/+8
and OS/2 changes).
2005-06-27Cleaned up some problems found with the tests running on a powerfulPaul Smith2-46/+25
Solaris system with an EMC NFS storage solution. Still get some odd errors here unfortunately related to sub-second timestamps that I just can't figure out. It all works if we run the tests in /tmp instead though :-/.
2005-06-27Fix strerror() handling for systems which set ANSI_STRING.Paul Smith1-0/+10
Don't print errors if "include" is specified with no arguments. New test suite for the $(shell ...) function.
2005-05-31Fixed Savannah bugs #13216 and #13218.Boris Kolpackov2-0/+38
2005-05-13Implement new "if... else if... endif" semantics.Paul Smith1-33/+72
2005-05-03Fix problems with losing tokens in the jobserver, reported by GrantPaul Smith1-49/+28
Taylor. There are two forms of this: first, it was possible to lose tokens when using -j and -l at the same time, because waiting jobs were not checked when determining whether any jobs were outstanding. Second, if you had an exported recursive variable that contained a $(shell ...) function there is a possibility to lose tokens, since a token was taken but the child list was not updated until after the shell function was complete. To resolve this I introduced a new variable that counted the number of tokens we have obtained, rather than checking whether there were any children on the list. I also added some sanity checks to make sure we weren't writing back too many or not enough tokens. And, the master make will drain the token pipe before exiting and compare the count of tokens at the end to what was written there at the beginning. Also: * Ensure a bug in the environment (missing "=") doesn't cause make to core. * Rename the .DEFAULT_TARGET variable to .DEFAULT_GOAL, to match the terminology in the documentation and other variables like MAKECMDGOALS. * Add documentation of the .DEFAULT_GOAL special variable. Still need to document the secondary expansion stuff...
2005-04-08Fix some Savannah bugs.Paul Smith1-0/+7
Updates to docs (still need more work here) and NEWS file. New language.
2005-03-10Fixed Savannah bug #12267.Boris Kolpackov1-0/+32
2005-03-04Fixed Savannah bug #12202.Boris Kolpackov1-3/+30
2005-03-03Fixed stem termination and stem triple-expansion bugs.Boris Kolpackov3-3/+57
2005-03-01Fixed Savannah bug #12180.Boris Kolpackov1-6/+10
2005-02-28* New feature: -L optionPaul Smith1-1/+1
* New function: $(info ...) * Disallow $(eval ...) to create prereq relationships inside command scripts (caused core dumps) * Try to allow more tests to succeed in Windows/DOS by sanitizing CRLF and \ * Various bug fixes and code cleanups (see the ChangeLog entry)
2005-02-27Implementation of the second expansion in explicitBoris Kolpackov3-0/+399
rules, static pattern rules and implicit rules.
2005-02-10Flush stdout after printing directory info.Paul Smith1-55/+49
Fix references to MINGW #define constants. Remove WINDOWS32 ifdef from sub_proc.h. Only add variables to the command line for recursion once. New features in run_make_test: #PWD# and #MAKEPATH# replacements. Test the multi-variable fix in the recursion regression test.
2004-10-05Moved expansion of simple pattern-specific variables from the rebuild stageBoris Kolpackov1-0/+51
to the read stage.
2004-09-28Implemented dontcare flag inheritance when rebuilding makefiles.Boris Kolpackov1-1/+11
2004-09-27bugfix for exported pattern-specific variablesBoris Kolpackov1-0/+9
2004-09-22Update the test template. A few fixes in run_make_test().Paul Smith2-64/+40
Rename implicit_prereq_eval to patternrules, to be the start of a suite of tests of pattern rules.
2004-09-21Fixed bug in implicit rule prerequisite evaluation code. Added test.Boris Kolpackov1-0/+64
2004-05-16Various enhancementsPaul Smith4-26/+52
- OS/2 Patches - OpenVMS updates - Sanitize the handling of -include/sinclude with and without -k - Fix the setting of $< for order-only rules.
2004-01-21Many bug fixes etc.Paul Smith1-2/+9
- Apply a fix for the "thundering herd" problem when using "-j -l". This also fixes bug #4693. - Fix bug #7257: allow functions as ifdef arguments - Fix bug #4518: make sure we print all double-colon rules with -p. - Upgrade to autconf 2.58/automake 1.8/gettext 0.13.1 - Various doc cleanups, etc.
2004-01-07Fix order-only prerequisites for pattern rules. (Savannah patch #2349).Paul Smith1-0/+35
Add a regression test for this. Older libraries don't allow *alloc(0), so make sure we don't ever do that.
2003-05-02- Fix bug #1405: allow multiple pattern-specific variables to match a target.Paul Smith1-10/+25
- Fix some uncleanliness about the implementation of patterns-specific vars. - Some enhancements to the OS/2 port.
2003-01-30Fix bug #2238: the read.c:eval() function was not entirely reentrant.Paul Smith1-0/+19
Apply patch #1022: fix a memory corruption on very long target-specific variable definition lines.
2002-10-13Fix bug#1379: don't use alloca() where it could overrun the stack size.Paul Smith1-0/+8
Implemented enhancement #1391: allow "export" in target-specific variable definitions. Change the Info name of the "Automatic" node to "Automatic Variables". Add text clarifying the scope of automatic variables to that section.
2002-09-23Fix a bug handling target/prerequisite names containing commentPaul Smith2-3/+13
characters.
2002-09-18Fix a bug exporting/unexporting multiple variables in one command.Paul Smith1-1/+74
Update the text about reporting bugs.
2002-09-17Fix bug #940 (from the Savannah bug tracker): make sure that target-Paul Smith1-0/+45
specific variables work correctly in conjunction with double-colon targets.
2002-09-10A few test bug fixes:Paul Smith2-3/+6
* Never use "touch" in make rules; it breaks on most sub-second supporting systems. Use echo "" > $@ instead. * Forgot to close test makefiles before using them! All the above worked fine on Linux but failed miserably on Solaris.
2002-09-10Add support for broken SA_RESTART on PTX.Paul Smith2-0/+207
Fix bug #103: allow ifdef, export, and unexport to expand their arguments.
2002-09-04Fix for complex situations where directories are declared as prerequisites.Paul Smith3-21/+21
Info on this fix from barkalow@reputation.com: thanks! Some updates/cleanups of some of the tests; added a forgotten -t test, etc.
2002-07-09Documentation and tests for order-only prerequisites.Paul Smith1-7/+40
Add a new test suite for automatic variables.
2002-07-08Various cleanups reported by people using the alpha release.Paul Smith1-0/+79
Incorporate "order-only" prerequisites patch. Wrote a test for it. The test shows what might be a bug in the code; I need to look at it more closely (anyway it doesn't behave as I expected). Also I haven't done the docs yet.
2001-01-21Some bug fixes and document updates.Paul Smith1-0/+24
2000-08-21Fix PR/1831. See the ChangeLog.Paul Smith1-2/+4
2000-06-22* Fix PR/1709.Paul Smith1-0/+18
2000-04-22* Various bug fixes.Paul Smith2-17/+28
2000-03-27* Handle case of empty static pattern rule prerequisites.Paul Smith1-35/+36
* Fix linenumbers in error messages for rule definitions.
2000-03-27* A large number of fixes/enhancements. See the ChangeLog.Paul Smith2-1/+11
* Added a new version of the German translation file.
2000-02-09* Fix backslash-escape in targets.3.78.91Paul Smith1-3/+15
* Release 3.78.91.
2000-02-05* Updates for VMS, Windows, and DOS ports.Paul Smith1-3/+1
* Clean up some warnings.
2000-02-05* Fix PR/1407.Paul Smith1-0/+9
* Keep filename/lineno information for variables, for debugging.
2000-01-27* Some pre-pretest release cleanup.Paul Smith1-10/+6
2000-01-23* A few fixes.Paul Smith1-3/+6
1999-12-08* Various changes and fixes. See ChangeLog.Paul Smith1-27/+91