summaryrefslogtreecommitdiff
path: root/tests/scripts/features
AgeCommit message (Collapse)AuthorFilesLines
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.
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.