aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script
AgeCommit message (Collapse)AuthorFilesLines
2017-01-24Add support for shared here-documentsKaren Arutyunov1-0/+80
2017-01-24Add support for comparison of test command output to a fileKaren Arutyunov5-38/+58
2017-01-23Implement automatic loading of directory buildfilesBoris Kolpackov1-3/+1
Now instead of explicitly writing: d = foo/ bar/ ./: $d include $d We can (usually) just write: ./: foo/ bar/
2017-01-19Add support for portable path modifer and dot character escaping inversionKaren Arutyunov4-63/+198
2017-01-19Get rid of extension_poolBoris Kolpackov1-8/+7
2017-01-18Add missing diagnostics in testscript parserBoris Kolpackov1-0/+68
2017-01-12Implement support for narrowing down tests (config.test)Boris Kolpackov1-5/+12
2017-01-09Workaround libc++'s basic_string<line_char> crashKaren Arutyunov2-30/+29
2017-01-09Tests cleanup (take 2)Karen Arutyunov24-1770/+2390
2017-01-06Store platform targets as typed target_tripletBoris Kolpackov1-2/+2
2017-01-06Add testscript lexer support for portable path modifier (/)Boris Kolpackov1-0/+12
2017-01-05Update copyright yearBoris Kolpackov8-8/+8
2017-01-05Add support for regex in runnerKaren Arutyunov5-17/+222
2017-01-04Treat any testscript line that starts with dot as directiveBoris Kolpackov4-52/+79
Even though we currently only recognize the include directive, we reserve any line that begins with a dot for future.
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