Skip to content

Commit

Permalink
Merge pull request #206 from elrond79/fix_testWrapper_env_var_with_eq…
Browse files Browse the repository at this point in the history
…uals

[tests] deal with env vars that have an = in them
  • Loading branch information
pixar-oss committed May 22, 2017
2 parents a6f7c89 + 6f9a52a commit 15103fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/macros/testWrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,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 "
Expand Down

0 comments on commit 15103fc

Please sign in to comment.