ability to skip lint test

This commit is contained in:
develar
2012-06-21 14:14:11 +04:00
parent 2108c08b2a
commit 4158a7bf5d
@@ -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);