aboutsummaryrefslogtreecommitdiff
path: root/tools/build/make_check
Commit message (Collapse)AuthorAgeFilesLines
* Don't stop other legs of a parallel build due to a failure in make_check.Ian Lepore2014-08-201-0/+3
| | | | | | | | The whole point is to see if there's any failure, which is handled by building a newer version of make. Notes: svn path=/head/; revision=270190
* Following r226271, allow disabling lzma support with "WITHOUT_LZMA_SUPPORT".David E. O'Brien2013-01-081-1/+1
| | | | | | | | | Correct r226271 which should have used WITHOUT_BZIP2_SUPPORT per r166255. Obtained from: Juniper Networks Notes: svn path=/head/; revision=245171
* Add support for bmake. This includes:Marcel Moolenaar2012-10-061-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect. Avoid it. Make the necessary changes to have upgrade_checks work wth bmake anyway. 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any) anyway. 3. Properly declare phony targets as phony as bmake is a lot smarter (and thus agressive) about build avoidance. 4. Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot smarter about build avoidance and should not find files we generate in the source tree. We should not have files in the repository we want to generate, but this is an easier way to cross this hurdle. 5. Have behavior under bmake the same as it is under make with respect to halting when sub-commands fail. Add "set -e" to compound commands so that bmake is informed when sub-commands fail. 6. Make sure crunchgen uses the same make as the rest of the build. This is important when the make utility isn't called make (but bmake for example). 7. While here, add support for using MAKEOBJDIR to set the object tree location. It's the second alternative bmake looks for when determining the actual object directory (= .OBJDIR). Submitted by: Simon Gerraty <sjg@juniper.net> Submitted by: John Van Horne <jvanhorne@juniper.net> Notes: svn path=/head/; revision=241298
* Remove the "funny targets" make check. We no longer need embedded :: targetsDavid E. O'Brien2012-07-051-18/+10
| | | | | | | | | | | | to build FreeBSD (they are used in Perl man pages). We never needed embedded "!" in targets that I can find. We got this from OpenBSD and I cannot find any other make that supports such things -- contrary to their commit message claim: "This behaviour is also consistent with other versions of make.". Notes: svn path=/head/; revision=238143
* make it easier to check newly-built makeDavid E. O'Brien2012-05-301-0/+19
| | | | Notes: svn path=/head/; revision=236340
* + Tighten up (and simplify) the pass_cmd_vars_1 "variable definition arrivedDavid E. O'Brien2011-05-251-12/+9
| | | | | | | | from the calling make" test. + Be more tolerant of newlines in the plus_flag "supports the '+' flag" test. Notes: svn path=/head/; revision=222295
* The shell_1_sh test was failing with "make -jX".Ruslan Ermilov2007-10-011-1/+1
| | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=172399
* Fix builds with a read-only directory and a make upgrade. This is doneHartmut Brandt2004-12-071-6/+4
| | | | | | | | | | | by forcing the creation of an object directory for the make regression tests. Let make handle the tracking of the dependency and installation of test_shell script. Submitted by: ru Notes: svn path=/head/; revision=138515
* Make this work under debugging, e.g., "make -dl".Ruslan Ermilov2004-12-061-1/+1
| | | | Notes: svn path=/head/; revision=138432
* Make the tests runnable on a read-only src. To do this you must make sureHartmut Brandt2004-12-022-49/+69
| | | | | | | | | | | | | | | that you create one of the object directories make knows (see make(1)). This uses the -C flag, so add a test that checks that make actually accepts -C. Also fix the test that selects csh via the .SHELL target to work for tcsh users too. This commit renames shell_test to shell_test.sh. There is no history to preserve so go without a repo-copy. Reviewed by: ru Notes: svn path=/head/; revision=138317
* Chmod the shell testscript to be executable if it isn't already. AccordingHartmut Brandt2004-11-301-0/+1
| | | | | | | | to the CVS-Meisters x-mode just happens to work, but is not guaranteed to do so. Try to be on the safe side. Notes: svn path=/head/; revision=138227
* Add some regression tests for the .SHELL target. I'm not sure that theHartmut Brandt2004-11-253-1/+59
| | | | | | | | output of shell_2j is actually correct - it just tests what make currently does. Make should switch on echoing for the second line, shouldn't it? Notes: svn path=/head/; revision=138080
* Switch over to a different, more flexible test output protocol that'sNik Clayton2004-11-112-29/+21
| | | | | | | | | | | | | | | | | | | | | | | understood by Perl's Test::Harness module and prove(1) commands. Update README to describe the new protocol. The work's broken down into two main sets of changes. First, update the existing test programs (shell scripts and C programs) to produce output in the ok/not ok format, and to, where possible, also produce a header describing the number of tests that are expected to be run. Second, provide the .t files that actually run the tests. In some cases these are copies of, or very similar too, scripts that already existed. I've kept the old scripts around so that it's possible to verify that behaviour under this new system (in terms of whether or not a test fails) is identical to the behaviour under the old system. Add a TODO file. Notes: svn path=/head/; revision=137587
* Add a regression test for the alternate shell specification.Ruslan Ermilov2004-10-231-0/+10
| | | | Notes: svn path=/head/; revision=136842
* Now that make more correctly handles variable assignmentsHartmut Brandt2004-08-121-3/+1
| | | | | | | in .MAKEFLAGS targets enable the regression test for this. Notes: svn path=/head/; revision=133593
* Back out something I'm working on that crept in with the last commit.Hartmut Brandt2004-08-051-1/+3
| | | | | | | Spotted by: ru Notes: svn path=/head/; revision=133165
* Remove extra spaces. Remove double quotes around error messages -Hartmut Brandt2004-08-051-13/+11
| | | | | | | | | they are not needed and will actually be printed. Submitted by: ru Notes: svn path=/head/; revision=133164
* Add another test that checks for a working '+' command flag.Hartmut Brandt2004-08-051-0/+19
| | | | Notes: svn path=/head/; revision=133161
* Add a regression test for the passing of command lineHartmut Brandt2004-08-041-0/+87
| | | | | | | variable assignments via the MAKEFLAGS environment variable. Notes: svn path=/head/; revision=133109
* Add a test for what was broken in rev. 1.28 and fixed in rev. 1.29Ruslan Ermilov2004-01-301-0/+8
| | | | | | | of make/str.c. Notes: svn path=/head/; revision=125227
* Add a test for what was fixed in revs. 1.28 and 1.29 of make/str.c.Ruslan Ermilov2004-01-291-0/+11
| | | | Notes: svn path=/head/; revision=125219
* Fix a bug that prevented exists() from finding "foo/", "foo/."Ruslan Ermilov2003-10-021-0/+11
| | | | | | | | | and "foo/.." when ".PATH: foo" was also given. PR: bin/34062 Notes: svn path=/head/; revision=120676
* Fixed broken arithmetic expression parser.Ruslan Ermilov2003-07-041-0/+12
| | | | | | | | Reminded by: bde In memory of: alane Notes: svn path=/head/; revision=117226
* The regression-tests for 'make' *expect* to trigger make's warning:Garance A Drosehn2003-02-101-1/+1
| | | | | | | | | | | | | warning: duplicate script for target "double" ignored The regression-tests do try to hide that message, but the message does still appear when using -j (eg: 'make -j5 buildworld'). This changes the regression-test so the expected warning message will not be seen even when -j is specified. Reviewed by: jmallett ru Notes: svn path=/head/; revision=110654
* Add a test for what was fixed in revisions 1.39 and 1.50 ofRuslan Ermilov2002-11-281-0/+9
| | | | | | | | | make/parse.c (allow embedded `:' and `!' in target names). Approved by: re Notes: svn path=/head/; revision=107375
* Moved make(1) regression tests from src/Makefile to where theyRuslan Ermilov2002-11-281-1/+25
| | | | | | | | | | belong (src/tools/regression/usr.bin/make), and use the latter to test if make(1) is adequate for building the world. Approved by: re Notes: svn path=/head/; revision=107374
* Hide the test in <target> under '.if make(<target>)' so as to not get anyJuli Mallett2002-10-251-0/+4
| | | | | | | errors/warnings related to crud in said test block. Notes: svn path=/head/; revision=105907
* As of revision 1.38 of make/parse.c, our make(1) will warn too. Note thatJuli Mallett2002-07-281-2/+3
| | | | | | | | this isn't just for the sake of testing behaviour, and that things really do break if this regression occurs. Notes: svn path=/head/; revision=100794
* Grrr, make the test for embedded variables in the left-hand-side actually doJuli Mallett2002-06-201-2/+2
| | | | | | | the right thing in every case. Yuck. Notes: svn path=/head/; revision=98461
* Add a test for what was fixed in revision 1.27 and 1.28 of make(1)'s var.c,Juli Mallett2002-06-191-0/+17
| | | | | | | | | expansion of embedded variables in the left-hand-side of an assignment expression, using the simplest case - hiding recursion using nil-expanded variables. Notes: svn path=/head/; revision=98442
* Add a regression test for bin/5297, regarding sysv substitution with a nilJuli Mallett2002-05-052-0/+10
| | | | | | | left-hand-side. Notes: svn path=/head/; revision=96070
* Prefix tests with PASS and FAIL, to make grepping easier, and note this inJuli Mallett2002-04-271-3/+3
| | | | | | | | | the README. This affects only the base-system regression tests, of course. Notes: svn path=/head/; revision=95538
* Check to see if make(1)'s handling of doubly-defined targets is busted orJuli Mallett2002-04-211-0/+11
| | | | | | | not. A lot relies on this. Notes: svn path=/head/; revision=95167
* Add a test of variable evaluation and substitution for make(1), as a startJuli Mallett2002-04-202-0/+21
of tests for it. Notes: svn path=/head/; revision=95158