aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script
AgeCommit message (Collapse)AuthorFilesLines
2017-01-04Update tests to reflect lexer mode renames (previous commit)Boris Kolpackov5-219/+219
2016-12-16Add line_regexKaren Arutyunov4-2/+266
2016-12-15Minor testscript cleanupsBoris Kolpackov8-47/+7
2016-12-09Initial parallel scheduler implementation, use to run testscripsBoris Kolpackov3-11/+10
2016-12-05Make use of casts and canonicalizations in testscriptsKaren Arutyunov1-2/+9
2016-12-01Implement testscript variable-ifBoris Kolpackov1-0/+17
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 Kolpackov3-6/+6
2016-11-25Implement literal here-document supportBoris Kolpackov8-19/+20
2016-11-25Allow here-document end marker to be wholly quotedBoris Kolpackov5-10/+87
2016-11-25Distinguish token quoting type and completenessBoris Kolpackov1-113/+0
2016-11-23Implement few builtin functions that can operate on any valueBoris Kolpackov1-1/+1
type() null() empty () identity()
2016-11-21Change build.driver/path variable to build.path/process_pathBoris Kolpackov1-1/+1
2016-11-21Add process_path.{recall,effect} build2 functionsBoris Kolpackov1-2/+3
2016-11-18Add function machinery, implement path.normalize()Boris Kolpackov1-2/+2
Note that multi-argument functions are not yet "callable" since there is no support for value packs.
2016-11-11Clean up testscript grammar and parserBoris Kolpackov1-1/+1
2016-11-10Implement scope-if in testscriptBoris Kolpackov4-12/+536
2016-11-09Various minor semantics changes in testscript languageBoris Kolpackov2-30/+31
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 Kolpackov5-9/+557
2016-11-08Get rid of faulty test script move-ctorKaren Arutyunov1-2/+2
2016-11-04Implement testscript inclusion supportBoris Kolpackov2-1/+141
2016-11-04Restructure testscript parser slightlyBoris Kolpackov1-5/+5
2016-11-04Add test for here-doc in pipe/expr commandBoris Kolpackov1-0/+38
2016-11-04Implement command-pipe, command-expr in testscript parserBoris Kolpackov4-4/+74
2016-11-04Add support for cleanup types to testscript parserKaren Arutyunov3-24/+55
2016-11-04Implement support for here-document indentationBoris Kolpackov1-0/+88
2016-11-04Update testscriptsBoris Kolpackov1-1/+2
2016-11-04Add tests and fixes for trailing description supportBoris Kolpackov3-2/+58
2016-11-04Initial support for trailing description in testscriptBoris Kolpackov2-5/+5
2016-11-04Implement description support in testscriptBoris Kolpackov11-26/+447
2016-11-04Add more test command file redirect testsKaren Arutyunov1-0/+46
2016-11-04Add support of cleanups to testscript parserKaren Arutyunov4-2/+56
2016-11-04Fix test command merge redirect parsing and testingKaren Arutyunov1-10/+5
2016-11-04Add support of merge redirect to testscript parserKaren Arutyunov3-0/+91
2016-11-04Add support of file redirects to testscript runnerKaren Arutyunov5-2/+184
2016-11-04Handle explicit test scopesBoris Kolpackov2-6/+90
2016-11-04Implement support for testscript scopesBoris Kolpackov3-7/+78
2016-11-04Add few setup/teardown testsBoris Kolpackov1-0/+28
2016-11-04Add tests for first_token, second_token testscript lexer modesBoris Kolpackov3-3/+79
2016-11-04Diagnose semicolon after testscript setup/teardown commandsBoris Kolpackov2-1/+8
2016-11-04Add support for setup/teardown commandsBoris Kolpackov6-5/+31
2016-11-04Change <! and >! syntaxt to <- and >-Karen Arutyunov1-2/+2
2016-11-04Implement creation/cleanup of testscript root working directoryBoris Kolpackov2-3/+3
2016-11-04Add couple of testscript testsBoris Kolpackov2-1/+114
2016-11-04Add support for no-newline redirects in testscriptBoris Kolpackov1-12/+8
The no-newline operators are '<:', '>:', '<<:', and '>>:'.
2016-11-04Implement support for compound testsBoris Kolpackov7-20/+195
2016-11-04Add testscript runner scope enter/leave callbacksBoris Kolpackov1-1/+7
2016-11-04Add support for testscript scope id, working directoryBoris Kolpackov4-9/+26
2016-11-04Pass command index, location to test runnerBoris Kolpackov1-1/+1
2016-11-04Move exit status to command, make runner run commands, not testsBoris Kolpackov1-1/+1
2016-11-04Minor testscript changesBoris Kolpackov4-43/+4