aboutsummaryrefslogtreecommitdiff
path: root/build2
AgeCommit message (Collapse)AuthorFilesLines
2017-02-13Add notion of phase, enforceBoris Kolpackov18-90/+270
2017-02-13Add commentBoris Kolpackov1-3/+5
2017-02-13Add scheduling calls to operation's match()Boris Kolpackov11-179/+269
2017-02-13Add model mutex, make var_pool const by defaultBoris Kolpackov60-590/+840
2017-02-11Fix testscript parser not to strip leading blanks in here-docKaren Arutyunov1-7/+16
2017-02-11Add support for &dir/*[*][/] test path cleanup syntaxKaren Arutyunov1-2/+55
2017-02-10Fix save_regex()Karen Arutyunov1-5/+5
2017-02-03Fix runner output in verbose (-v, -V) modesKaren Arutyunov2-10/+22
2017-02-03Add sed builtinKaren Arutyunov8-148/+732
2017-01-31Add support for test command pipe, expression and command-ifKaren Arutyunov3-167/+336
2017-01-26Only pass diff --strip-trailing-cr in runner if running on WindowsKaren Arutyunov1-7/+11
2017-01-26Add test builtinKaren Arutyunov2-0/+91
2017-01-24Add default constructors to *_rule classes to make older clang happyKaren Arutyunov5-0/+20
2017-01-24Add support for shared here-documentsKaren Arutyunov5-49/+170
2017-01-24Add support for comparison of test command output to a fileKaren Arutyunov8-368/+420
2017-01-24Redo config as feature test macrosBoris Kolpackov3-3/+4
2017-01-23Make rules const throughoutBoris Kolpackov9-23/+30
2017-01-23Add bunch of missing const'sBoris Kolpackov13-27/+27
2017-01-23Go back to storing scope instead of target in prerequisiteBoris Kolpackov7-62/+56
Turns out this was semantically the right way to do it.
2017-01-23Implement automatic loading of directory buildfilesBoris Kolpackov8-80/+212
Now instead of explicitly writing: d = foo/ bar/ ./: $d include $d We can (usually) just write: ./: foo/ bar/
2017-01-20Remove prerequisite caching in scopeBoris Kolpackov12-284/+166
We don't share them often and those that are shared (e.g., cxx{} in obja/objs{}) are lightweight (SOO).
2017-01-20Cosmetic changeBoris Kolpackov1-21/+20
2017-01-20Add more comments to meta/operation loopBoris Kolpackov1-6/+6
2017-01-19Add rmdir builtinKaren Arutyunov1-8/+127
2017-01-19Add support for portable path modifer and dot character escaping inversionKaren Arutyunov10-307/+825
2017-01-19Get rid of unnecessary mutableBoris Kolpackov1-2/+2
2017-01-19Get rid of extension_poolBoris Kolpackov32-190/+180
2017-01-19Get rid of project_name_poolBoris Kolpackov22-94/+96
With small string optimizations this is most likely a hindrance rather that an optimization.
2017-01-18Add missing diagnostics in testscript parserBoris Kolpackov1-0/+25
2017-01-18Only pass diff --strip-trailing-cr if running on WindowsBoris Kolpackov1-1/+6
Since we cannot assume diff on other platforms has this option. Also need to do likewise in the testscript runner.
2017-01-18Ignore prerequisite mtimes that are not linker inputsBoris Kolpackov9-151/+155
This makes sure, for example, that we don't unnecessarily re-link an executable when its testscript prerequisite is changes.
2017-01-12Implement support for narrowing down tests (config.test)Boris Kolpackov20-228/+667
2017-01-12Inject fsdir{} even for project rootsBoris Kolpackov2-9/+11
This takes care of subprojects, such as tests/.
2017-01-09Workaround libc++'s basic_string<line_char> crashKaren Arutyunov4-61/+124
2017-01-09Increase size of variable value::data_ to compile with libc++Karen Arutyunov2-5/+5
2017-01-09Make use of operator<<(ostream, exception)Karen Arutyunov26-111/+112
2017-01-09Implement test.target variableBoris Kolpackov2-18/+34
The plan is to use it for the portable path conversions.
2017-01-06Store platform targets as typed target_tripletBoris Kolpackov18-236/+354
2017-01-06Add testscript lexer support for portable path modifier (/)Boris Kolpackov1-12/+16
2017-01-05Sketch bit stealing interface for regex line_charBoris Kolpackov1-0/+20
2017-01-05Cosmetic changeBoris Kolpackov1-2/+2
2017-01-05Update copyright yearBoris Kolpackov163-164/+164
2017-01-05Tests cleanupKaren Arutyunov1-1/+5
2017-01-05Print signal/core dump like shell/makeKaren Arutyunov1-21/+43
2017-01-05Save diff output for {stdout,stderr}.diffKaren Arutyunov1-44/+89
2017-01-05Add support for regex in runnerKaren Arutyunov6-141/+659
2017-01-04Treat any testscript line that starts with dot as directiveBoris Kolpackov4-27/+40
Even though we currently only recognize the include directive, we reserve any line that begins with a dot for future.
2017-01-04Change lexer modes to be semantically accurateBoris Kolpackov3-22/+24
2016-12-17Add support for specifying individual paths of imported targetsBoris Kolpackov5-51/+105
The new config.import.* variable format is: config.import.<proj>.<name>[.<type>] For example: b config.import.build2.b=/opt/build2/bin/b b config.import.build2.b.exe=b-boot
2016-12-17Use PATH search as fallback import mechanism for exe{} targetsBoris Kolpackov2-7/+64