aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script
AgeCommit message (Collapse)AuthorFilesLines
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
2017-01-06Add testscript lexer support for portable path modifier (/)Boris Kolpackov1-12/+16
2017-01-05Sketch bit stealing interface for regex line_charBoris Kolpackov1-0/+20
2017-01-05Cosmetic changeBoris Kolpackov1-2/+2
2017-01-05Update copyright yearBoris Kolpackov15-15/+15
2017-01-05Print signal/core dump like shell/makeKaren Arutyunov1-21/+43
2017-01-05Save diff output for {stdout,stderr}.diffKaren Arutyunov1-44/+89
2017-01-05Add support for regex in runnerKaren Arutyunov6-141/+659
2017-01-04Treat any testscript line that starts with dot as directiveBoris Kolpackov4-27/+40
Even though we currently only recognize the include directive, we reserve any line that begins with a dot for future.
2017-01-04Change lexer modes to be semantically accurateBoris Kolpackov3-22/+24
2016-12-16Add line_regexKaren Arutyunov6-130/+946
2016-12-16Add support for passing target name to testscript via test variableBoris Kolpackov2-19/+74
Such a targets is automatically resolved and converted to path.
2016-12-15Implement test.redirects, test.cleanupsBoris Kolpackov3-12/+30
2016-12-14Rename concurrent_runner to default_runnerBoris Kolpackov2-5/+5
2016-12-13Handle exceptions in parallel tests runsBoris Kolpackov2-19/+55
Currently we still stop on first error (or soon after) though the default mode should eventually be to keep going.
2016-12-09Initial parallel scheduler implementation, use to run testscripsBoris Kolpackov5-151/+142
2016-12-05Make use of casts and canonicalizations in testscriptsKaren Arutyunov2-11/+12
2016-12-05Eliminate the use of '/...' paths on WindowsKaren Arutyunov1-3/+1
2016-12-05Adapt to semantics change of path::normalize()Karen Arutyunov1-1/+3
2016-12-05Add rm builtinKaren Arutyunov1-0/+141
2016-12-05Add comma, ternary, logical operators support in eval contextBoris Kolpackov2-5/+0
2016-12-01Implement testscript variable-ifBoris Kolpackov2-74/+118
Now a variable-only if is treated the same as a single variable when deciding whether it is part of a test or setup/teardown.
2016-11-30Add support for typed/untyped concatenated expansionBoris Kolpackov1-1/+1
2016-11-29Fix escaping issue, propagate quoting for $ and ( tokensBoris Kolpackov2-16/+26
2016-11-28Sketch testscript line regex object modelBoris Kolpackov1-0/+76
2016-11-26Spec testscript regex, add support in token/lexerBoris Kolpackov5-165/+149
2016-11-25Implement literal here-document supportBoris Kolpackov4-38/+93
2016-11-25Allow here-document end marker to be wholly quotedBoris Kolpackov2-6/+46
2016-11-25Distinguish token quoting type and completenessBoris Kolpackov2-12/+21
2016-11-23Implement value type propagation on expansionBoris Kolpackov1-1/+1
Currently, we only propagate types of sole, unquoted expansions (variable, function call, or eval context), similar to NULL. To untypify the value, simply quote it.