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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Slice/errorDetection/run.py b/cpp/test/Slice/errorDetection/run.py
index ce6a0c337ae..7ecae19ef0e 100755
--- a/cpp/test/Slice/errorDetection/run.py
+++ b/cpp/test/Slice/errorDetection/run.py
@@ -42,7 +42,7 @@ for file in files:
command = slice2cpp + " --case-sensitive -I. " + os.path.join(directory, file);
else:
command = slice2cpp + " -I. " + os.path.join(directory, file);
- stdin, stdout, stderr = os.popen3(command)
+ stdin, stdout, stderr = os.popen3(command, "r", 0)
lines1 = stdout.readlines()
lines2 = open(os.path.join(directory, regex1.sub(".err", file)), "r").readlines()
if len(lines1) != len(lines2):