test/src/jdk/nashorn/internal/codegen/CompilerTest.java
Print this page
*** 41,52 ****
* Tests to check Nashorn JS compiler - just compiler and not execution of scripts.
*/
public class CompilerTest {
private static final boolean VERBOSE = Boolean.valueOf(System.getProperty("compilertest.verbose"));
private static final boolean TEST262 = Boolean.valueOf(System.getProperty("compilertest.test262"));
-
- private static final String ES5CONFORM_DIR = System.getProperty("es5conform.testcases.dir");
private static final String TEST_BASIC_DIR = System.getProperty("test.basic.dir");
private static final String TEST262_SUITE_DIR = System.getProperty("test262.suite.dir");
interface TestFilter {
public boolean exclude(File file, String content);
--- 41,50 ----
*** 88,98 ****
public boolean exclude(final File file, final String content) {
return content.indexOf("@negative") != -1;
}
});
}
- compileTestSet(ES5CONFORM_DIR, null);
compileTestSet(TEST_BASIC_DIR, null);
}
private void compileTestSet(final String testSet, final TestFilter filter) {
passed = 0;
--- 86,95 ----