From 9d90382e1282045638ede144b89c7e94f4739466 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 18 Oct 2019 18:43:26 +0300 Subject: Use $quote() for quoting config.cxx option value in testscripts --- tests/cc/libu/testscript | 2 +- tests/cc/modules/common.testscript | 2 +- tests/cc/preprocessed/testscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/cc/libu/testscript b/tests/cc/libu/testscript index 5c2b57a..01faae9 100644 --- a/tests/cc/libu/testscript +++ b/tests/cc/libu/testscript @@ -3,7 +3,7 @@ # license : MIT; see accompanying LICENSE file crosstest = false -test.arguments = config.cxx="\\'$recall($cxx.path)\\'" +test.arguments = config.cxx=$quote($recall($cxx.path) $cxx.mode, true) .include ../../common.testscript diff --git a/tests/cc/modules/common.testscript b/tests/cc/modules/common.testscript index e10047a..97c5a2b 100644 --- a/tests/cc/modules/common.testscript +++ b/tests/cc/modules/common.testscript @@ -3,7 +3,7 @@ # license : MIT; see accompanying LICENSE file crosstest = false -test.arguments = config.cxx="\\'$recall($cxx.path)\\'" +test.arguments = config.cxx=$quote($recall($cxx.path) $cxx.mode, true) .include ../../common.testscript diff --git a/tests/cc/preprocessed/testscript b/tests/cc/preprocessed/testscript index 08560d5..5b34165 100644 --- a/tests/cc/preprocessed/testscript +++ b/tests/cc/preprocessed/testscript @@ -3,7 +3,7 @@ # license : MIT; see accompanying LICENSE file crosstest = false -test.arguments = config.cxx="\\'$recall($cxx.path)\\'" update +test.arguments = config.cxx=$quote($recall($cxx.path) $cxx.mode, true) update .include ../../common.testscript -- cgit v1.1