File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
tests/tck-build-logic/src/main/groovy/org/graalvm/internal/tck/harness/tasks Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 44 * You should have received a copy of the CC0 legalcode along with this
55 * work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
66 */
7- package org.graalvm.internal.tck.harness.tasks
7+ package org .graalvm .internal .tck .harness .tasks ;
8+
9+ import java .util .List ;
810
911/**
1012 * Task that is used to run JVM tests (Gradle 'test') on subprojects.
1113 */
1214@ SuppressWarnings ("unused" )
13- abstract class JavaTestInvocationTask extends AllCoordinatesExecTask {
15+ public abstract class JavaTestInvocationTask extends AllCoordinatesExecTask {
1416
1517 @ Override
16- List<String > commandFor (String coordinates ) {
17- return [tckExtension. repoRoot. get(). asFile. toPath(). resolve(" gradlew" ). toString(), " test" ]
18+ public List <String > commandFor (String coordinates ) {
19+ return List .of (
20+ tckExtension .getRepoRoot ().get ().getAsFile ().toPath ().resolve ("gradlew" ).toString (),
21+ "test"
22+ );
1823 }
1924
2025 @ Override
2126 protected String errorMessageFor (String coordinates , int exitCode ) {
22- " Java tests failed"
27+ return "Java tests failed" ;
2328 }
2429}
You can’t perform that action at this time.
0 commit comments