diff options
author | Jose <jose@zeroc.com> | 2017-02-03 18:10:20 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-02-03 18:10:20 +0100 |
commit | 7274ebf13c7a1ff3b587598335201c3a4e848c90 (patch) | |
tree | ad673e775b6ab68d511bcc86cf420c519b65948d /cpp/test/Slice/errorDetection/test.py | |
parent | Connection::close fixes for C#/Java/JS (diff) | |
download | ice-7274ebf13c7a1ff3b587598335201c3a4e848c90.tar.bz2 ice-7274ebf13c7a1ff3b587598335201c3a4e848c90.tar.xz ice-7274ebf13c7a1ff3b587598335201c3a4e848c90.zip |
Rework warning suppression to use global meta data
Diffstat (limited to 'cpp/test/Slice/errorDetection/test.py')
-rw-r--r-- | cpp/test/Slice/errorDetection/test.py | 4 |
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) |