aboutsummaryrefslogtreecommitdiff
path: root/build2/test
AgeCommit message (Collapse)AuthorFilesLines
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-23Make rules const throughoutBoris Kolpackov1-2/+2
2017-01-23Add bunch of missing const'sBoris Kolpackov2-2/+2
2017-01-20Remove prerequisite caching in scopeBoris Kolpackov1-2/+2
We don't share them often and those that are shared (e.g., cxx{} in obja/objs{}) are lightweight (SOO).
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-19Get rid of extension_poolBoris Kolpackov1-6/+6
2017-01-18Add missing diagnostics in testscript parserBoris Kolpackov1-0/+25
2017-01-18Only pass diff --strip-trailing-cr if running on WindowsBoris Kolpackov1-1/+6
Since we cannot assume diff on other platforms has this option. Also need to do likewise in the testscript runner.
2017-01-12Implement support for narrowing down tests (config.test)Boris Kolpackov11-158/+596
2017-01-09Workaround libc++'s basic_string<line_char> crashKaren Arutyunov3-57/+117
2017-01-09Make use of operator<<(ostream, exception)Karen Arutyunov4-45/+48
2017-01-09Implement test.target variableBoris Kolpackov2-18/+34
The plan is to use it for the portable path conversions.
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 Kolpackov23-23/+23
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-17Don't try to test out-of-project prerequisitesBoris Kolpackov3-33/+54
2016-12-16Add line_regexKaren Arutyunov6-130/+946
2016-12-16Add support for passing target name to testscript via test variableBoris Kolpackov4-27/+85
Such a targets is automatically resolved and converted to path.
2016-12-16Move exe{} to build2 core, add fallback extensions (existing files)Boris Kolpackov1-1/+1
2016-12-15Implement test.redirects, test.cleanupsBoris Kolpackov4-12/+35
2016-12-14Rename concurrent_runner to default_runnerBoris Kolpackov3-6/+6
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 Kolpackov3-22/+14