aboutsummaryrefslogtreecommitdiff
path: root/tests/cc/preprocessed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cc/preprocessed')
-rw-r--r--tests/cc/preprocessed/testscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cc/preprocessed/testscript b/tests/cc/preprocessed/testscript
index 8e36b2d..844e140 100644
--- a/tests/cc/preprocessed/testscript
+++ b/tests/cc/preprocessed/testscript
@@ -9,10 +9,10 @@ test.arguments = config.cxx="$recall($cxx.path)" update
# Trace filter.
#
-# trace: cxx::compile::extract_(headers|modules): target: .../obje{(test).o...}
+# trace: cxx::compile::apply extracting (headers|modules) from: .../obje{(test).o...}
#
filter = sed -n -e \
- \''s/^trace: cxx::compile_rule::extract_([^:]+): target:[^{]+\{([^.]+).*/\1 \2/p'\'
+ \''s/^trace: cxx::compile_rule::apply: extracting ([^ ]+) from[^{]+\{([^.]+).*/\1 \2/p'\'
+cat <<EOI >=build/root.build
cxx.std = latest
@@ -98,7 +98,7 @@ $* &test* <<EOI 2>>EOE != 0
cxx.preprocessed = modules
exe{test}: cxx{test}
EOI
- test.cxx: error: modules support not available or not enabled
+ error: modules support required by cxx{test}
EOE
: all