From 5338cd3b93972c60ac90d4c2c5a640071f92d091 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 16 Oct 2019 08:15:35 +0200 Subject: Quote config.{c,cxx} paths when passing to tests Without this Windows directory separators are treated as escapes. --- 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/cc') diff --git a/tests/cc/libu/testscript b/tests/cc/libu/testscript index 75ccb4d..5c2b57a 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="\\'$recall($cxx.path)\\'" .include ../../common.testscript diff --git a/tests/cc/modules/common.testscript b/tests/cc/modules/common.testscript index b7501c1..e10047a 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="\\'$recall($cxx.path)\\'" .include ../../common.testscript diff --git a/tests/cc/preprocessed/testscript b/tests/cc/preprocessed/testscript index 844e140..08560d5 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="\\'$recall($cxx.path)\\'" update .include ../../common.testscript -- cgit v1.1