Treat warnings as errors in TestPerformance

This commit is contained in:
Sam Harwell 2012-04-04 09:49:16 -05:00
parent 9fd02cfd00
commit 4304ba251f
1 changed files with 1 additions and 0 deletions

View File

@ -426,6 +426,7 @@ public class TestPerformance extends BaseTest {
String body = load(sourceName, null);
@SuppressWarnings({"ConstantConditions"})
List<String> extraOptions = new ArrayList<String>();
extraOptions.add("-Werror");
if (FORCE_ATN) {
extraOptions.add("-Xforce-atn");
}