From c0303569afe979f3965228835ac902dce2e940c2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 26 Nov 2020 07:32:31 +0200 Subject: Start adapting module mapper to latest GCC protocol --- tests/cc/modules/common.testscript | 6 ++++++ tests/cc/modules/headers.testscript | 4 ++++ 2 files changed, 10 insertions(+) (limited to 'tests') 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 <=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" <