summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * tests/scripts/features/archives: [SV 43405] override AR variable.Benedikt Morbach2014-10-201-17/+10
| | | | Copyright-paperwork-exempt: yes
* [SV 41758]: Fix archive support for VMS.John Malmberg2014-10-203-23/+211
| | | | | | | | | | | | | Upated to match change to run_make_tests and some future fixes to make on VMS. * arscan.c: Use ANSI compatible pragmas instead of VAX C extensions. * tests/scripts/features/archives: Fix tests to use VMS rules and answers when running on VMS and using DCL as a shell. * tests/scripts/features/vpath3: Fix epected answer on test when run on VMS. * tests/scripts/vms/library: (New) Test the VMS library rules that are not tested by existing tests.
* Set up for running tests on VMS.John Malmberg2014-10-202-3/+10
| | | | | | | | | * run_make_tests.pl: set $port_type to be 'VMS-DCL' when the test are run from the VMS DCL Interpreter. When the tests are run from GNV on VMS, the $port_type will be 'UNIX'. * run_make_tests.com: VMS search list support. This is needed for using a search list such as prj_root = lcl_root:,vms_root:,src_root: for building and testing.
* Update Copyright statements for 2014.Paul Smith2014-09-306-6/+6
|
* * tests/scripts/features/load: Avoid unused variable warnings.Paul Smith2014-09-301-0/+2
|
* * tests/config-flags.pm.in, tests/scripts/features/archives: [SV 43046]Paul Smith2014-09-072-10/+13
| | | | Use the "ar" program detected by configure when running the test suite.
* * config_flags_pm.com, [RENAMED test_make.com] run_make_tests.com:Hartmut Becker2014-09-072-0/+325
| | | | Moved into tests directory.
* * read.c (eval): [SV 41677] Correct test for TAB vs. 8 spaces.Paul Smith2014-07-071-0/+24
|
* Update the regression test harness to support VMS.John Malmberg2014-07-072-26/+314
| | | | | | | | | | | | | | | | | * config_flags_pm.com, test_make.com: set up and run the regression test environment on VMS. * tests/run_make_tests.pl [VMS]: Use an alternate rmdir() implementation on VMS. (run_make_with_options) [VMS]: Provide VMS-specific quoting and shell invocations. (set_more_defaults) [VMS]: Set default values when running on VMS. * tests/test_driver.pl (vms_get_process_logicals) [VMS]: Retrieve the proper values from %ENV on VMS. (resetENV) [VMS]: Use it. (toplevel) [VMS]: Fix a bug with opendir() on some logical_devices. (compare_output) [VMS]: Convert VMS test output to a "standard" format. (_run_command) [VMS]: Handle signals and exit codes the VMS way. (remove_directory_tree_inner) [VMS]: Unlink all versions of the file.
* [SV 41983] Support omitting the text argument to $(file ...)Paul Smith2014-07-071-0/+17
| | | | | | | | Reported by Tim Murphy <tnmurphy@gmail.com> * function.c (func_file): Only write TEXT if it is not NULL. * NEWS, doc/make.texi: Document the new feature * tests/scripts/functions/file: Verify that the no-text version of $(file ...) works and doesn't add a newline.
* [SV 42249] Propagate correct rule status results.Paul Smith2014-05-011-12/+32
| | | | | | | * remake.c (update_file, update_file_1, check_dep): Return an enum update_status value instead of an int, and keep the highest value we find as we walk the graph so that the ultimate status is correct. * tests/scripts/options/dash-q: Add a test for updating prerequisites.
* * main.c (die): Close output_context AND make_sync.Paul Smith2014-01-121-0/+7
| | | | | die() can be invoked inside a separate output_context, if the $(error ...) function is expanded as part of a recipe.
* * features/loadapi (test_expand): Allocate memory for the nul byte.Paul Smith2013-11-241-1/+1
|
* * makeint.h (STOP_SET): [SV 40371] Cast to unsigned char.Paul Smith2013-10-271-0/+14
| | | | | * tests/scripts/misc/utf8: Test variable names with characters >127. Fix suggested by Robert Bogomip <bob.bogo@milohedge.com>
* [SV 40240] Use configure info to build load test shared libsPaul Smith2013-10-195-6/+36
| | | | | | | | | | | * tests/config-flags.pm.in: A new file containing variable assignments for the test suite; these variables are set by configure to contain the values detected there for compilers, flags, etc. * tests/run_make_tests.pl: Require the config-flags.pm file * tests/scripts/features/load, tests/scripts/features/loadapi: Use the configure-provided values when building the shared test library. * configure.ac: Replace tests/config-flags.pm.in * Makefile.am: Make sure tests/config-flags.pm is up to date
* * GNUMAKEFLAGS: Remove -O so it passes in NO_OUTPUT_SYNC mode.Paul Smith2013-10-191-2/+2
|
* Convert to auto-generated ChangeLog files.Paul Smith2013-10-131-0/+0
| | | | | | | | Rename existing ChangeLog files so they won't be distributed. Add targets to maintMakefile to generate ChangeLog from the Git repository. This will require a version of gnulib be available. Because ChangeLog is auto-generated, we have to switch our automake mode to "foreign" or it will complain and fail.
* GNU Make release 4.0.Paul Smith2013-10-091-5/+5
|
* [SV 39709] Fix some typos.Paul Smith2013-10-092-5/+9
|
* Clean up some tests for use on Windows.Paul Smith2013-10-054-110/+121
|
* Sanitize the registered function interface.Paul Smith2013-10-052-4/+32
| | | | | | Expand the characters which are legal in a function name, and check the name for validity. Create a type for the function pointer. Convert the last argument from a boolean to flags, to allow for expansion.
* Fix portability issues for Guile 1.8.Paul Smith2013-09-301-2/+4
|
* Solaris /bin/sh can't handle multiple options ("-e -c").Paul Smith2013-09-303-3/+21
|
* Reset GNUMAKEFLAGS after parsing.Paul Smith2013-09-292-0/+19
| | | | | If we don't do this we'll continually add flags on recursion. This is mainly for users to set in their environment before invoking make.
* Rename dash-w to print-directory.Paul Smith2013-09-232-0/+6
| | | | Avoid conflicts with dash-W on case-insensitive filesystems.
* [SV 31155] Parse order-only tokens in second expansion results.Paul Smith2013-09-222-0/+16
|
* Regression test portability to Solaris.Paul Smith2013-09-227-14/+59
|
* Portability enhancements for Mac OSX.Paul Smith2013-09-224-26/+41
| | | | | | Don't dup stdout into stderr in the test suite. Don't rely on $port_type eq "UNIX" to mean case-preserving. Check against the real output of ar when creating archives.
* Create a target that tests alternative configurations.Paul Smith2013-09-215-48/+79
|
* Remove obsolete tests.Paul Smith2013-09-211-52/+0
|
* Ensure that output generated while reading makefiles is synced.Paul Smith2013-09-212-1/+64
|
* Ensure that stderr from shell functions in recipes is synced.Paul Smith2013-09-212-0/+9
|
* Don't write "Entering" every time we re-exec for remake makefiles.Paul Smith2013-09-212-0/+37
|
* [SV 27374] Fatal immediately on unrecoverable fopen() errors.Paul Smith2013-09-154-27/+54
|
* [SV 39934] Verify jobserver FDs before something else uses them.Paul Smith2013-09-152-0/+23
|
* [SV 39203] Don't set MAKEFLAGS when restarting.Paul Smith2013-09-152-0/+15
| | | | | We are restarting with the original command line flags, so if we set MAKEFLAGS as well that will cause double flags.
* Support the -Orecurse option properly.Paul Smith2013-09-142-2/+4
| | | | | | | | In this mode we still collect all the output from a given target and dump it at once. However we don't treat recursive lines any differently from non-recursive lines. Also we don't print enter/leave messages after every dump. However we do ensure that we always print them once to stdout, so the parent make will collect it properly.
* Enhance the output sync mode.Paul Smith2013-09-125-4/+38
| | | | | | | | | | | | | | | Create a new file, output.c, and collect functions that generate output there. We introduce a new global context specifying where output should go (to stdout or to a sync file), and the lowest level output generator chooses where to write output based on that context. This allows us to set the context globally, and all operations that write output (including functions like $(info ...) etc.) will use it. Removed the "--trace=dir" capability. It was too confusing. If you have directory tracking enabled then output sync will print the enter/leave message for each synchronized block. If you don't want that, disable directory tracking.
* [Bug #39310] Parse simple pattern prereqs for globbing.Paul Smith2013-07-222-0/+42
| | | | | | | We tried to get some efficiency by avoiding a parse_file_seq() for simple pattern prerequisites, but this also means no wildcard expansion was happening, so add it back. Add regression tests for wildcards in target and prerequisite lists.
* Keep a local count of the max dependency list size.Paul Smith2013-07-092-0/+27
| | | | | This global variable could be modified during recursion so keep our own local copy to compare against.
* [SV #38442] Add library names to the string cache.Paul Smith2013-05-262-0/+22
|
* [SV #38945] Copy the entire buffer back when overwriting CRPaul Smith2013-05-262-2/+8
|
* [SV #39035] Compare OUT to the beginning of the OUT var/func, not IN.Paul Smith2013-05-262-0/+26
|
* Fix regression tests after MAKEFLAGS enhancements.Paul Smith2013-05-224-8/+14
|
* Update source file format: remove TABs, use GNU coding styles.Paul Smith2013-05-172-8/+8
|
* Update copyright for changes in 2013.Paul Smith2013-05-176-6/+6
|
* Add requirement for plugin_is_GPL_compatible symbol in loaded objects.Paul Smith2013-05-143-0/+9
|
* Add a new variable: GNUMAKEFLAGSPaul Smith2013-05-131-0/+24
| | | | | | | This allows you to write portable makefiles that set GNU make-specific command line options in the environment or makefile: add them to GNUMAKEFLAGS instead of MAKEFLAGS and they will be seen by GNU make but ignored by other implementations of make.
* Use level o_env_override for MAKEFLAGS so it's reset even with -e.Paul Smith2013-05-131-14/+10
| | | | Fixes Savannah bug #2216.
* Add new --trace[=MODE] flags, with --trace=dirPaul Smith2013-05-132-8/+5
| | | | | | This mode replaces the previous heuristic setting enabled with -O, where we would log directory enter/leave for each synchronized output. Now we only do that if --trace=dir is given.