summaryrefslogtreecommitdiff
path: root/cpp/test/Slice/errorDetection/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Slice/errorDetection/run.py')
-rwxr-xr-xcpp/test/Slice/errorDetection/run.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Slice/errorDetection/run.py b/cpp/test/Slice/errorDetection/run.py
index 52b20f94051..a445353fded 100755
--- a/cpp/test/Slice/errorDetection/run.py
+++ b/cpp/test/Slice/errorDetection/run.py
@@ -23,8 +23,8 @@ else:
sys.path.append(os.path.join(toplevel, "config"))
import TestUtil
-directory = os.path.join(toplevel, "test", "Slice", "errorDetection")
-slice2cpp = os.path.join(toplevel, "bin", "slice2cpp")
+directory = os.path.dirname(os.path.abspath(__file__))
+slice2cpp = os.path.join(TestUtil.getBinDir(__file__), "slice2cpp")
regex1 = re.compile(r"\.ice$", re.IGNORECASE)
files = []