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.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/test/Slice/errorDetection/run.py b/cpp/test/Slice/errorDetection/run.py
index 1db53e1ff4a..02768f08a44 100755
--- a/cpp/test/Slice/errorDetection/run.py
+++ b/cpp/test/Slice/errorDetection/run.py
@@ -33,7 +33,11 @@ files.sort()
for file in files:
print file + "...",
- command = slice2cpp + ' -I. "%s"' % os.path.join(os.getcwd(), file)
+
+ if file.find("Underscore") != -1:
+ command = slice2cpp + ' --underscore -I. "%s"' % os.path.join(os.getcwd(), file)
+ else:
+ command = slice2cpp + ' -I. "%s"' % os.path.join(os.getcwd(), file)
p = TestUtil.runCommand(command)
(stdin, stdout, stderr) = (p.stdin, p.stdout, p.stderr)