aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/cc/preprocessed/testscript2
-rw-r--r--tests/test/config-test/testscript3
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/cc/preprocessed/testscript b/tests/cc/preprocessed/testscript
index fb69e65..644e121 100644
--- a/tests/cc/preprocessed/testscript
+++ b/tests/cc/preprocessed/testscript
@@ -12,7 +12,7 @@ test.arguments = config.cxx="$recall($cxx.path)" update
# trace: cxx::compile::extract_(headers|modules): target: .../obje{(test).o...}
#
filter = sed -n -e \
- \''s/^trace: cxx::compile::extract_([^:]+): target:[^{]+\{([^.]+).*/\1 \2/p'\'
+ \''s/^trace: cxx::compile_rule::extract_([^:]+): target:[^{]+\{([^.]+).*/\1 \2/p'\'
+cat <<EOI >=build/root.build
cxx.std = latest
diff --git a/tests/test/config-test/testscript b/tests/test/config-test/testscript
index 0d08eb0..7423322 100644
--- a/tests/test/config-test/testscript
+++ b/tests/test/config-test/testscript
@@ -82,8 +82,7 @@ EOI
+touch proj/units/simple/driver
+cat <<EOI >=proj/units/simple/buildfile
driver = $src_root/../../exe{driver}
-#@@ TMP file{driver}@./: $driver
-./: file{driver} $driver
+file{driver}@./: $driver
file{driver}@./: test = $driver
file{driver}@./: test.arguments = units/simple
EOI