From 4158a7bf5d0f5aba10e8067e4ff60518e97757bf Mon Sep 17 00:00:00 2001 From: develar Date: Thu, 21 Jun 2012 14:14:11 +0400 Subject: [PATCH] ability to skip lint test --- .../test/org/jetbrains/k2js/test/rhino/RhinoUtils.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/js.tests/test/org/jetbrains/k2js/test/rhino/RhinoUtils.java b/js/js.tests/test/org/jetbrains/k2js/test/rhino/RhinoUtils.java index 912af5fc880..a8259b64ace 100644 --- a/js/js.tests/test/org/jetbrains/k2js/test/rhino/RhinoUtils.java +++ b/js/js.tests/test/org/jetbrains/k2js/test/rhino/RhinoUtils.java @@ -111,6 +111,10 @@ public final class RhinoUtils { } private static void lintIt(Context context, String fileName) throws IOException { + if (Boolean.valueOf(System.getProperty("test.lint.skip"))) { + return; + } + NativeObject options = new NativeObject(); // todo fix dart ast? options.defineProperty("white", true, ScriptableObject.READONLY);