JS tests: disabled linter.

This commit is contained in:
Zalim Bashorov
2014-09-30 23:38:40 +04:00
parent 36bad02e67
commit ce4bbb906b
@@ -143,11 +143,11 @@ public final class RhinoUtils {
putGlobalVariablesIntoScope(scope, variables); putGlobalVariablesIntoScope(scope, variables);
for (String filename : fileNames) { for (String filename : fileNames) {
runFileWithRhino(filename, context, scope); runFileWithRhino(filename, context, scope);
String problems = lintIt(context, filename, scope); //String problems = lintIt(context, filename, scope);
if (problems != null) { //if (problems != null) {
//fail(problems); // //fail(problems);
System.out.print(problems); // System.out.print(problems);
} //}
} }
checker.runChecks(context, scope); checker.runChecks(context, scope);
} }
@@ -185,7 +185,7 @@ public final class RhinoUtils {
runFileWithRhino(pathToTestFilesRoot() + "kotlin_lib.js", context, scope); runFileWithRhino(pathToTestFilesRoot() + "kotlin_lib.js", context, scope);
runFileWithRhino(pathToTestFilesRoot() + "maps.js", context, scope); runFileWithRhino(pathToTestFilesRoot() + "maps.js", context, scope);
runFileWithRhino(pathToTestFilesRoot() + "long.js", context, scope); runFileWithRhino(pathToTestFilesRoot() + "long.js", context, scope);
runFileWithRhino(pathToTestFilesRoot() + "jshint.js", context, scope); //runFileWithRhino(pathToTestFilesRoot() + "jshint.js", context, scope);
for (String jsLibrary : jsLibraries) { for (String jsLibrary : jsLibraries) {
runFileWithRhino(jsLibrary, context, scope); runFileWithRhino(jsLibrary, context, scope);
} }