summaryrefslogtreecommitdiffstats
path: root/old-tests
Commit message (Collapse)AuthorAgeFilesLines
* Add support for multiple variable overridesHEADmasterBoris Kolpackov2019-03-141-3/+3
| | | | | | | | | | Now we can do: $ b config.cxx.coptions=-O3 config.cxx.coptions=-O0 Or even: $ b config.cxx.coptions=-O3 config.cxx.coptions+=-g
* Update copyright yearKaren Arutyunov2019-01-166-6/+6
|
* Add support for relative to base scope command line variable overridesBoris Kolpackov2018-11-091-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, if we say: $ b dir/ ./foo=bar The scope the foo=bar is set on is relative to CWD, not dir/. While this may seem wrong at first, this is the least surprising behavior when we take into account that there can be multiple dir/'s. Sometimes, however, we do want the override directory to be treated relative to (every) target's base scope that we are building. To support this we are extending the '.' and '..' special directory names (which are still resolved relative to CWD) with '...', which means "relative to the base scope of every target in the buildspec". For example: $ b dir/ .../foo=bar Is equivalent to: $ b dir/ dir/foo=bar And: $ b liba/ libb/ .../tests/foo=bar Is equivalent to: $ b liba/ libb/ liba/tests/foo=bar libb/tests/foo=bar
* Make command line variable override scope syntax consistent with buildfileBoris Kolpackov2018-11-081-2/+2
| | | | | | | | | | | | | | | | | | | Before: $ b dir/:foo=bar ... After: $ b dir/foo=bar Alternatively (the buildfile syntax): $ b 'dir/ foo=bar' Note that the (rarely used) scope visibility modifier now leads to a double slash: $ b dir//foo=bar
* Implement support for excluded and ad hoc prerequisitesBoris Kolpackov2018-06-281-0/+3
| | | | | | | | | | | | | | The inclusion/exclusion is controlled via the 'include' prerequisite-specific variable. Valid values are: false - exclude true - include adhoc - include but treat as an ad hoc input For example: lib{foo}: cxx{win32-utility}: include = ($cxx.targe.class == 'windows') exe{bar}: libs{plugin}: include = adhoc
* Update copyright yearKaren Arutyunov2018-05-196-6/+6
|
* Regularize directory target/scope-specific variable assignment syntaxBoris Kolpackov2018-05-0319-66/+24
|
* Add tests for auto-generated test inputs/outputsBoris Kolpackov2018-02-0510-78/+0
|
* Fix test and install rules to handle see-through groups correctlyBoris Kolpackov2018-02-052-4/+9
|
* Adapt to modularization of libbutlKaren Arutyunov2017-10-031-1/+1
|
* Resolve if-else block ambiguityBoris Kolpackov2017-08-062-0/+10
|
* Add hxx extension for headersKaren Arutyunov2017-05-011-4/+4
|
* Fix bug in pair handlingBoris Kolpackov2017-04-262-0/+4
|
* Port names testBoris Kolpackov2017-03-134-103/+0
|
* Implement dir/type-aware name group crossingBoris Kolpackov2017-03-131-0/+8
|
* Fix test and dist for generated input/outputBoris Kolpackov2017-03-033-1/+5
|
* Use variable_cache for target type/pattern-specific prepend/appendBoris Kolpackov2017-02-132-22/+0
|
* Tighten target constness furtherBoris Kolpackov2017-02-133-4/+4
|
* Update copyright yearBoris Kolpackov2017-01-056-6/+6
|
* Don't try to test out-of-project prerequisitesBoris Kolpackov2016-12-171-1/+5
|
* Make use of butl::path::current(), butl::path::parent()Karen Arutyunov2016-12-071-1/+1
|
* Add comma, ternary, logical operators support in eval contextBoris Kolpackov2016-12-054-112/+0
|
* Port old value reversibility testsBoris Kolpackov2016-12-0111-156/+12
|
* Move old tests to old-tests/Boris Kolpackov2016-12-01175-0/+2734