Merge pull request #1395 from janyou/suppress-warnings

suppress swift test warnings
This commit is contained in:
Terence Parr 2016-11-22 13:24:59 -08:00 committed by GitHub
commit d09276d9fd
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ public class BaseSwiftTest implements RuntimeTestSupport {
String fileList = sourceFiles.toString().replace("[", "").replace("]", "")
.replace(", ", " ");
String argsString = "xcrun -sdk macosx swiftc " + fileList + " -o " + EXEC_NAME + " -I " + ANTLR_FRAMEWORK_DIR + " -L " + ANTLR_FRAMEWORK_DIR + " -module-link-name Antlr4";
String argsString = "xcrun -sdk macosx swiftc " + fileList + " -o " + EXEC_NAME + " -I " + ANTLR_FRAMEWORK_DIR + " -L " + ANTLR_FRAMEWORK_DIR + " -module-link-name Antlr4 -suppress-warnings";
return runProcess(argsString, tmpdir);
}