summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-12-06 19:44:57 -0500
committerNat Goodspeed <nat@lindenlab.com>2016-12-06 19:44:57 -0500
commite1b0317c04124b4fc72f14dee1c2125cf970b0e0 (patch)
tree3d5b11d6d24cd10dd01add6626418c194de484c3 /indra/llmessage
parent43c9a7d706d3cdf72f861f89e9968342513d55b8 (diff)
DRTVWR-418: Remove duplicate testrunner.py
Diffstat (limited to 'indra/llmessage')
-rwxr-xr-xindra/llmessage/tests/testrunner.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llmessage/tests/testrunner.py b/indra/llmessage/tests/testrunner.py
index 5b9beb359b..9a2de71142 100755
--- a/indra/llmessage/tests/testrunner.py
+++ b/indra/llmessage/tests/testrunner.py
@@ -168,7 +168,10 @@ def run(*args, **kwds):
# executable passed as our first arg,
# - [no e] child should inherit this process's environment.
debug("Running %s...", " ".join(args))
- rc = os.spawnv(os.P_WAIT, args[0], args)
+ if kwds.get("use_path", False):
+ rc = os.spawnvp(os.P_WAIT, args[0], args)
+ else:
+ rc = os.spawnv(os.P_WAIT, args[0], args)
debug("%s returned %s", args[0], rc)
return rc