summaryrefslogtreecommitdiff
path: root/cpp/test/Slice/errorDetection/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Slice/errorDetection/test.py')
-rw-r--r--cpp/test/Slice/errorDetection/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Slice/errorDetection/test.py b/cpp/test/Slice/errorDetection/test.py
index 32eec3e3f66..dc4f44860e3 100644
--- a/cpp/test/Slice/errorDetection/test.py
+++ b/cpp/test/Slice/errorDetection/test.py
@@ -21,12 +21,12 @@ class SliceErrorDetectionTestCase(ClientTestCase):
for file in files:
current.write(os.path.basename(file) + "... ")
- args = ["-I.", file]
+ args = ["-I.", file, "--output-dir", "tmp"]
if file.find("Underscore") >= 0:
args.append("--underscore")
# Don't print out slice2cpp output and expect failures
- slice2cpp.run(current, args=args, exitstatus=1)
+ slice2cpp.run(current, args=args, exitstatus=0 if file.find("Warning") >= 0 else 1)
output = slice2cpp.getOutput(current)
regex1 = re.compile("\.ice$", re.IGNORECASE)