aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-11-25Distinguish token quoting type and completenessBoris Kolpackov10-33/+315
2016-11-23Disable compiler-dependent output check in function call unit testKaren Arutyunov1-10/+10
2016-11-23Implement value type propagation on expansionBoris Kolpackov14-95/+265
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 assert directiveBoris Kolpackov6-24/+120
The grammar is as follows: assert <expression> [<description>] assert! <expression> [<description>] The expression must evaluate to 'true' or 'false', just like in if-else.
2016-11-23Implement few builtin functions that can operate on any valueBoris Kolpackov9-5/+117
type() null() empty () identity()
2016-11-23Add support for config.cli=false (leave unconfigured)Boris Kolpackov3-23/+50
2016-11-23Print test scope directory changes in verbose (-v) modeKaren Arutyunov2-1/+15
2016-11-23Fix failing on Windows path functions testscriptKaren Arutyunov1-1/+1
2016-11-22Minor fixBoris Kolpackov1-7/+7
2016-11-22Fix typoBoris Kolpackov4-4/+4
2016-11-22Add missing non-existent src_base diagnosticsBoris Kolpackov1-0/+13
2016-11-22Use diagnostics facility from libbutlBoris Kolpackov22-419/+194
2016-11-21Change build.driver/path variable to build.path/process_pathBoris Kolpackov7-25/+18
2016-11-21Add process_path.{recall,effect} build2 functionsBoris Kolpackov5-85/+124
2016-11-21Make types array in function machinery constexprBoris Kolpackov2-4/+26
2016-11-21Add support for derived-to-base function overload resolutionBoris Kolpackov7-111/+220
2016-11-19Implement workaround for GCC bug (#62052) in function machineryBoris Kolpackov1-0/+99
2016-11-18Add function machinery, implement path.normalize()Boris Kolpackov25-104/+1330
Note that multi-argument functions are not yet "callable" since there is no support for value packs.
2016-11-18Implement noop meta-operationBoris Kolpackov5-12/+33
The effect is loading all the buildfiles but not searching/matching/executing any targets/operations. Useful for testing.
2016-11-18Make names and vector<name> different types, add typed value constructorBoris Kolpackov9-27/+49
2016-11-15Add cat, false and true builtinsKaren Arutyunov18-60/+421
2016-11-11Clean up testscript grammar and parserBoris Kolpackov5-604/+655
2016-11-11Get rid of lexer modes overriding pair separatorsBoris Kolpackov5-28/+30
2016-11-10Implement scope-if in testscriptBoris Kolpackov8-160/+968
2016-11-09Various minor semantics changes in testscript languageBoris Kolpackov5-121/+133
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-09Fix testscript grammar errorBoris Kolpackov1-1/+2
2016-11-08Implement testscript command-ifBoris Kolpackov11-152/+1001
2016-11-08Add mkdir and touch builtinsKaren Arutyunov14-386/+989
2016-11-08Get rid of faulty test script move-ctorKaren Arutyunov5-18/+16
2016-11-07Make build.driver path absoluteBoris Kolpackov3-5/+19
2016-11-07Rework pre-parsed line type in testscriptBoris Kolpackov2-53/+68
2016-11-07Only do effective escaping when re-parsing expansions in testscriptBoris Kolpackov2-4/+19
Doing unconditional escaping messes up expansions that are Windows paths.
2016-11-04Use include-aware location in testscriptBoris Kolpackov2-4/+6
2016-11-04Rework testscript parser into more modular/reusable functionsBoris Kolpackov2-220/+254
2016-11-04Update testscript grammar with command-ifBoris Kolpackov1-3/+21
2016-11-04Implement testscript inclusion supportBoris Kolpackov8-63/+406
2016-11-04Make newline token always separated from previous oneBoris Kolpackov1-1/+2
2016-11-04Adjust diag_record::os_ member name to osBoris Kolpackov2-9/+9
2016-11-04Print empty name as '' rather than {} in quoted modeBoris Kolpackov2-6/+13
2016-11-04Fix Clang and VC warningsKaren Arutyunov4-5/+16
2016-11-04Adopt to auto_fd introduced to libbutl fdstreams and processKaren Arutyunov9-23/+17
2016-11-04Update testscript spec with include directive grammarBoris Kolpackov1-3/+22
2016-11-04Rely on path from replay data in testscript re-parse phaseBoris Kolpackov2-5/+8
2016-11-04Add file path to replay_tokenBoris Kolpackov2-5/+21
2016-11-04Restructure testscript parser slightlyBoris Kolpackov5-30/+54
2016-11-04Implement missing testscript integration testsBoris Kolpackov2-39/+49
2016-11-04Add test for here-doc in pipe/expr commandBoris Kolpackov1-0/+38
2016-11-04Fix VC compilation errorsKaren Arutyunov1-25/+25
2016-11-04Make rmdir_r() to call entry_exists(path) rather than exists(dir_path)Karen Arutyunov4-14/+31
2016-11-04Add support for cleanup types to testscript runnerKaren Arutyunov3-63/+98