aboutsummaryrefslogtreecommitdiff
path: root/tests/cc/modules
AgeCommit message (Collapse)AuthorFilesLines
2023-12-08Re-enable modules tests for MSVC and drop workarounds for old bugsBoris Kolpackov2-7/+13
2023-11-17Disable modules tests for Apple ClangBoris Kolpackov1-2/+6
2023-11-09Enable named modules tests for Clang 16 or later (but not on Windows)Boris Kolpackov2-6/+7
2023-06-07Re-disable C++20 modules tests for MinGW GCCBoris Kolpackov1-3/+1
Several tests (other than the expected symexport) are still failing due to what looks like Windows-specific bugs in the compiler.
2023-06-07Try to enable C++20 modules tests for MinGW GCCBoris Kolpackov1-1/+3
2022-11-16Initial low verbosity diagnostics reworkBoris Kolpackov1-1/+1
2022-07-08Fix some tests to match canned command line semanticsKaren Arutyunov1-1/+1
2021-11-16Disable C++20 modules tests for MinGW GCCBoris Kolpackov1-0/+7
Things appear to be completely broken in GCC 11.x.
2021-03-22Fix tests to work for compressed file cache entriesBoris Kolpackov1-1/+1
2021-02-11Improve module name to file name matching logicBoris Kolpackov1-0/+3
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 Kolpackov1-1/+1
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 Arutyunov4-4/+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 Arutyunov1-1/+1
2019-10-16Quote config.{c,cxx} paths when passing to testsBoris Kolpackov1-1/+1
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-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 Kolpackov4-41/+84
2019-04-11Sync up with latest C++ modules support in GCCBoris Kolpackov1-2/+5
2019-01-16Update copyright yearKaren Arutyunov2-2/+2
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-09-04Rename .test/test{} to .testscript/testscript{}Boris Kolpackov1-1/+1
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 Arutyunov2-2/+2
2018-05-19Get rid of doc{version} and types for testscript and manifest in buildfilesKaren Arutyunov1-1/+1
2018-02-14Enable modules support only for VC 15u5 and up, drop hacks for earlierBoris Kolpackov1-48/+10
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-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 Kolpackov1-2/+2
2017-06-16Convert test to new ln builtinBoris Kolpackov1-20/+19