summaryrefslogtreecommitdiffstats
path: root/tools/build
Commit message (Collapse)AuthorAgeFilesLines
* Make <runefile.h> internal to libc.ru2005-05-161-5/+0
| | | | Suggested by: phantom
* Add hacks that I use to test cross-builds (by building onru2005-03-024-0/+23
| | | | | | | | native and foreign architectures and comparing products). They eliminate most of the differences caused by different object directory paths, timestamping, and identification. (Note WORLDTMP was renamed to ${OBJTREE}${.CURDIR}/tmp.)
* Bootstrap gencat(1).ru2005-02-271-0/+5
| | | | OK'ed by: phantom
* As threatened, drop support for source upgrades from pre-5.3.ru2005-02-276-160/+0
| | | | Inspired by: obrien
* Make the format of LC_CTYPE files architecture independent byru2005-02-261-0/+5
| | | | | | | | | | | | | introducing the disk formats for _RuneLocale and friends. The disk formats do not have (useless) pointers and have 32-bit quantities instead of rune_t and long. (htonl(3) only works with 32-bit quantities, so there's no loss). Bootstrap mklocale(1) when necessary. (Bootstrapping from 4.x would be trivial (verified), but we no longer provide pre-5.3 source upgrades and this is the first commit to actually break it.)
* Fix builds with a read-only directory and a make upgrade. This is doneharti2004-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
* Make this work under debugging, e.g., "make -dl".ru2004-12-061-1/+1
|
* Make the tests runnable on a read-only src. To do this you must make sureharti2004-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
* Chmod the shell testscript to be executable if it isn't already. Accordingharti2004-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.
* Add some regression tests for the .SHELL target. I'm not sure that theharti2004-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?
* Switch over to a different, more flexible test output protocol that'snik2004-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.
* Add a regression test for the alternate shell specification.ru2004-10-231-0/+10
|
* Now that make more correctly handles variable assignmentsharti2004-08-121-3/+1
| | | | in .MAKEFLAGS targets enable the regression test for this.
* Back out something I'm working on that crept in with the last commit.harti2004-08-051-1/+3
| | | | Spotted by: ru
* Remove extra spaces. Remove double quotes around error messages -harti2004-08-051-13/+11
| | | | | | they are not needed and will actually be printed. Submitted by: ru
* Add another test that checks for a working '+' command flag.harti2004-08-051-0/+19
|
* Add a regression test for the passing of command lineharti2004-08-041-0/+87
| | | | variable assignments via the MAKEFLAGS environment variable.
* Removed extraneous parentheses.ru2004-03-011-1/+1
|
* Add getopt_long.c if ${BOOTSTRAPPING} < 502104ache2004-02-281-1/+1
|
* Unbreak the upgrade path from 4.9 after removal of GNU getopt andru2004-02-202-0/+16
| | | | <gnuregex.h>.
* Add a test for what was broken in rev. 1.28 and fixed in rev. 1.29ru2004-01-301-0/+8
| | | | of make/str.c.
* Add a test for what was fixed in revs. 1.28 and 1.29 of make/str.c.ru2004-01-291-0/+11
|
* Fix a bug that prevented exists() from finding "foo/", "foo/."ru2003-10-021-0/+11
| | | | | | and "foo/.." when ".PATH: foo" was also given. PR: bin/34062
* Fixed broken arithmetic expression parser.ru2003-07-041-0/+12
| | | | | Reminded by: bde In memory of: alane
* A version of <sys/endian.h> in RELENG_4 doesn't have 64-bit functions.ru2003-04-151-1/+1
| | | | Spotted by: simokawa
* Make sure legacy stuff comes last. Some tools that useru2003-04-123-10/+12
| | | | | | | | | | | legacy stuff (binutils) depend on this order. For this to work, provide (and use) specialized versions of bsd.prog.mk and bsd.lib.mk that include the standard versions first, then augment CFLAGS, DPADD, LDADD, and LDFLAGS as necessary, with the legacy stuff. Tested on: 4.0-RELEASE
* libc_gen/basename.c depends on include/libgen.h.ru2003-04-111-3/+3
|
* -legacy and /.../legacy/... looks better than build or bootstrap inimp2003-04-062-5/+5
| | | | | | the logs, so use that instead. Submitted by: obrien.
* We can't use ${WORLDTMP}/usr/{include,lib} for the compat layer. Thisimp2003-04-061-3/+5
| | | | | | | | | | | is because we populate these directories later, and a subsequent -DNOCLEAN build may fail. So, we put them in ${WORLDTMP}/build/usr/{include,lib} instead and adjust Makefile.boot. Again, this works on -stable and -current, but might break older versions. Submitted by: ru@
* Don't need the gccism include_next since we won't create this fileimp2003-04-061-6/+1
| | | | | | when a real sys/endian.h exists. Submitted by: ru@
* Migrate to a new way of dealing with building from old revisions ofimp2003-04-056-0/+180
| | | | | | | | | | | | | | | | | FreeBSD. This method attempts to centralize all the necessary hacks or work arounds in one of two places in the tree (src/Makefile.inc1 and src/tools/build). We build a small compatibility library (libbuild.a) as well as selectively installing necessary include files. We then include this directory when building host binaries. This removes all the past release compatibilty hacks from various places in the tree. We still build on tip of stable and current. I will work with those that want to support more, although I anticipate it will just work. Many thanks to ru@, obrien@ and jhb@ for providing valuable input at various stage of implementation, as well as for working together to positively effect a change for the better.
* The regression-tests for 'make' *expect* to trigger make's warning:gad2003-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
* Add a test for what was fixed in revisions 1.39 and 1.50 ofru2002-11-281-0/+9
| | | | | | make/parse.c (allow embedded `:' and `!' in target names). Approved by: re
* Moved make(1) regression tests from src/Makefile to where theyru2002-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
* Hide the test in <target> under '.if make(<target>)' so as to not get anyjmallett2002-10-251-0/+4
| | | | errors/warnings related to crud in said test block.
* As of revision 1.38 of make/parse.c, our make(1) will warn too. Note thatjmallett2002-07-281-2/+3
| | | | | this isn't just for the sake of testing behaviour, and that things really do break if this regression occurs.
* Grrr, make the test for embedded variables in the left-hand-side actually dojmallett2002-06-201-2/+2
| | | | the right thing in every case. Yuck.
* Add a test for what was fixed in revision 1.27 and 1.28 of make(1)'s var.c,jmallett2002-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.
* Add a regression test for bin/5297, regarding sysv substitution with a niljmallett2002-05-052-0/+10
| | | | left-hand-side.
* Prefix tests with PASS and FAIL, to make grepping easier, and note this injmallett2002-04-271-3/+3
| | | | | | the README. This affects only the base-system regression tests, of course.
* Check to see if make(1)'s handling of doubly-defined targets is busted orjmallett2002-04-211-0/+11
| | | | not. A lot relies on this.
* Add a test of variable evaluation and substitution for make(1), as a startjmallett2002-04-202-0/+21
of tests for it.
OpenPOWER on IntegriCloud