aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test/rule.cxx
AgeCommit message (Collapse)AuthorFilesLines
2022-11-08Make process exit diagnostics consistentBoris Kolpackov1-1/+3
In particular, we now always print error message on non-0 exit except in cases where such exit is ignored.
2022-04-06Add support for rule hintsBoris Kolpackov1-2/+2
A rule hint is a target attribute, for example: [rule_hint=cxx] exe{hello}: c{hello} Rule hints can be used to resolve ambiguity when multiple rules match the same target as well as to override an unambiguous match.
2020-12-08Add support for config.test.runnerKaren Arutyunov1-5/+25
2020-11-23Increase terminated process timeout from 1 to 2 sec before killing it on ↵Karen Arutyunov1-3/+3
script pipeline termination
2020-11-06Add support for test timeoutsKaren Arutyunov1-10/+139
2020-08-03Fix buildscript diagnostics so diff output is always in unified formatKaren Arutyunov1-1/+16
Also make sure diff refers program stdout as 'stdout' rather than '-' in the test rule diagnostics.
2020-07-09Relax prerequisite filtering semantics of aliases in test and install rulesBoris Kolpackov1-1/+9
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-10-16Try to find MSVC installation for absolute cl.exe pathsBoris Kolpackov1-1/+1
Without this extra logic recursive invocation of the build system (e.g., in tests) will fail to obtain the full environment.
2019-08-23Introduce notion of build contextBoris Kolpackov1-35/+43
All non-const global state is now in class context and we can now have multiple independent builds going on at the same time.
2019-08-21Cleanup context.hxx and its usageBoris Kolpackov1-0/+1
2019-07-05Move config, dist, test, and install modules into libraryKaren Arutyunov1-0/+882