summaryrefslogtreecommitdiff
path: root/tests/scripts/features
AgeCommit message (Collapse)AuthorFilesLines
2009-09-24- Fix broken handling of order-only prereqs in secondary expansionPaul Smith1-0/+11
of implicit rules. - Fix leaked memory when dealing with implicit rule chains that have file variables or pattern variables.
2009-09-24- Rework secondary expansion so we only defer it if there's a possibilityPaul Smith5-172/+129
it might be needed: for most situations we parse prereqs immediately as we used to. Reduces memory usage. - Fixes Savannah bug #18622.
2009-06-14- Fix Savannah bug #13529Paul Smith1-0/+19
2009-06-10- Fix Savannah bug #19108Paul Smith1-5/+35
- Fix Savannah bug #17752 - Test suite: * When tests fail keep a "run" file containing the command invoked. * Support for the Valgrind "memcheck" and "massif" tools.
2009-06-09- Fix Savannah bug #18124Paul Smith2-0/+32
- Fix Savannah bug #17521 - Fix Savannah bug #16401 - Fix Savannah bug #16469 - Fix Savannah bug #16473
2009-06-07- Fix Savannah bug #24622Paul Smith1-12/+12
2009-06-04- Modify access of config and gnulib Savannah modules to use GITPaul Smith5-25/+80
- Fix Savannah bug #24655. - Fix Savannah bug #24588. - Fix Savannah bug #24277. - Fix Savannah bug #25697. - Fix Savannah bug #25694. - Fix Savannah bug #25460. - Fix Savannah bug #26207. - Fix Savannah bug #25712. - Fix Savannah bug #26593. - Fix various doc issues.
2009-05-26Add 'private' variable modifier, feature submitted by Ramon Garcia.Paul Smith2-227/+102
Rework the parser for variables to allow multiple modifiers and also allow for variables and targets with modifier names, like "export" and "private".
2007-08-15Incorporate Icarus Sparry's fix for 3330 and 15919, and test cases.Paul Smith1-0/+14
One of our translations disappeared from the translations site so remove it. The fdl.texi file was changed to not contain any @node entries, so add some around it in make.texi.
2007-07-14Fix Savannah bug #20452.Paul Smith1-1/+2
Add a new feature to the test suite suggested by Icarus Sparry: set a timer before invoking a test, so that if it loops infinitely we will wake up and have a chance to kill the process and continue.
2007-03-20This is a major update, which switches virtually every allocated-but-not-freedPaul Smith1-7/+7
string into the strcache. As a side-effect, many more structure members and function arguments can/should be declared const. As mentioned in the changelog, unfortunately measurement shows that this change does not yet reduce memory. The problem is with secondary expansion: because of this we store all the prerequisites in the string cache twice. First we store the prerequisite string after initial expansion but before secondary expansion, then we store each individual file after secondary expansion and expand_deps(). I plan to change expand_deps() to be callable in either context (eval or snap_deps) then have non-second-expansion targets call expand_deps() during eval, so that we only need to store that dependency list once.
2006-04-01Release GNU make 3.81.Paul Smith1-16/+22
Update NEWS docs. Enhance the manual to use automake version.texi, and use the canonical FSF copyright features and statement. Some $(realpath ...) tests won't work on Windows; leave them out The jobserver filedescriptor test might fail if some FDs are reserved, so for now comment out that check.
2006-03-20Minor fixes before the rc2 release.Paul Smith1-2/+2
2006-03-20Add some alloca(0) calls for systems without "normal" alloca support.Paul Smith1-0/+29
Fix a file descriptor leak with make re-exec while using the jobserver. Update some release information.
2006-03-17Fixed Savannah bug #16053.Boris Kolpackov1-0/+41
2006-03-15Fix Savannah bug #15913.Paul Smith1-0/+12
2006-03-10Numerous updates to tests for issues found on Cygwin and Windows.Paul Smith1-28/+26
Revert a fix for $? including non-existent files as it shows a bug in the Linux kernel build. Give them a release to fix this. Add some changes from Eli Z. for Windows changes.
2006-03-08Some test updates for Windows.Paul Smith2-31/+7
Handle SHELL set on the command line properly for windows.
2006-02-17Make sure we don't introduce a circularity into the variable set linkedPaul Smith1-0/+25
list. Fixes Savannah bug #15757.
2006-02-08Fixed Savannah bug #15641.Boris Kolpackov1-0/+18
2005-12-13Update the make.1 man page.Paul Smith2-13/+13
Use rm -f instead of rm in the test scripts. Fixes bug #15085.
2005-12-11Extend .SECONDEXPANSION to implicit rules. Final fix for bug #13781.Paul Smith1-0/+8
2005-12-09Fixed bug #13022 by setting is_target flag on files that this implicitBoris Kolpackov1-0/+30
pattern rule also makes.
2005-12-07Fixed bug #14334 by propagate the change of modification time to all theBoris Kolpackov1-0/+28
double-colon entries only if it is the last one to be updated.
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.