Treat warnings as errors in TestPerformance
This commit is contained in:
parent
9fd02cfd00
commit
4304ba251f
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue