From b82298fbb340446303c9510b56d41cead9d0755b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 16 Oct 2019 07:55:02 +0200 Subject: Escape quoting in config.{c,cxx} paths when passing to tests This is needed due to the command line re-parsing (see "Lexical Structure" in the Testscript manual for details). --- tests/new.testscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/new.testscript') diff --git a/tests/new.testscript b/tests/new.testscript index 3692e54..f5b105c 100644 --- a/tests/new.testscript +++ b/tests/new.testscript @@ -14,8 +14,8 @@ c_tests = ($c.target.class != 'windows' && $c.target.class != 'macos') # test.arguments += --no-checks -c = config.c="'$recall($c.path)'" -cxx = config.cxx="'$recall($cxx.path)'" +c = config.c="\\'$recall($c.path)\\'" +cxx = config.cxx="\\'$recall($cxx.path)\\'" status += -d prj -- cgit v1.1