aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script
AgeCommit message (Collapse)AuthorFilesLines
2019-07-05Move config, dist, test, and install modules into libraryKaren Arutyunov43-15732/+0
2019-07-02Add workaround for data race in libstdc++'s locale(const locale&, Facet*) ↵Karen Arutyunov3-3/+42
constructor
2019-07-01Split build system into library and driverBoris Kolpackov13-34/+36
2019-06-24Constrain access to options to build system driver main() onlyBoris Kolpackov1-1/+4
2019-06-05Add test id verificationKaren Arutyunov1-1/+13
2019-05-25Fix previous workaroundKaren Arutyunov1-2/+2
2019-05-25Work around new is_unsigned_v VC 16.1 implementation in regexBoris Kolpackov1-0/+12
2019-04-09Raise libcpp version in regex-related check to 8.0Karen Arutyunov1-1/+1
2019-04-09Fix Clang 8 "defaulted function deleted" warningsKaren Arutyunov1-1/+0
2019-04-03Change depdb API and handle system_error thrown by butl::file_mtime()Karen Arutyunov1-1/+1
Previously, debdb operations threw system_error and io_error to signal errors, except for opening which issued diagnostics and failed. Now all operations print the diagnostics and fail on system and IO errors.
2019-03-23Cleanup some files replacing tabs with spacesKaren Arutyunov2-5/+5
2019-03-14Add support for multiple variable overridesBoris Kolpackov1-1/+1
Now we can do: $ b config.cxx.coptions=-O3 config.cxx.coptions=-O0 Or even: $ b config.cxx.coptions=-O3 config.cxx.coptions+=-g
2019-03-13Add workarounds for all cl releases until 20.00Karen Arutyunov1-3/+3
2019-03-08Use new setup for unit testsKaren Arutyunov27-0/+4677
2019-03-07Add support for alternative build file/directory naming schemeBoris Kolpackov3-13/+22
Now the build/*.build, buildfile, and .buildignore filesystem entries in a project can alternatively (but consistently) be called build2/*.build2, build2file, and .build2ignore. See a note at the beginning of the Project Structure section in the manual for details (motivation, restrictions, etc).
2019-01-24Add testscript sleep builtinKaren Arutyunov2-4/+84
2019-01-16Update copyright yearKaren Arutyunov16-16/+16
2018-11-30Adapt to inventing path_match_flagsKaren Arutyunov1-1/+3
2018-11-17Print id of failed testKaren Arutyunov2-2/+30
2018-11-16Fix GCC maybe used uninitialized warningKaren Arutyunov1-1/+1
2018-10-16Raise libcpp version in regex-related check to 7.0.0Karen Arutyunov1-1/+1
2018-09-05Create .buildignore file in testscript root working directoryKaren Arutyunov1-7/+19
2018-08-28Diagnose NULL test.target variable valueBoris Kolpackov1-9/+19
2018-07-17Add --after <ref-file> option for testscript touch builtinKaren Arutyunov1-10/+44
2018-07-14Add testscript mv builtinKaren Arutyunov1-1/+224
2018-06-19Adapt to renaming regex_replace_ex() to regex_replace_search()Karen Arutyunov1-6/+7
2018-06-15Minor formatting cleanupKaren Arutyunov1-3/+3
2018-05-19Update copyright yearKaren Arutyunov16-16/+16
2018-05-18Add workarounds for all releases of VC15Karen Arutyunov1-3/+3
2018-05-18Pass ignore_dangling flag to dir_iterator() ctorKaren Arutyunov2-3/+8
2018-05-16Redo testscript diagnostics not to rely on invalid pathsKaren Arutyunov2-52/+24
2018-05-12Fix inability to run program by relative path in testscriptKaren Arutyunov1-1/+22
2018-04-13Add workarounds for VC15u7Boris Kolpackov1-3/+3
2018-03-19Add support for cp builtin -p optionKaren Arutyunov1-12/+53
2018-02-16Add support for detecting dependency cyclesBoris Kolpackov1-6/+6
2018-02-15Add support for VC15u6Boris Kolpackov1-3/+3
2018-02-12Preprend testscript expressions with ': ' for verbosity >= 3Karen Arutyunov3-22/+13
2018-02-09Preprend testscript expressions with $ for verbosity >= 3Karen Arutyunov1-1/+1
2018-02-08Fix broken id assigning for testscript if-else scopesKaren Arutyunov1-1/+1
2018-02-03Get rid of action rule override semanticsBoris Kolpackov2-2/+10
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-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 Kolpackov1-17/+2
Also convert to using operator<<(ostream,process_exit).
2017-12-15Adapt to libbutl process API extensionKaren Arutyunov1-17/+23
2017-12-12Add support for VC 15u5 (compiler version 19.12)Boris Kolpackov1-3/+3
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.