aboutsummaryrefslogtreecommitdiff
path: root/build2/test
AgeCommit message (Collapse)AuthorFilesLines
2018-02-09Fix broken test (and few other things)Boris Kolpackov1-2/+2
2018-02-08Fix broken id assigning for testscript if-else scopesKaren Arutyunov1-1/+1
2018-02-08Update/cleanup comment documentation for inner/outer operation semanticsBoris Kolpackov1-5/+5
2018-02-07Add support for update-for-{test,install} operation aliasesBoris Kolpackov4-2/+21
2018-02-07Initial work for default update outer operationBoris Kolpackov2-28/+57
While update still uses the old "all update rules update all their prerequisites" assumption, test and install have been fixed not to rely on this.
2018-02-05Fix test and install rules to handle see-through groups correctlyBoris Kolpackov2-51/+45
2018-02-03Work around VC issueBoris Kolpackov1-5/+5
2018-02-03Get rid of action rule override semanticsBoris Kolpackov7-437/+475
Instead we now have two more or less separate match states for outer and inner parts of an action.
2018-01-05Work around bogus ubsan reportBoris Kolpackov1-1/+2
2018-01-05Add support for variable aliasesBoris Kolpackov1-4/+5
2018-01-04Load config.build in init(), not boot()Boris Kolpackov2-2/+4
We now make sure the config module is init'ed first.
2018-01-02Fix few undefined behavior (ubsan) bugsBoris Kolpackov2-7/+7
2017-12-26Adapt regex to digit(wchar_t) added to libbutlKaren Arutyunov2-2/+4
2017-12-17Trace non-zero process exit codeBoris Kolpackov2-27/+3
Also convert to using operator<<(ostream,process_exit).
2017-12-15Adapt to libbutl process API extensionKaren Arutyunov1-17/+23
2017-12-13Implement info meta operationBoris Kolpackov3-3/+3
This meta operation can be used to print basic information (name, version, source/output roots, etc) for one or more projects.
2017-12-12Add support for VC 15u5 (compiler version 19.12)Boris Kolpackov1-3/+3
2017-12-07Distinguish between "fixed" and "default" target extensionsBoris Kolpackov1-18/+5
This fixes wrong merging of, say, file{README} and file{README.MySQL} (in libmysqlclient).
2017-12-03Allow typification of variables and values across load generationsBoris Kolpackov1-0/+1
The original semantics turned out to be too restrictive. For example, the user may have specified the config.c variable on the command line that is only used by an imported project that is loaded in a subsequent generation. We are also relaxing it for values since conceptually the two feel the same. For a value the (hypothetical) example is a "common" variable set in a project root that is only queried in a subdirectory in a subsequent generation.
2017-12-01Fix GCC 7 -fimplicit-fallthrough warningsBoris Kolpackov1-22/+16
2017-11-09Add support for for-loopBoris Kolpackov1-1/+5
The semantics is similar to the C++11 range-based for: list = 1 2 3 for i: $list print $i Note that there is no scoping of any kind for the loop variable ('i' in the above example). See tests/loop/for.test for some examples/ideas. In the future the plan is to also support more general while-loop as well as break and continue.
2017-10-30Pass --text option for diff utility on WindowsKaren Arutyunov1-0/+8
2017-10-03Adapt to modularization of libbutlKaren Arutyunov2-6/+6
2017-10-03Extract system header search paths from GCC or compatibleBoris Kolpackov2-3/+0
2017-08-19Extend regex workaround to Clang/libc++ 5 and 6Boris Kolpackov1-1/+1
2017-08-01Reimplement pkg-config generation with more conservative approach for nowBoris Kolpackov1-3/+3
2017-07-28Add support for custom data storage in target::preprequisite_targetsBoris Kolpackov1-1/+0
2017-07-22Implement detection of ignorable changes (whitespaces, comments)Boris Kolpackov1-38/+5
2017-06-21Move regex utilities to libbutlKaren Arutyunov2-3/+2
2017-06-19Add support for exit testscript builtinKaren Arutyunov4-290/+436
2017-06-19Fix conditional scope to never be emptyKaren Arutyunov1-0/+1
2017-06-15Add support for ln testscript builtinKaren Arutyunov1-4/+227
2017-06-12Remove few unused lambda capturesBoris Kolpackov1-1/+1
2017-06-12Fix couple of deadly bugsBoris Kolpackov1-1/+1
2017-06-12Extend workaround version checks to VC15u3 (19.11)Boris Kolpackov1-3/+3
2017-06-12Reimplement thread thunking with lambda; this helps Clang 5.0/trunkBoris Kolpackov1-18/+10
2017-06-06Adapt to libbutl::process interface changeKaren Arutyunov1-3/+3
2017-06-01Implement new testscript cleanup wildcards semanticsKaren Arutyunov1-81/+101
2017-05-31Fix testscript runner not to remove special files with wildcard cleanupsKaren Arutyunov3-7/+44
2017-05-13Fix VC15 warnings (/W3)Karen Arutyunov1-1/+1
2017-05-03Adjust test working directory removal verbosity level (make 2)Karen Arutyunov1-1/+5
2017-05-02Cleanup testscript runner diagnosticsBoris Kolpackov4-27/+27
2017-05-01Add hxx extension for headersKaren Arutyunov27-180/+180
2017-04-27Pass target to prerequisite searchBoris Kolpackov2-4/+4
2017-04-26Diagnostics printing minor optimizationKaren Arutyunov2-15/+9
2017-04-26Cleanup error messagesBoris Kolpackov2-15/+13
2017-04-26Print diff failure reasonKaren Arutyunov2-5/+55
2017-04-24Adapt to process_exit::core() being available on Windows nowKaren Arutyunov1-2/+0
2017-04-24Adapt to fdnull() returning auto_fd nowKaren Arutyunov1-10/+2
2017-04-10Adapt to process_error changeKaren Arutyunov2-3/+3