summaryrefslogtreecommitdiff
path: root/js/test/Ice/operationsBidir/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'js/test/Ice/operationsBidir/run.py')
-rwxr-xr-xjs/test/Ice/operationsBidir/run.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/test/Ice/operationsBidir/run.py b/js/test/Ice/operationsBidir/run.py
index a2a9972c83d..3f02da50266 100755
--- a/js/test/Ice/operationsBidir/run.py
+++ b/js/test/Ice/operationsBidir/run.py
@@ -19,7 +19,10 @@ path = [os.path.abspath(p) for p in path if os.path.exists(os.path.join(p, "scri
if len(path) == 0:
raise RuntimeError("can't find toplevel directory!")
sys.path.append(os.path.join(path[0], "scripts"))
+
+operations = os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "operations")
+
import TestUtil
-TestUtil.addPathToEnv("NODE_PATH", os.path.join(os.path.dirname(__file__), "..", "operations"))
+TestUtil.addPathToEnv("NODE_PATH", operations)
TestUtil.clientEchoTest()