aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/script.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-07-05Move config, dist, test, and install modules into libraryKaren Arutyunov1-741/+0
2019-07-01Split build system into library and driverBoris Kolpackov1-2/+2
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-07Add support for alternative build file/directory naming schemeBoris Kolpackov1-3/+3
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-16Update copyright yearKaren Arutyunov1-1/+1
2018-05-19Update copyright yearKaren Arutyunov1-1/+1
2018-02-12Preprend testscript expressions with ': ' for verbosity >= 3Karen Arutyunov1-17/+0
2018-02-03Get rid of action rule override semanticsBoris Kolpackov1-2/+6
Instead we now have two more or less separate match states for outer and inner parts of an action.
2018-01-05Add support for variable aliasesBoris Kolpackov1-4/+5
2018-01-02Fix few undefined behavior (ubsan) bugsBoris 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-10-03Extract system header search paths from GCC or compatibleBoris Kolpackov1-1/+0
2017-05-31Fix testscript runner not to remove special files with wildcard cleanupsKaren Arutyunov1-0/+6
2017-05-02Cleanup testscript runner diagnosticsBoris Kolpackov1-2/+2
2017-05-01Add hxx extension for headersKaren Arutyunov1-3/+3
2017-03-16Add support for >! test command redirectKaren Arutyunov1-1/+5
2017-03-15Add support for config.test.output variableKaren Arutyunov1-0/+17
2017-03-04Fix target name printing in diagnosticsBoris Kolpackov1-1/+1
2017-03-02Implement parallel matchBoris Kolpackov1-5/+5
2017-02-13Track variable value modificationsBoris Kolpackov1-1/+1
2017-02-13Pass const target& to recipesBoris Kolpackov1-2/+2
2017-02-13Add notion of phase, enforceBoris Kolpackov1-1/+4
2017-01-24Add support for shared here-documentsKaren Arutyunov1-3/+23
2017-01-24Add support for comparison of test command output to a fileKaren Arutyunov1-3/+9
2017-01-19Add support for portable path modifer and dot character escaping inversionKaren Arutyunov1-33/+82
2017-01-12Implement support for narrowing down tests (config.test)Boris Kolpackov1-16/+6
2017-01-05Update copyright yearBoris Kolpackov1-1/+1
2017-01-05Add support for regex in runnerKaren Arutyunov1-9/+33
2016-12-16Add line_regexKaren Arutyunov1-49/+31
2016-12-16Add support for passing target name to testscript via test variableBoris Kolpackov1-17/+70
Such a targets is automatically resolved and converted to path.
2016-12-15Implement test.redirects, test.cleanupsBoris Kolpackov1-6/+20
2016-12-09Initial parallel scheduler implementation, use to run testscripsBoris Kolpackov1-8/+59
2016-11-25Allow here-document end marker to be wholly quotedBoris Kolpackov1-4/+7
2016-11-08Implement testscript command-ifBoris Kolpackov1-2/+20
2016-11-08Add mkdir and touch builtinsKaren Arutyunov1-1/+10
2016-11-04Implement testscript inclusion supportBoris Kolpackov1-25/+30
2016-11-04Fix Clang and VC warningsKaren Arutyunov1-1/+1
2016-11-04Implement command-pipe, command-expr in testscript parserBoris Kolpackov1-0/+48
2016-11-04Update test runner to accommodate cleanup typesKaren Arutyunov1-6/+15
2016-11-04Add support for &dir/*** test path cleanup syntaxKaren Arutyunov1-10/+1
2016-11-04Suppress duplicates on test scope path cleanup registrationKaren Arutyunov1-0/+21
2016-11-04Add support of cleanups to testscript parserKaren Arutyunov1-4/+23
2016-11-04Add support of merge redirect to testscript parserKaren Arutyunov1-5/+12
2016-11-04Add support of file redirects to testscript parserKaren Arutyunov1-5/+127
2016-11-04Fix printing no-newline here-doc and here-strKaren Arutyunov1-13/+19
2016-11-04Minor testscript changesBoris Kolpackov1-1/+6
2016-11-04Support >+ and <+ redirects in parserKaren Arutyunov1-0/+1
2016-11-04Change <! and >! syntaxt to <- and >-Karen Arutyunov1-1/+1
2016-11-04Implement creation/cleanup of testscript root working directoryBoris Kolpackov1-13/+8
2016-11-04Add support for testscript scope id, working directoryBoris Kolpackov1-11/+62