summaryrefslogtreecommitdiff
path: root/tests/run_make_tests.pl
AgeCommit message (Collapse)AuthorFilesLines
2014-10-20Set up for running tests on VMS.John Malmberg1-0/+7
* 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.
2014-09-30Update Copyright statements for 2014.Paul Smith1-1/+1
2014-07-07Update the regression test harness to support VMS.John Malmberg1-8/+66
* 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.
2013-10-19[SV 40240] Use configure info to build load test shared libsPaul Smith1-0/+1
* 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
2013-09-22Regression test portability to Solaris.Paul Smith1-0/+9
2013-09-15[SV 27374] Fatal immediately on unrecoverable fopen() errors.Paul Smith1-2/+4
2013-05-17Update source file format: remove TABs, use GNU coding styles.Paul Smith1-0/+0
2013-05-17Update copyright for changes in 2013.Paul Smith1-1/+1
2013-02-25Expand the loadable object support.Paul Smith1-8/+27
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.
2012-10-29Implement new "load" directive.Paul Smith1-15/+14
Provides support for dynamically loadable objects in GNU make, as a "technology preview".
2012-03-05Simplify copyrights using ranges of years.Paul Smith1-3/+1
The new GNU Maintainer's Manual allows the use of year ranges in certain situations; take advantage of this simplification.
2012-03-04Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines.Paul Smith1-1/+1
Fixes Savannah bug #34530.
2012-03-03Fix Savannah bug #35410: handle escape chars in filter/filter-outPaul Smith1-1/+1
Also add a valgrind suppression file for Guile-enabled make.
2012-01-16Update copyright notices.Paul Smith1-2/+2
2010-08-14- Fix the NEWS file to be accuratePaul Smith1-0/+3
- Add oneshell to $(.FEATURES) (forgot that!) - Fix Savannah bug #30612: handling of archive references with >1 object
2010-07-13Update copyrights for 2010.Paul Smith1-1/+2
2010-07-12Add the beginning of the .ONESHELL special feature.Paul Smith1-0/+2
Original patch by David Boyce. Modified by Paul Smith.
2009-10-25Update copyright years.Paul Smith1-1/+1
2009-09-28- Update manual description for pattern rule search algorithmPaul Smith1-9/+14
- Add new "-all" flag to the test suite to run tests that don't pass yet - Add some non-passing tests - Fix from Andreas Buening for OS/2.
2009-09-16- Add xcalloc() and call itPaul Smith1-1/+1
- Fix memory errors found by valgrind - Remove multi_glob() and empower parse_file_seq() to do its job: the goal here is to remove the confusing reverse/re-reverse we do on the file lists: needed for future fixes. - Add a prefix arg to parse_file_seq() - Make concat() variadic so it can take arbitrary #'s of strings
2009-06-10- Fix Savannah bug #19108Paul Smith1-13/+42
- 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.
2007-07-14Fix Savannah bug #20452.Paul Smith1-4/+13
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-07-04* Update to GPLv3Paul Smith1-8/+9
* Update copyright to 2007 * Fix download URL for translation files (thanks to Thiemo Seufer)
2007-03-20This is a major update, which switches virtually every allocated-but-not-freedPaul Smith1-1/+2
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-10-01Fixed a number of documentation bugs, plus some build/install issues:Paul Smith1-5/+0
16304, 16468, 16577, 17701, 17880, 16051, 16652, 16698 Plus some from the mailing list. Imported a patch from Eli to allow Cygwin builds to support DOS-style pathnames.
2006-03-08Some test updates for Windows.Paul Smith1-1/+1
Handle SHELL set on the command line properly for windows.
2006-02-11Last of the copyright updates.Paul Smith1-2/+2
2006-02-11More copyright/license updates.Paul Smith1-0/+16
2006-02-10- New code capability: a read-only string cache. Start of solution forPaul Smith1-1/+3
Savannah bug #15182, but not much uses it yet. Coming shortly. - Added short-circuiting $(and ..) and $(or ...) functions.
2005-12-13Update the make.1 man page.Paul Smith1-2/+2
Use rm -f instead of rm in the test scripts. Fixes bug #15085.
2005-10-24Make second expansion optional (partial implementation).Paul Smith1-2/+5
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-31Try using POSIX::getcwd to find the working directory wherever it exists.Paul Smith1-6/+9
This should help the tests run more accurately on Windows (hopefully...)
2005-02-28* New feature: -L optionPaul Smith1-9/+4
* 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-26Add configure operations to support MINGW on Windows.Paul Smith1-8/+17
2005-02-10Flush stdout after printing directory info.Paul Smith1-0/+4
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-09-22Update the test template. A few fixes in run_make_test().Paul Smith1-2/+2
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-1/+1
2004-09-21Add some more unit tests for variable flavors.Paul Smith1-18/+29
Allow run_make_tests() to be invoked with an undef makefile string, in which case it re-uses the previous string.
2004-09-21Fix some bugs in variable pattern substitution (e.g. $(VAR:A=B)),Paul Smith1-0/+8
reported by Markus Mauhart <qwe123@chello.at>. One was a simple typo; to fix the other we call patsubst_expand() for all instances of variable substitution, even when there is no '%'. We used to call subst_expand() with a special flag set in the latter case, but it didn't work properly in all situations. Easier to just use patsubst_expand() since that's what it is.
2004-05-16Various enhancementsPaul Smith1-49/+83
- OS/2 Patches - OpenVMS updates - Sanitize the handling of -include/sinclude with and without -k - Fix the setting of $< for order-only rules.
2003-05-02- Fix bug #1405: allow multiple pattern-specific variables to match a target.Paul Smith1-1/+5
- Fix some uncleanliness about the implementation of patterns-specific vars. - Some enhancements to the OS/2 port.
2002-07-11Install Greg McGary's patches to port the id-utils hashing functions toPaul Smith1-0/+34
GNU make. Also he provides some other performance fixups after doing some profiling of make on large makefiles. Modify the test suite to allow the use of Valgrind to find memory problems.
2000-02-05* Updates for VMS, Windows, and DOS ports.Paul Smith1-0/+11
* Clean up some warnings.
1999-09-17* Fix escaping from perl to the shell.Paul Smith1-1/+1
1999-09-17* A few script fixes and updates for 3.78.Paul Smith1-16/+38
1999-09-15* Cleanup the test suite.Paul Smith1-26/+26
1999-09-14* Added the test suite to the main distribution.Paul Smith1-0/+203