aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2017-11-09Add support for for-loopBoris Kolpackov2-0/+117
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-03Adapt to modularization of libbutlKaren Arutyunov1-4/+4
2017-09-29Allow pattern group to start with inclusionKaren Arutyunov1-29/+85
2017-09-11Add ability to pass scope to buildfile functions, add $install.resolve()Boris Kolpackov2-0/+38
2017-08-30Add $regex.split(), $regex.merge() and $regex.apply() functionsKaren Arutyunov1-0/+96
2017-08-02Change cc.preprocessed to {c,cxx}.preprocessedBoris Kolpackov2-8/+8
2017-07-28Implement support for linking whole archiveBoris Kolpackov1-6/+28
2017-07-27Initial infrastructure for utility librariesBoris Kolpackov2-0/+62
2017-07-24Change dir_path/string concatenation semanticsKaren Arutyunov2-1/+74
2017-07-22Fix testscript touch builtin some moreBoris Kolpackov1-3/+1
2017-07-22Fix testscript touch builtin testKaren Arutyunov1-1/+1
2017-07-21Fix and improve modules testBoris Kolpackov1-1/+3
2017-07-17Allow independent wildcard patterns in a groupKaren Arutyunov1-4/+9
2017-07-13Add hxx prerequisite type in test buildfilesKaren Arutyunov2-2/+2
2017-07-12Make use of wildcards in buildfilesKaren Arutyunov8-8/+7
2017-06-29Pass entire BMI graph, not only direct imports and re-exportsBoris Kolpackov1-0/+39
All current implementations require access to the entire graph (though Clang embeds the file references so we don't need to pass the options).
2017-06-27Add support for regex function familyKaren Arutyunov2-0/+260
2017-06-26Add support for $path_search() and $path_match()Karen Arutyunov2-0/+160
2017-06-24Make VC compatible with 'export module M;' by fixing up preprocessed outputBoris Kolpackov1-0/+11
2017-06-22Add extra support for symbol exporting in modularized projectsBoris Kolpackov1-0/+32
Since modules don't see each other's macros, we can use a single, keyword- like macro for dll-exporting that is managed by the build system (so no need for an "export" header). For example: cxx.features.symexport = true export __symexport void f ();
2017-06-21Add support for $envvar() functionKaren Arutyunov1-0/+61
2017-06-20Build both variants of libraries in modules testBoris Kolpackov1-0/+1
2017-06-19Make use of exit builtin in modules testBoris Kolpackov1-5/+1
2017-06-19Add support for exit testscript builtinKaren Arutyunov2-1/+401
2017-06-16Add support for explicitly specifying module name on mxx{} targetBoris Kolpackov1-2/+13
2017-06-16Clean up module-related diagnosticsBoris Kolpackov2-3/+3
2017-06-16Convert test to new ln builtinBoris Kolpackov1-20/+19
2017-06-16Store module information in depdbBoris Kolpackov2-2/+31
2017-06-15Add support for ln testscript builtinKaren Arutyunov2-1/+185
2017-06-15Enable all module tests for GCC (requires cxx-modules r249216)Boris Kolpackov1-8/+4
2017-06-15Fix modules test not to run for VC15u0Boris Kolpackov1-3/+8
2017-06-15Implement module search in prerequisite librariesBoris Kolpackov1-11/+53
2017-06-14Fix modules testBoris Kolpackov1-1/+2
2017-06-14Next installment in C++ modules saga: module search, re-export supportBoris Kolpackov1-15/+139
2017-06-12Don't force C++ modules in tests for VCBoris Kolpackov1-1/+4
2017-06-12Add initial tests for C++ modules supportBoris Kolpackov2-0/+115
2017-06-12Resolve ambiguity between std:: and butl:: optionalBoris Kolpackov1-0/+2
2017-06-08Add full support for pattern exclusionsKaren Arutyunov1-2/+3
2017-06-01Fix test to use new cleanup wildcard supportBoris Kolpackov1-13/+13
2017-06-01Implement new testscript cleanup wildcards semanticsKaren Arutyunov2-41/+67
2017-05-31Fix testscript runner not to remove special files with wildcard cleanupsKaren Arutyunov1-0/+19
2017-05-30Diagnose lack of module support in extract_modules()Boris Kolpackov1-1/+1
2017-05-30Fix cross-testing bugBoris Kolpackov1-1/+1
2017-05-29Fix testBoris Kolpackov1-1/+1
2017-05-29Add ability to limit amount of preprocessing done on sourceBoris Kolpackov3-0/+154
The cc.preprocessed variable can be 'none' (not preprocessed), 'includes' (no depends on preprocessor, e.g., #ifdef, etc), and 'all' (the source is fully preprocessed). Note that for 'all' the source can still contain comments and line continuations.
2017-05-03Fix test failures caused by previous commitBoris Kolpackov1-0/+4
2017-05-02Fix .gitignore in tests/ and unit-tests/Karen Arutyunov1-1/+1
2017-05-02Cleanup testscript runner diagnosticsBoris Kolpackov7-52/+46
2017-05-01Add hxx extension for headersKaren Arutyunov3-5/+10
2017-03-20Fix name/cross.testKaren Arutyunov1-2/+2