aboutsummaryrefslogtreecommitdiff
path: root/tests/cc/modules/common.testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-11-17 07:36:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-11-17 07:36:29 +0200
commit8826a6a6823e8c5957a5b7418e93f0b78be20eef (patch)
tree126fcef50169d744fb1dd268c4fa51f421f9d61c /tests/cc/modules/common.testscript
parentaf952074c34ba0e44ce76e04a8bcd41d7732e262 (diff)
Disable modules tests for Apple Clang
Diffstat (limited to 'tests/cc/modules/common.testscript')
-rw-r--r--tests/cc/modules/common.testscript8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/cc/modules/common.testscript b/tests/cc/modules/common.testscript
index 2aa19d1..f2e107f 100644
--- a/tests/cc/modules/common.testscript
+++ b/tests/cc/modules/common.testscript
@@ -21,8 +21,12 @@ cxx.std = experimental
cxx.features.symexport = true
# @@ TMP revise
+#
+# Note: there are some issues with enabling modules in Apple Clang 15 so
+# for now we only test vanilla Clang.
+#
if ($cxx.id == 'gcc' || \
- ($cxx.id.type == 'clang' && $cxx.version.major >= 16))
+ ($cxx.id == 'clang' && $cxx.version.major >= 16))
cxx.features.modules = true
using cxx
@@ -50,7 +54,7 @@ print ($cxx.features.modules && $cxx.id == 'gcc')
EOI
# @@ TMP: modules support is broken in MinGW GCC (not just symexport).
-# @@ TMP: try modules with Clang on Windows (symexport is likely broken).
+# @@ TMP: try modules with Clang on Windows (symexport seems to work).
#
if ($cxx.target.class == 'windows' && \
($cxx.id == 'gcc' || $cxx.id.type == 'clang'))