aboutsummaryrefslogtreecommitdiff
path: root/unit-tests
AgeCommit message (Collapse)AuthorFilesLines
2017-03-15Add support for config.test.output variableKaren Arutyunov4-7/+7
2017-03-14Implement implied buildfile supportBoris Kolpackov2-10/+0
In essence, if the buildfile is: ./: */ Then it can be omitted entirely (provided there is at least one subdirectory).
2017-03-06Only recognize function call if lparen is unseparatedBoris Kolpackov1-3/+1
2017-03-02Fix unit test code generationBoris Kolpackov6-17/+6
2017-03-02Implement parallel matchBoris Kolpackov1-5/+1
2017-02-13Pass const scope& where modification should not happenBoris Kolpackov1-1/+1
2017-02-13Add notion of load phase generationBoris Kolpackov1-1/+1
2017-02-13Add notion of phase, enforceBoris Kolpackov4-4/+19
2017-02-13Add scheduling calls to operation's match()Boris Kolpackov3-8/+9
2017-02-13Add model mutex, make var_pool const by defaultBoris Kolpackov3-5/+11
2017-02-11Fix testscript parser not to strip leading blanks in here-docKaren Arutyunov1-0/+2
2017-01-31Add support for test command pipe, expression and command-ifKaren Arutyunov1-0/+44
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 Kolpackov2-6/+2
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 Arutyunov27-1936/+2593
2017-01-06Store platform targets as typed target_tripletBoris Kolpackov2-3/+4
2017-01-06Add testscript lexer support for portable path modifier (/)Boris Kolpackov1-0/+12
2017-01-05Update copyright yearBoris Kolpackov20-20/+20
2017-01-05Tests cleanupKaren Arutyunov2-3/+3
2017-01-05Add support for regex in runnerKaren Arutyunov6-27/+242
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-13Various scheduler improvements and fixesBoris Kolpackov1-23/+102
2016-12-09Fix GCC 5 compilation error, improve scheduler unit testBoris Kolpackov1-17/+31
2016-12-09Initial parallel scheduler implementation, use to run testscripsBoris Kolpackov6-12/+119
2016-12-05Make use of casts and canonicalizations in testscriptsKaren Arutyunov1-2/+9
2016-12-05Add comma, ternary, logical operators support in eval contextBoris Kolpackov5-3/+81
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 Kolpackov4-8/+8
2016-11-29Fix escaping issue, propagate quoting for $ and ( tokensBoris Kolpackov1-2/+2
2016-11-25Implement literal here-document supportBoris Kolpackov12-57/+58
2016-11-25Allow here-document end marker to be wholly quotedBoris Kolpackov5-10/+87
2016-11-25Distinguish token quoting type and completenessBoris Kolpackov5-5/+206
2016-11-23Disable compiler-dependent output check in function call unit testKaren Arutyunov1-10/+10
2016-11-23Implement value type propagation on expansionBoris Kolpackov2-3/+3
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-23Implement few builtin functions that can operate on any valueBoris Kolpackov2-3/+3
type() null() empty () identity()
2016-11-22Use diagnostics facility from libbutlBoris Kolpackov1-1/+1
2016-11-21Change build.driver/path variable to build.path/process_pathBoris Kolpackov2-5/+5
2016-11-21Add process_path.{recall,effect} build2 functionsBoris Kolpackov2-3/+5
2016-11-21Add support for derived-to-base function overload resolutionBoris Kolpackov2-7/+16
2016-11-18Add function machinery, implement path.normalize()Boris Kolpackov6-3/+287
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