aboutsummaryrefslogtreecommitdiff
path: root/tests/cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cc')
-rw-r--r--tests/cc/modules/common.testscript6
-rw-r--r--tests/cc/modules/headers.testscript4
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/cc/modules/common.testscript b/tests/cc/modules/common.testscript
index 2fbb9a5..6f09c62 100644
--- a/tests/cc/modules/common.testscript
+++ b/tests/cc/modules/common.testscript
@@ -13,11 +13,17 @@ EOI
+cat <<EOI >=build/root.build
using in
+using cxx.guess
+
# Force modules.
#
cxx.std = experimental
cxx.features.symexport = true
+# @@ TMP revise
+if ($cxx.id == 'gcc')
+ cxx.features.modules = true
+
using cxx
hxx{*}: extension = hxx
diff --git a/tests/cc/modules/headers.testscript b/tests/cc/modules/headers.testscript
index dacb6f0..6fc2ba7 100644
--- a/tests/cc/modules/headers.testscript
+++ b/tests/cc/modules/headers.testscript
@@ -120,6 +120,9 @@ $* test clean config.cxx.translatable_headers="$~/core.hxx" <<EOI
EOI
}
+# @@ TODO
+#
+#\
: generated
:
ln -s ../core.hxx.in ./;
@@ -164,6 +167,7 @@ $* 'test:' ./@$out/remapped/ \
hxx{core}: in{core}
EOI
rm -rf $out
+#\
# Clean module sidebuilds.
#