From 6f9a52afdcdb09dffbc72a0e872591deec3dfd7a Mon Sep 17 00:00:00 2001 From: Paul Molodowitch Date: Thu, 27 Apr 2017 19:00:47 -0700 Subject: [PATCH] [tests] deal with env vars that have an '=' in them --- cmake/macros/testWrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/macros/testWrapper.py b/cmake/macros/testWrapper.py index 03bc6a5821..a4d7317517 100644 --- a/cmake/macros/testWrapper.py +++ b/cmake/macros/testWrapper.py @@ -240,7 +240,7 @@ def _runCommand(raw_command, stdout_redir, stderr_redir, env, sys.stderr.write("Error: use --pre-path or --post-path to edit PATH.") sys.exit(1) try: - k, v = varStr.split('=') + k, v = varStr.split('=', 1) env[k] = v except IndexError: sys.stderr.write("Error: envvar '{0}' not of the form "