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.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/test/Slice/errorDetection/run.py b/cpp/test/Slice/errorDetection/run.py
index f16d15a9774..32faa3cb45f 100755
--- a/cpp/test/Slice/errorDetection/run.py
+++ b/cpp/test/Slice/errorDetection/run.py
@@ -22,6 +22,12 @@ for toplevel in [".", "..", "../..", "../../..", "../../../.."]:
else:
raise "can't find toplevel directory!"
+#
+# For LD_LIBRARY_PATH and similar env variables
+#
+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")
@@ -32,6 +38,7 @@ for file in os.listdir(directory):
files.append(file)
files.sort()
+
for file in files:
print file + "...",