-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b19
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8048498 | 8u25 | Sundararajan Athijegannathan | P4 | Resolved | Fixed | b05 |
JDK-8046842 | 8u20 | Sundararajan Athijegannathan | P4 | Resolved | Fixed | b20 |
JDK-8052514 | emb-8u26 | Sundararajan Athijegannathan | P4 | Resolved | Fixed | b18 |
While working with Nashorn sources I found it beneficial to execute a single test rather than all of them. With attached patch I can:
$ jdk8/nashorn/make$ ant test -
Dtest.class=jdk/nashorn/api/scripting/ScopeTest.class
The patch changes the way list of test classes is composed. If the test.class property is specified, it is used, rather than including all the tests in the repository.
The patch also includes changes to nashorn/make/nbproject/*xml files to make sure the Ant task can be used from the NetBeans IDE. After opening the nashorn/make project, one can choose a test file, right click and either "Run Test" or "Debug Test".
$ jdk8/nashorn/make$ ant test -
Dtest.class=jdk/nashorn/api/scripting/ScopeTest.class
The patch changes the way list of test classes is composed. If the test.class property is specified, it is used, rather than including all the tests in the repository.
The patch also includes changes to nashorn/make/nbproject/*xml files to make sure the Ant task can be used from the NetBeans IDE. After opening the nashorn/make project, one can choose a test file, right click and either "Run Test" or "Debug Test".
- backported by
-
JDK-8046842 Run & debug single Nashorn test
-
- Resolved
-
-
JDK-8048498 Run & debug single Nashorn test
-
- Resolved
-
-
JDK-8052514 Run & debug single Nashorn test
-
- Resolved
-