aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/parser
AgeCommit message (Collapse)AuthorFilesLines
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 Kolpackov7-18/+18
2016-11-25Allow here-document end marker to be wholly quotedBoris Kolpackov4-9/+86
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 Arutyunov1-17/+31
2016-11-04Implement support for here-document indentationBoris Kolpackov1-0/+88
2016-11-04Add tests and fixes for trailing description supportBoris Kolpackov2-0/+52
2016-11-04Initial support for trailing description in testscriptBoris Kolpackov2-5/+5
2016-11-04Implement description support in testscriptBoris Kolpackov5-14/+387
2016-11-04Add more test command file redirect testsKaren Arutyunov1-0/+46
2016-11-04Add support of cleanups to testscript parserKaren Arutyunov2-2/+37
2016-11-04Fix test command merge redirect parsing and testingKaren Arutyunov1-10/+5
2016-11-04Add support of merge redirect to testscript parserKaren Arutyunov1-0/+71
2016-11-04Add support of file redirects to testscript runnerKaren Arutyunov2-1/+7
2016-11-04Handle explicit test scopesBoris Kolpackov2-6/+90
2016-11-04Implement support for testscript scopesBoris Kolpackov1-5/+66
2016-11-04Add few setup/teardown testsBoris Kolpackov1-0/+28
2016-11-04Diagnose semicolon after testscript setup/teardown commandsBoris Kolpackov2-1/+8
2016-11-04Add support for setup/teardown commandsBoris Kolpackov2-1/+17
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 support for no-newline redirects in testscriptBoris Kolpackov1-12/+8
The no-newline operators are '<:', '>:', '<<:', and '>>:'.
2016-11-04Implement support for compound testsBoris Kolpackov2-17/+144
2016-11-04Add testscript runner scope enter/leave callbacksBoris Kolpackov1-1/+7
2016-11-04Add support for testscript scope id, working directoryBoris Kolpackov3-7/+24
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 Kolpackov3-3/+4
2016-11-04Fix pre-parsing corner casesBoris Kolpackov1-0/+15
2016-11-04Change all testscript expansions to simple name modeBoris Kolpackov1-0/+13
2016-11-04Fix testscript here-document quoting issueBoris Kolpackov2-0/+29
2016-11-04Add testscript parser unit testBoris Kolpackov3-0/+154