aboutsummaryrefslogtreecommitdiff
path: root/tests/cc
AgeCommit message (Collapse)AuthorFilesLines
2021-02-11Update header unit testsBoris Kolpackov1-4/+4
2020-11-30Start adapting module mapper to latest GCC protocolBoris Kolpackov2-0/+10
2020-07-16Save original compiler path/mode in {c,cxx}.config.path/modeBoris Kolpackov3-3/+3
It turns out that when propagating {c,cxx}.config in tests we don't want to propagate any options (such as *.std) that have been folded into our project's mode.
2020-06-24Stop forcing modules support in testsBoris Kolpackov1-15/+0
2020-03-17Adapt testscripts to ln builtin target path completion fixKaren Arutyunov1-2/+2
2020-02-25Disable global module fragment tests for MSVC due to issue 845845Boris Kolpackov1-0/+3
2020-02-21Define __cpp_modules=201810 (merged modules) for MSVC 16.4Boris Kolpackov1-1/+1
2020-02-07Drop copyright notice from source codeKaren Arutyunov8-8/+0
2019-11-05Disable C++ modules tests for Clang 9Boris Kolpackov1-0/+8
See the following post for details: http://lists.llvm.org/pipermail/cfe-dev/2019-October/063637.html
2019-10-18Use $quote() for quoting config.cxx option value in testscriptsKaren Arutyunov3-3/+3
2019-10-16Quote config.{c,cxx} paths when passing to testsBoris Kolpackov3-3/+3
Without this Windows directory separators are treated as escapes.
2019-09-18Rename importable_headers variable to translatable_headersBoris Kolpackov1-4/+4
This name aligns better with the post-Cologne importable/translatable semantics.
2019-08-06Improve module name to file name heuristicsBoris Kolpackov1-0/+47
2019-08-01Combine multiple single-character flags into a single argument for ↵Karen Arutyunov1-1/+1
testscript commands
2019-07-04Remove libu{} target groupBoris Kolpackov1-9/+9
The semantics provided by libu{} is rarely required and as result was not yet documented. However, if you are using it, the new way to achieve the same result is to use both libue{} and libul{} explicitly, for example: exe{foo}: libue{foo} lib{foo}: libul{foo} {libue libul}{foo}: cxx{*}
2019-06-07Complete and normalize paths in cxx.importable_headersBoris Kolpackov2-14/+133
Also add more header unit include/import tests.
2019-06-06Redo header path normalization/realization logicBoris Kolpackov1-4/+2
We now try to use the normalized path (which preserves symlinks) if possible and fall back to realized otherwise.
2019-06-05Adjust GCC module mapper to new protocolBoris Kolpackov1-4/+31
2019-05-03Rename [config.]cxx.header_units to importable_headersBoris Kolpackov1-1/+1
2019-05-02Enable full header unit functionality testBoris Kolpackov1-1/+1
2019-04-30Initial take on header unit and include translation supportBoris Kolpackov5-44/+87
2019-04-11Sync up with latest C++ modules support in GCCBoris Kolpackov1-2/+5
2019-01-16Update copyright yearKaren Arutyunov6-6/+6
2018-12-04Adjust module tests to comply with the merged proposal (P1103)Boris Kolpackov1-8/+5
Specifically, import can no longer be inside an export block.
2018-11-19Fix expected diagnostics in testBoris Kolpackov1-1/+1
2018-09-04Rename .test/test{} to .testscript/testscript{}Boris Kolpackov3-3/+3
2018-07-24Handle leading 'module;' marker (p0713)Boris Kolpackov1-0/+17
2018-07-12Adjust modules test to maybe-cleanup .ii files (no longer there for VC)Boris Kolpackov1-1/+1
2018-05-19Update copyright yearKaren Arutyunov6-6/+6
2018-05-19Get rid of doc{version} and types for testscript and manifest in buildfilesKaren Arutyunov3-3/+3
2018-02-14Enable modules support only for VC 15u5 and up, drop hacks for earlierBoris Kolpackov1-48/+10
2018-02-03Get rid of action rule override semanticsBoris Kolpackov1-1/+1
Instead we now have two more or less separate match states for outer and inner parts of an action.
2018-01-05Add cxx.module_name alias for cc.module_nameBoris Kolpackov1-2/+2
2017-11-22Enable module re-export tests for ClangBoris Kolpackov1-1/+0
This support has been merged into trunk.
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-21Fix and improve modules testBoris Kolpackov1-1/+3
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-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-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-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-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