aboutsummaryrefslogtreecommitdiff
path: root/build2/test/rule.cxx
AgeCommit message (Collapse)AuthorFilesLines
2017-08-01Reimplement pkg-config generation with more conservative approach for nowBoris Kolpackov1-3/+3
2017-05-02Cleanup testscript runner diagnosticsBoris Kolpackov1-2/+5
2017-05-01Add hxx extension for headersKaren Arutyunov1-10/+10
2017-04-27Pass target to prerequisite searchBoris Kolpackov1-3/+3
2017-04-26Diagnostics printing minor optimizationKaren Arutyunov1-6/+3
2017-04-26Cleanup error messagesBoris Kolpackov1-4/+4
2017-04-26Print diff failure reasonKaren Arutyunov1-5/+27
2017-04-10Adapt to process_error changeKaren Arutyunov1-1/+1
2017-04-01Redo handling of unhandled exceptions in async executionBoris Kolpackov1-9/+2
Here is the problem: noexcept looses the call stack. That is, unlike an unhandled exception, if noexcept is tripped, then you won't see the place where it was thrown. In this new implementation we now have noexcept only on the task thunk. And the task is called via a thunk only in case of async execution. This means that if we are executing serially (-j 1), then this will be an unhandled exception, not noexcept. Hopefully will be a bit easier to debug.
2017-03-24Fix diagnostics interleaving charactersKaren Arutyunov1-1/+2
2017-03-19Suppress clang warningsKaren Arutyunov1-1/+1
2017-03-17Catch and dump unhandled exceptions in async task functionsBoris Kolpackov1-0/+6
The problem with relying on noexcept for this is that there is no stack.
2017-03-17Improve testscript execution diagnosticsBoris Kolpackov1-24/+39
2017-03-15Add support for config.test.output variableKaren Arutyunov1-4/+11
2017-03-15Implement parallel testscript execution for single targetBoris Kolpackov1-9/+72
2017-03-06Iterate over group members in test rule only if resolvableBoris Kolpackov1-2/+11
2017-03-04Fix target name printing in diagnosticsBoris Kolpackov1-1/+1
2017-03-03Fix test and dist for generated input/outputBoris Kolpackov1-3/+6
2017-03-02Implement parallel matchBoris Kolpackov1-29/+21
2017-02-13Implement parallel error propagation, keep_going modeBoris Kolpackov1-2/+2
Keep going is the default but there is now the -s|--serial-stop that makes the driver run serially and stop at first error. Also fix some lockups, other minor improvements/features.
2017-02-13Do some naming cleanupsBoris Kolpackov1-1/+1
2017-02-13Implement parallel operation executionBoris Kolpackov1-9/+4
2017-02-13Use target:as<> instead of static_cast for target castingBoris Kolpackov1-2/+2
2017-02-13Pass const target& to recipesBoris Kolpackov1-14/+18
2017-02-13Pass const scope& where modification should not happenBoris Kolpackov1-1/+1
2017-02-13Add notion of phase, enforceBoris Kolpackov1-1/+5
2017-02-13Add model mutex, make var_pool const by defaultBoris Kolpackov1-17/+17
2017-01-18Only pass diff --strip-trailing-cr if running on WindowsBoris Kolpackov1-1/+6
Since we cannot assume diff on other platforms has this option. Also need to do likewise in the testscript runner.
2017-01-12Implement support for narrowing down tests (config.test)Boris Kolpackov1-105/+194
2017-01-09Make use of operator<<(ostream, exception)Karen Arutyunov1-1/+1
2017-01-09Implement test.target variableBoris Kolpackov1-1/+4
The plan is to use it for the portable path conversions.
2017-01-05Update copyright yearBoris Kolpackov1-1/+1
2016-12-17Don't try to test out-of-project prerequisitesBoris Kolpackov1-32/+42
2016-12-16Add support for passing target name to testscript via test variableBoris Kolpackov1-5/+6
Such a targets is automatically resolved and converted to path.
2016-12-14Rename concurrent_runner to default_runnerBoris Kolpackov1-1/+1
2016-11-22Use diagnostics facility from libbutlBoris Kolpackov1-7/+5
2016-11-11Clean up testscript grammar and parserBoris Kolpackov1-1/+1
2016-11-08Get rid of faulty test script move-ctorKaren Arutyunov1-1/+2
2016-11-04Restructure testscript parser slightlyBoris Kolpackov1-16/+4
2016-11-04Implement testscript working directory cleanupBoris Kolpackov1-9/+24
2016-11-04Implement creation/cleanup of testscript root working directoryBoris Kolpackov1-18/+79
2016-11-04Implement two-stage testscript parsingBoris Kolpackov1-1/+2
2016-11-04Minor testscript fixes/changesBoris Kolpackov1-6/+3
2016-11-04Fix few bugs in testscript parserKaren Arutyunov1-2/+3
2016-11-04Cleanup match_result messBoris Kolpackov1-2/+2
2016-11-04Add minor noteBoris Kolpackov1-0/+4
2016-11-04Set test variable for testscript, improve test ruleBoris Kolpackov1-67/+113
2016-11-04Add support for skipping rule in delegate_match()Boris Kolpackov1-1/+1
2016-11-04Pass test script to parserBoris Kolpackov1-3/+6
2016-11-04Change test variable type from bool to pathBoris Kolpackov1-2/+2
We still recognize the true/false as special values.