aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/bmake/unit-tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge bmake-20260313Simon J. Gerraty2026-04-061-6/+27
| | | | Merge commit 'fe271bdb43cf88ee129d94c0e286fe618fd28e89'
* Update to bmake-20251111Simon J. Gerraty2025-12-032-9/+29
| | | | Merge commit '638c66de4a0faa4c2e815e81cd4021c2387c7e0f'
* Merge bmake-20250804Simon J. Gerraty2025-08-051-2/+5
| | | | | | Fixes bug in meta mode output capture. Merge commit '787302bde4d89279180303b753eb73b9bc6820b9'
* Merge bmake-20250707Simon J. Gerraty2025-07-191-3/+4
| | | | Merge commit '3d772e596c1acf76f555c1f51fd8d834e56b0c35'
* Merge bmake-20250618Simon J. Gerraty2025-06-281-19/+16
|
* Merge bmake-20250414Simon J. Gerraty2025-04-191-5/+10
| | | | Merge commit '284d1f7d496806b18558ab55e4654fd5e96d6a3e'
* Merge bmake-20250308Simon J. Gerraty2025-03-191-1/+1
|
* Merge bmake-20250125Simon J. Gerraty2025-01-301-11/+18
| | | | Merge commit '5ad769f660f3d00853bc739f82d9bc62f6a682cb'
* Merge bmake-20240711Simon J. Gerraty2024-07-201-7/+25
| | | | Merge commit '84691af93185c692058ba55fa81a04103f5bf71b'
* Merge bmake-20240625Simon J. Gerraty2024-06-291-4/+9
| | | | Merge commit 'dbb5be7f07456d02ce444484c683b130439acb45'
* Merge bmake-20240430Simon J. Gerraty2024-05-031-17/+10
| | | | Merge commit '507951f55039f9d1ceae507d510f8cb68225fbc5'
* bmake Makefile.configSimon J. Gerraty2024-03-141-1/+10
|
* Update to bmake-20240108Simon J. Gerraty2024-01-141-4/+5
|
* Merge bmake-20230909Simon J. Gerraty2023-09-181-2/+20
| | | | Merge commit '1012cf15f75d1e9048779abd07270a37cdba590a'
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Merge bmake-20230622Simon J. Gerraty2023-06-271-4/+13
| | | | Merge commit '3e39ce563b9ba25883e5aa37d9799eda9e57c1e0'
* sys.dirdeps.mk use ?= for OBJTOPSimon J. Gerraty2023-05-131-2/+3
| | | | This broke bmake's after-import step.
* bmake forloop test was removedSimon J. Gerraty2023-05-131-1/+0
|
* Merge bmake-20230414Simon J. Gerraty2023-04-241-27/+36
| | | | Merge commit '51d8a8b4ac1dd7265e891149e470a803906de2a7'
* Merge/update to bmake-20230126Simon J. Gerraty2023-01-282-11/+33
|
* Update to bmake-20220726Simon J. Gerraty2022-07-271-1/+1
| | | | Merge commit '31a96ca5f0b6e5f8f7fa8cecf3a5c4354b3b096f'
* Auto-create bmake/unit-tests objdir if appropriateSimon J. Gerraty2022-07-261-0/+1
| | | | | | | | | | Given the way bmake/unit-tests is visited, when doing 'test' MK_AUTO_OBJ=yes will not be effective. So create the objdir before running the sub-make. Also ensure MAKEOBJDIR is passed to opt-m-include-dir Reviewed by: deo
* Finish update to bmake-20220724Simon J. Gerraty2022-07-261-6/+7
|
* Merge bmake-20220418Simon J. Gerraty2022-04-221-16/+12
| | | | | | | | o ignore '.POSIX:' if not in first non-comment line of Makefile as specified by POSIX. add unit-tests for above. Merge commit '92bfae0e6bd53a7a0d6fe55e70a916d86cf26e8b'
* Merge bmake-20220330Simon J. Gerraty2022-04-031-9/+16
| | | | Merge commit 'a052cb432096794be5070dc68a2b302eaf5a4783'
* Merge bmake-20220208Simon J. Gerraty2022-02-091-2/+14
| | | | | | | | | | * unit-tests/Makefile: disable opt-debug-x-trace on Linux if there is any chance we have dash as .SHELL * meta.c: use a variable to hold command line to be filtered to avoid any side effects from content of command line. Merge commit '535c59a6a9214436f5d6643775d29808e4b3408d'
* Update to bmake-20220204Simon J. Gerraty2022-02-051-12/+18
|
* After-import bmake-20211212Simon J. Gerraty2021-12-182-14/+65
|
* Update to bmake-20210621Simon J. Gerraty2021-06-251-7/+21
| | | | MFC after: 1 week
* Merge bmake-20210206Simon J. Gerraty2021-02-111-17/+63
| | | | | | | | | | | Changes of interest o unit-tests: use private TMPDIR to avoid errors from other users o avoid strdup in mkTempFile o always use vfork o job.c: do not create empty shell files in jobs mode reduce unnecessary calls to waitpid o cond.c: fix debug output for comparison operators in conditionals
* Merge bmake-20210110Simon J. Gerraty2021-01-141-34/+125
| | | | | | | | | | | | | | | | | | | | | Quite a lot of churn on style, but lots of good work refactoring complicated functions and lots more unit-tests. Thanks mostly to rillig at NetBSD Some interesting entries from ChangeLog o .MAKE.{UID,GID} represent uid and gid running make. o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable checks in InitObjdir. Explicit .OBJDIR target always allows read-only directory. o add more unit tests for META MODE Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c
* Merge bmake-20201117Simon J. Gerraty2020-11-201-21/+58
| | | | | | | | | | | | | | | o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable checks in InitObjdir. Explicit .OBJDIR target always allows read-only directory. o More code cleanup and refactoring. o More unit tests MFC after: 1 week Notes: svn path=/head/; revision=367863
* Update to bmake-20201101Simon J. Gerraty2020-11-071-34/+119
| | | | | | | | | | | | | | Lots of new unit-tests increase code coverage. Lots of refactoring, cleanup and simlpification to reduce code size. Fixes for Bug 223564 and 245807 Updates to dirdeps.mk and meta2deps.py Notes: svn path=/head/; revision=367465
* Update to bmake-20200902Simon J. Gerraty2020-09-051-29/+338
| | | | | | | | | | | | | | | | | | | | Lots of code refactoring, simplification and cleanup. Lots of new unit-tests providing much higher code coverage. All courtesy of rillig at netbsd. Other significant changes: o new read-only variable .SHELL which provides the path of the shell used to run scripts (as defined by the .SHELL target). o variable parsing detects more errors. o new debug option -dl: LINT mode, does the equivalent of := for all variable assignments so that file and line number are reported for variable parse errors. Notes: svn path=/head/; revision=365366
* Oops missed Makefile.configSimon J. Gerraty2020-07-191-0/+11
| | | | Notes: svn path=/head/; revision=363350
* Update to bmake-20200710Simon J. Gerraty2020-07-121-94/+110
| | | | | | | | | | | | Key changes include reduced noise at end of failed build log and avoid evaluation of unnecessary terms in conditionals. In META MODE; a target flagged .META is out-of-date if meta file is missing MFC after: 1 week Notes: svn path=/head/; revision=363117
* Update bmake to version 20180919Simon J. Gerraty2018-12-061-2/+3
| | | | | | | | Cleanup of stats cache and new :q modifier. Notes: svn path=/head/; revision=341652
* Merge bmake-20151201Simon J. Gerraty2015-12-081-2/+2
| | | | Notes: svn path=/head/; revision=291978
* Merge bmake-20150505 improve detection of malformed conditionals.Simon J. Gerraty2015-05-101-2/+3
| | | | Notes: svn path=/head/; revision=282740
* Merge bmake-20150418Simon J. Gerraty2015-04-211-30/+78
| | | | | | | PR: 199486 Notes: svn path=/head/; revision=281812
* Merge bmake-20130904Simon J. Gerraty2013-09-051-2/+3
| | | | Notes: svn path=/head/; revision=255253
* Merge bmake-20130730Simon J. Gerraty2013-08-021-3/+3
| | | | | | | | Main feature of interest is .MAKE.JOB.PREFIX= to suppress --- job --- tokens. Notes: svn path=/head/; revision=253883
* Update to bmake-20130330Simon J. Gerraty2013-04-021-2/+3
| | | | Notes: svn path=/head/; revision=249033
* Missed adding Makefile.config and unit-tests/Makefile shouldSimon J. Gerraty2013-02-041-0/+2
| | | | | | | | | allow FreeBSD make to do 'obj'. Approved by: marcel (mentor) Notes: svn path=/head/; revision=246325
* Merge bmake-20130123Simon J. Gerraty2013-02-011-1/+1
| | | | | | | Approved by: marcel (mentor) Notes: svn path=/head/; revision=246223
* Merge bmake-20121111Simon J. Gerraty2012-11-161-2/+4
| | | | | | | | | Also pay attention to MK_SHARED_TOOLCHAIN. Approved by: marcel (mentor) Notes: svn path=/head/; revision=243115
* Add bmake to the build and allow it to be installed as make(1) insteadMarcel Moolenaar2012-10-061-0/+103
of FreeBSD's make by setting WITH_BMAKE. The WITH_BMAKE build makes it easy for people to switch while working out the kinks -- think ports tree here. The option will be removed in due time. Submitted by: Simon Gerraty (sjg@juniper.net) Notes: svn path=/head/; revision=241279