summaryrefslogtreecommitdiffstats
path: root/build2/test
Commit message (Collapse)AuthorAgeFilesLines
* Add support for multiple variable overridesHEADmasterBoris Kolpackov2019-03-141-1/+1
| | | | | | | | | | Now we can do: $ b config.cxx.coptions=-O3 config.cxx.coptions=-O0 Or even: $ b config.cxx.coptions=-O3 config.cxx.coptions+=-g
* Add workarounds for all cl releases until 20.00Karen Arutyunov2019-03-131-3/+3
|
* Use new setup for unit testsKaren Arutyunov2019-03-0827-0/+4677
|
* Move bunch of root scope-only data members to root_extraBoris Kolpackov2019-03-071-2/+2
|
* Add support for alternative build file/directory naming schemeBoris Kolpackov2019-03-075-19/+31
| | | | | | | | Now the build/*.build, buildfile, and .buildignore filesystem entries in a project can alternatively (but consistently) be called build2/*.build2, build2file, and .build2ignore. See a note at the beginning of the Project Structure section in the manual for details (motivation, restrictions, etc).
* Add testscript sleep builtinKaren Arutyunov2019-01-242-4/+84
|
* Update copyright yearKaren Arutyunov2019-01-1627-27/+27
|
* Adapt to inventing path_match_flagsKaren Arutyunov2018-11-301-1/+3
|
* Print id of failed testKaren Arutyunov2018-11-172-2/+30
|
* Fix GCC maybe used uninitialized warningKaren Arutyunov2018-11-161-1/+1
|
* Only search for external tools (compilers, linkers, etc) in PATHBoris Kolpackov2018-11-051-1/+1
| | | | | | | Specifically, omit the current executable's directory on Windows since there is no reason for them to be found there automagically and this can lead to surprising behavior (for example, our MinGW GCC being used instead of the user's even though the user's is in PATH before ours).
* Raise libcpp version in regex-related check to 7.0.0Karen Arutyunov2018-10-161-1/+1
|
* Create .buildignore file in testscript root working directoryKaren Arutyunov2018-09-052-11/+29
|
* Rename .test/test{} to .testscript/testscript{}Boris Kolpackov2018-09-042-6/+6
|
* Diagnose NULL test.target variable valueBoris Kolpackov2018-08-281-9/+19
|
* Add support for default extension specification, trailing dot escapingBoris Kolpackov2018-08-071-7/+12
| | | | | | | | | | | | | For example: cxx{*}: extension = cxx cxx{foo} # foo.cxx cxx{foo.test} # foo.test (probably what we want...) cxx{foo.test...} # foo.test.cxx (... is this) cxx{foo..} # foo. cxx{foo....} # foo.. cxx{foo.....} # error (must come in escape pair)
* Add --after <ref-file> option for testscript touch builtinKaren Arutyunov2018-07-171-10/+44
|
* Add testscript mv builtinKaren Arutyunov2018-07-141-1/+224
|
* Add prerequisite variable visibility specification/enforcementBoris Kolpackov2018-06-281-4/+4
|
* Implement support for excluded and ad hoc prerequisitesBoris Kolpackov2018-06-282-1/+7
| | | | | | | | | | | | | | 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
* Adapt to renaming regex_replace_ex() to regex_replace_search()Karen Arutyunov2018-06-191-6/+7
|
* Minor formatting cleanupKaren Arutyunov2018-06-151-3/+3
|
* Update copyright yearKaren Arutyunov2018-05-1927-27/+27
|
* Support for deriving target type from file name, handle testscript, buildfileBoris Kolpackov2018-05-191-1/+2
| | | | | | | | | | In particular, instead of: exe{test}: test{testscript} We should now write: exe{test}: testscript
* Add workarounds for all releases of VC15Karen Arutyunov2018-05-181-3/+3
|
* Pass ignore_dangling flag to dir_iterator() ctorKaren Arutyunov2018-05-182-3/+8
|
* Redo testscript diagnostics not to rely on invalid pathsKaren Arutyunov2018-05-162-52/+24
|
* Fix inability to run program by relative path in testscriptKaren Arutyunov2018-05-121-1/+22
|
* Implement forwarded configurations and backlinkingBoris Kolpackov2018-04-261-4/+28
|
* Add workarounds for VC15u7Boris Kolpackov2018-04-131-3/+3
|
* Add support for cp builtin -p optionKaren Arutyunov2018-03-191-12/+53
|
* Add support for detecting dependency cyclesBoris Kolpackov2018-02-162-12/+12
|
* Fix group link-up raceBoris Kolpackov2018-02-161-1/+1
|
* Add support for VC15u6Boris Kolpackov2018-02-151-3/+3
|
* Preprend testscript expressions with ': ' for verbosity >= 3Karen Arutyunov2018-02-123-22/+13
|
* Preprend testscript expressions with $ for verbosity >= 3Karen Arutyunov2018-02-091-1/+1
|
* Fix broken test (and few other things)Boris Kolpackov2018-02-091-2/+2
|
* Fix broken id assigning for testscript if-else scopesKaren Arutyunov2018-02-081-1/+1
|
* Update/cleanup comment documentation for inner/outer operation semanticsBoris Kolpackov2018-02-081-5/+5
|
* Add support for update-for-{test,install} operation aliasesBoris Kolpackov2018-02-074-2/+21
|
* Initial work for default update outer operationBoris Kolpackov2018-02-072-28/+57
| | | | | | While update still uses the old "all update rules update all their prerequisites" assumption, test and install have been fixed not to rely on this.
* Fix test and install rules to handle see-through groups correctlyBoris Kolpackov2018-02-052-51/+45
|
* Work around VC issueBoris Kolpackov2018-02-031-5/+5
|
* Get rid of action rule override semanticsBoris Kolpackov2018-02-037-437/+475
| | | | | Instead we now have two more or less separate match states for outer and inner parts of an action.
* Work around bogus ubsan reportBoris Kolpackov2018-01-051-1/+2
|
* Add support for variable aliasesBoris Kolpackov2018-01-051-4/+5
|
* Load config.build in init(), not boot()Boris Kolpackov2018-01-042-2/+4
| | | | We now make sure the config module is init'ed first.
* Fix few undefined behavior (ubsan) bugsBoris Kolpackov2018-01-022-7/+7
|
* Adapt regex to digit(wchar_t) added to libbutlKaren Arutyunov2017-12-262-2/+4
|
* Trace non-zero process exit codeBoris Kolpackov2017-12-172-27/+3
| | | | Also convert to using operator<<(ostream,process_exit).