aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script
AgeCommit message (Collapse)AuthorFilesLines
2017-05-01Add hxx extension for headersKaren Arutyunov14-79/+79
2017-04-26Diagnostics printing minor optimizationKaren Arutyunov1-9/+6
2017-04-26Cleanup error messagesBoris Kolpackov1-11/+9
2017-04-26Print diff failure reasonKaren Arutyunov1-0/+28
2017-04-24Adapt to process_exit::core() being available on Windows nowKaren Arutyunov1-2/+0
2017-04-24Adapt to fdnull() returning auto_fd nowKaren Arutyunov1-10/+2
2017-04-10Adapt to process_error changeKaren Arutyunov1-2/+2
2017-04-01Redo handling of unhandled exceptions in async executionBoris Kolpackov2-20/+3
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 Arutyunov2-2/+4
2017-03-23Reimplement testscript builtins without thread detach, future/promiseBoris Kolpackov3-52/+61
2017-03-22Diagnose unhandled exceptions in testscript builtins thread thunkBoris Kolpackov1-6/+15
2017-03-22Make use of throw_generic_error()Karen Arutyunov2-8/+8
2017-03-20Add support for --no-cleanup testscript builtin optionKaren Arutyunov1-21/+64
2017-03-17Catch and dump unhandled exceptions in async task functionsBoris Kolpackov1-11/+24
The problem with relying on noexcept for this is that there is no stack.
2017-03-17Make line numbers signify argument numbers in buildspecBoris Kolpackov1-1/+2
2017-03-16Add support for passing parameters to (meta-) operationsBoris Kolpackov2-5/+5
2017-03-16Add support for >! test command redirectKaren Arutyunov7-23/+33
2017-03-15Print sub-entries of non-empty testscript directory registered for cleanupKaren Arutyunov1-8/+41
2017-03-15Add support for in place editing for sed builtinKaren Arutyunov1-86/+71
2017-03-15Add support for config.test.output variableKaren Arutyunov6-109/+161
2017-03-15Print unexpected or regex non-matching test command stdout/stderrKaren Arutyunov1-0/+8
2017-03-15Implement parallel testscript execution for single targetBoris Kolpackov1-4/+5
2017-03-13Adapt for path_search() changeKaren Arutyunov1-13/+19
2017-03-10Implement support for wildcard patternsBoris Kolpackov1-5/+40
2017-03-04Fix target name printing in diagnosticsBoris Kolpackov1-1/+1
2017-03-02Implement parallel matchBoris Kolpackov2-22/+25
2017-03-01Add set builtinKaren Arutyunov4-14/+299
2017-02-16Add cp builtinKaren Arutyunov1-12/+223
2017-02-13Make GCC 4.9, VC14 happyBoris Kolpackov2-2/+2
2017-02-13Track variable value modificationsBoris Kolpackov1-1/+1
2017-02-13Implement parallel error propagation, keep_going modeBoris Kolpackov2-35/+57
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-13Implement parallel operation executionBoris Kolpackov1-3/+3
2017-02-13Pass const target& to recipesBoris Kolpackov2-6/+6
2017-02-13Add notion of phase, enforceBoris Kolpackov1-1/+4
2017-02-11Fix testscript parser not to strip leading blanks in here-docKaren Arutyunov1-7/+16
2017-02-11Add support for &dir/*[*][/] test path cleanup syntaxKaren Arutyunov1-2/+55
2017-02-10Fix save_regex()Karen Arutyunov1-5/+5
2017-02-03Fix runner output in verbose (-v, -V) modesKaren Arutyunov2-10/+22
2017-02-03Add sed builtinKaren Arutyunov3-147/+402
2017-01-31Add support for test command pipe, expression and command-ifKaren Arutyunov3-167/+336
2017-01-26Only pass diff --strip-trailing-cr in runner if running on WindowsKaren Arutyunov1-7/+11
2017-01-26Add test builtinKaren Arutyunov2-0/+91
2017-01-24Add support for shared here-documentsKaren Arutyunov5-49/+170
2017-01-24Add support for comparison of test command output to a fileKaren Arutyunov8-368/+420
2017-01-19Add rmdir builtinKaren Arutyunov1-8/+127
2017-01-19Add support for portable path modifer and dot character escaping inversionKaren Arutyunov9-306/+824
2017-01-18Add missing diagnostics in testscript parserBoris Kolpackov1-0/+25
2017-01-12Implement support for narrowing down tests (config.test)Boris Kolpackov5-32/+58
2017-01-09Workaround libc++'s basic_string<line_char> crashKaren Arutyunov3-57/+117
2017-01-09Make use of operator<<(ostream, exception)Karen Arutyunov3-44/+47