aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script
AgeCommit message (Collapse)AuthorFilesLines
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.
2016-11-23Print test scope directory changes in verbose (-v) modeKaren Arutyunov1-0/+14
2016-11-22Use diagnostics facility from libbutlBoris Kolpackov2-15/+9
2016-11-15Add cat, false and true builtinsKaren Arutyunov5-42/+318
2016-11-11Clean up testscript grammar and parserBoris Kolpackov2-577/+623
2016-11-11Get rid of lexer modes overriding pair separatorsBoris Kolpackov1-3/+11
2016-11-10Implement scope-if in testscriptBoris Kolpackov3-148/+415
2016-11-09Various minor semantics changes in testscript languageBoris Kolpackov2-85/+82
The .include directive and if-else no longer have to be separated from the following token. This allows to make the decision by looking at just one token. The test scope can no longer have a description inside the scope. It should always be leading the scope itself.
2016-11-08Implement testscript command-ifBoris Kolpackov6-143/+444
2016-11-08Add mkdir and touch builtinsKaren Arutyunov6-308/+672
2016-11-08Get rid of faulty test script move-ctorKaren Arutyunov3-15/+12
2016-11-07Rework pre-parsed line type in testscriptBoris Kolpackov2-53/+68
2016-11-07Only do effective escaping when re-parsing expansions in testscriptBoris Kolpackov2-4/+19
Doing unconditional escaping messes up expansions that are Windows paths.
2016-11-04Use include-aware location in testscriptBoris Kolpackov1-4/+1
2016-11-04Rework testscript parser into more modular/reusable functionsBoris Kolpackov2-220/+254
2016-11-04Implement testscript inclusion supportBoris Kolpackov5-55/+254
2016-11-04Fix Clang and VC warningsKaren Arutyunov2-2/+6
2016-11-04Adopt to auto_fd introduced to libbutl fdstreams and processKaren Arutyunov2-15/+4
2016-11-04Rely on path from replay data in testscript re-parse phaseBoris Kolpackov2-5/+8
2016-11-04Restructure testscript parser slightlyBoris Kolpackov3-9/+45
2016-11-04Fix VC compilation errorsKaren Arutyunov1-25/+25
2016-11-04Make rmdir_r() to call entry_exists(path) rather than exists(dir_path)Karen Arutyunov1-11/+0