aboutsummaryrefslogtreecommitdiff
path: root/tests/cc/libu/testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-07-16 09:05:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-07-16 09:05:04 +0200
commit51ab0a979c5c53defd5eda9fa997b2abfd0d4f7d (patch)
treea7be7d7a9c8956efc8f9cc81ab7e7576fe78668b /tests/cc/libu/testscript
parentbca2aa388e690d1e575d890cf15e0dc9632728f7 (diff)
Save original compiler path/mode in {c,cxx}.config.path/mode
It turns out that when propagating {c,cxx}.config in tests we don't want to propagate any options (such as *.std) that have been folded into our project's mode.
Diffstat (limited to 'tests/cc/libu/testscript')
-rw-r--r--tests/cc/libu/testscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cc/libu/testscript b/tests/cc/libu/testscript
index f52bd81..9db3406 100644
--- a/tests/cc/libu/testscript
+++ b/tests/cc/libu/testscript
@@ -2,7 +2,7 @@
# license : MIT; see accompanying LICENSE file
crosstest = false
-test.arguments = config.cxx=$quote($recall($cxx.path) $cxx.mode, true)
+test.arguments = config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
.include ../../common.testscript