summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* cosmetics: fix few innocuous typosStefano Lattarini2013-05-054-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Most of these were found using Lucas De Marchi's 'codespell' tool. * ChangeLog: Fix minor typos. * ChangeLog.2: Likewise. * README.Amiga: Likewise. * TODO.private: Likewise. * function.c: Likewise. * glob/glob.h: Likewise. * job.c: Likewise. * main.c: Likewise. * readme.vms: Likewise. * remake.c: Likewise. * tests/ChangeLog: Likewise. * tests/NEWS: Likewise. * tests/README: Likewise. * tests/scripts/variables/private: Likewise. * vmsdir.h: Likewise. * signame.c: Likewise. While at it, improve line wrapping in the touched comment. Copyright-paperwork-exempt: yes Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* Rename the -O "job" mode to "line" and "make" to "recurse".Paul Smith2013-05-052-4/+5
|
* Ensure command lines are written synchronously with -O.Paul Smith2013-05-052-17/+17
| | | | | | | If output-sync is enabled, have make write the command line to the temp file instead of printing it directly to the screen to ensure that the output is ordered properly. Also, remove extraneous enter/leave operations by having them printed directly when dumping temp file output.
* Add memory allocation cleanup to loadable objects.Paul Smith2013-05-042-1/+7
| | | | | Add gmk_alloc() and gmk_free() functions so loadable objects can access our memory model. Also provide a more extensive example in the manual.
* Improve sync handling for -Ojob/-Otarget and recursion.Paul Smith2013-05-042-0/+15
| | | | | | | | | | If we are not going to sync a command line then dump any collected output first to preserve ordering. Do some code cleanup: * Move the handle init to a separate function. * Move the temp file truncation to the output function. * Remember whether we sync in a variable for readability. * Handle EINTR and short writes in child_out(). * Always call sync_output() in case output_sync was changed due to error.
* Fix interfacing with and remaking dynamic objects on MS-Windows.Eli Zaretskii2013-05-032-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | load.c (load_object, load_file): Accept an additional argument DLP and return in it a pointer that can be used to unload the dynamic object. read.c (eval): Call load_file with an additional argument, and record the pointer returned there in the 'struct file' object of dynamic objects in that object's 'struct file'. commands.c (execute_file_commands): Unload dynamic objects before remaking them, to avoid failure to remake if the OS doesn't allow overwriting objects that are in use. filedef.h (struct file): New member dlopen_ptr. gnumake.h (GMK_EXPORT): Define to dllexport/dllimport decorations for Windows and to nothing on other platforms. (gmk_eval, gmk_expand, gmk_add_function): Add GMK_EXPORT qualifier to prototypes. makeint.h (MAIN): Define before including gnumake.h, to give correct dllexport decorations to exported functions. (load_file): Adjust prototype. loadapi.c: Don't include gnumake.h, since makeint.h already includes it, and takes care of defining MAIN before doing so. build_w32.bat (LinkGCC): Produce an import library for functions exported by Make for loadable dynamic objects. w32/compat/posixfcn.c (dlclose): New function. w32/include/dlfcn.h (dlclose): Add prototype. scripts/features/load: Fix signatures of testload_gmk_setup and explicit_setup, to bring them in line with the documentation.
* Ensure error messages are printed with sync'd output.Paul Smith2013-04-282-6/+3
| | | | | | Enhance the child_error() function so that it will write error output to the child's sync output buffer, if it exists. If it doesn't the output goes to stdout/stderr.
* Small cleanups and fixes.Paul Smith2013-04-281-5/+5
|
* Add support for per-job output sync.Paul Smith2013-04-282-15/+101
| | | | | | | | | A new flag to the -O/--output-sync, "job", selects a per-job (that is, per line of a recipe) output synchronization. To support this move the close of the temp file out of the sync_output() function and don't do it until we free the child, since we may call sync_output() multiple times in a given recipe. When we set up for a new temp file, if we're in per-job mode we truncate the file and seek to the beginning to re-use it for every job.
* Change the arg option for -O from numeric to string.Paul Smith2013-04-152-2/+6
|
* Modify output-sync tests to be more reliable.Paul Smith2013-04-152-25/+67
|
* Handle test timeouts in a more understandable way.Paul Smith2013-04-142-28/+36
|
* Rename the "parallel-sync" option to "output-sync".Paul Smith2013-04-141-26/+16
|
* Initial patch for output synchronization. See Savannah bug #33138.Frank Heckenbach2013-04-141-0/+143
| | | | Based on work by David Boyce <David.S.Boyce@gmail.com>.
* Expand the loadable object support.Paul Smith2013-02-255-48/+157
| | | | | | | Provide a simple API for loaded objects to interact with GNU make. I still won't guarantee that this API won't change but it's much closer to something that's supported and provides easy-to-use interfaces with a public header file.
* Allow dynamically loaded objects to be rebuilt by make.Paul Smith2013-01-202-7/+36
|
* [SV #37878] Add a check for targets with parens that are not archives.Paul Smith2013-01-132-0/+11
|
* [SV #38051] Recover all MAKEFLAGS after makefile rebuild step is complete.Paul Smith2013-01-132-22/+42
| | | | Patch suggested by Frank Heckenbach <f.heckenbach@fh-soft.de>.
* Add ChangeLog entries for Git migration.Paul Smith2013-01-131-0/+5
|
* Ensure parallel test works properly.Paul Smith2013-01-121-4/+5
|
* Modify .gitignore for proper formatting.Paul Smith2013-01-121-2/+0
|
* Rename CVS ignore files to .gitignorePaul Smith2013-01-121-0/+0
|
* Implement new "load" directive.Paul Smith2012-10-295-16/+117
| | | | | Provides support for dynamically loadable objects in GNU make, as a "technology preview".
* Remove extraneous close().Paul Smith2012-10-281-3/+0
|
* Force intermediate targets to be considered if their non-intermediatePaul Smith2012-09-101-0/+17
| | | | parent needs to be remade. Fixes Savannah bug #30653.
* Get error messages in the C locale for comparision with make output.Paul Smith2012-09-092-0/+10
| | | | Fixes Savannah bug #35764.
* Verify that backslashes before non-special characters are preserved.Paul Smith2012-09-092-1/+13
|
* Ignore UTF-8 BOMs. See Savannah bug #36529.Paul Smith2012-09-092-0/+14
|
* When .POSIX: is specified use POSIX-standard macro values by default.Paul Smith2012-09-092-1/+29
|
* Simplify copyrights using ranges of years.Paul Smith2012-03-056-18/+6
| | | | | The new GNU Maintainer's Manual allows the use of year ranges in certain situations; take advantage of this simplification.
* Improve handling for escaped colons in prerequisite lists.Paul Smith2012-03-043-1/+23
| | | | Fixes Savannah bug #12126 and bug #16545
* Ensure appending private variables in pattern-specific target variables.Paul Smith2012-03-042-0/+37
| | | | Fixes Savannah bug #35468.
* Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines.Paul Smith2012-03-0437-94/+94
| | | | Fixes Savannah bug #34530.
* Ensure that .ONESHELL works with .SHELLFLAGS options containing whitespace.Paul Smith2012-03-033-0/+27
| | | | See Savannah bug #35397.
* Fix Savannah bug #35410: handle escape chars in filter/filter-outPaul Smith2012-03-034-10/+61
| | | | Also add a valgrind suppression file for Guile-enabled make.
* Modify backslash/newline handling for POSIX.Paul Smith2012-03-032-15/+46
| | | | | | | | | | We fixed Savannah 16670 but that broke previously-working makefiles that relied on the GNU make behavior. The POSIX behavior doesn't seem to me to be better, and can be obtained using GNU make as well, so put it back as the default behavior and require .POSIX to get the POSIX behavior. Add a new section to the manual discussing backslash/newline handling. Update the test suite.
* Add support for "::=" simple assignment operator.Paul Smith2012-01-303-1/+72
| | | | | The next POSIX standard will define "::=" to have the same behavior as GNU make's ":=", so add support for this new operator.
* Create a new function $(file ...)Paul Smith2012-01-293-0/+99
|
* Update copyright notices.Paul Smith2012-01-166-11/+18
|
* Add GNU Guile as an optional embedded scripting language for make.Paul Smith2012-01-151-0/+81
| | | | | | | | | On configure-enabled systems, configure will detect Guile installed (using pkg-config, which is how GNU Guile is distributed) and enable it if so. On all non-configure-enabled systems, currently, the default is for Guile support to be disabled.
* Add prerequisites to ensure ordering of results.Paul Smith2011-12-102-2/+8
|
* Be sure to start parsing prereqs in the right place even if there arePaul Smith2011-11-142-0/+14
| | | | | escape characters (backslashes) in the target name. See Savannah bug #33399
* When we re-exec the master makefile in a jobserver environment, ensurePaul Smith2011-09-182-0/+20
| | | | | that MAKEFLAGS is set properly so the re-exec'd make runs in parallel. See Savannah bug #33873.
* We compute various values for vpath lookup the first time throughPaul Smith2011-09-182-40/+31
| | | | | | | and store them in static variables; however one value (std_dirs) was not being stored statically so the second time through it was not set. Fixes Savannah bug #32511
* Ensure variables defined in $(call ...) have global scopePaul Smith2011-09-122-0/+16
| | | | | Add a note about using #!/usr/bin/make -f to the manual. Clean up the w32 subdirectory in the dist tarball.
* Ensure that -n takes precedence over -t.Paul Smith2011-09-022-1/+21
| | | | Patch from Michael Witten <mfwitten@gmail.com>
* Save strings we're expanding in case an embedded eval causes themPaul Smith2011-08-292-23/+29
| | | | | to be freed (if they're the value of a variable that's reset for example). See Savannah patch #7534
* Fix another error related to whitespace handling in archives.Paul Smith2011-06-122-0/+11
| | | | Newer version of VMS support strncasecmp() so update the config.h.
* Ensure private variables are not used when appending target-specificPaul Smith2011-05-072-0/+15
| | | | variables. Fixes Savannah bug #32872.
* Inverted the boolean test from what I wanted it to be. Added aPaul Smith2011-05-072-0/+17
| | | | regression test to make sure this continues to work.