Commit 35de3d16 authored by Huiwei Lu's avatar Huiwei Lu
Browse files

Fixes env in runtest

When the parameter of 'env' is parsed the first time, it adds an extra
space in the front. When the script kicks off each test, this extra
space is not a correct form the script want to interpret and it
complains in the output: "not in a=b form".
Signed-off-by: default avatarWesley Bland <>
parent cf13c785
......@@ -439,7 +439,12 @@ sub RunList {
$mpiexecArgs = "$mpiexecArgs $value";
elsif ($key eq "env") {
$progEnv = "$progEnv $value";
if ($progEnv eq "") {
$progEnv = "$value";
else {
$progEnv = "$progEnv $value";
elsif ($key eq "mpiversion") {
$mpiVersion = $value;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment