Skip to content

Commit

Permalink
Backport 6bf4a33593bfe0df9b5ba81de5321a04f4dbe0ea
Browse files Browse the repository at this point in the history
  • Loading branch information
duke committed Oct 26, 2023
1 parent a6ee5aa commit 40dda02
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/hotspot/jtreg/applications/scimark/Scimark.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand All @@ -24,7 +24,6 @@
/*
* @test
* @library /test/lib
* @requires vm.flagless
* @run driver Scimark
*/

Expand All @@ -47,7 +46,9 @@ public static void main(String... args) throws Exception {
+ Scimark.class.getName(), e);
}

OutputAnalyzer output = new OutputAnalyzer(ProcessTools.createJavaProcessBuilder(
System.setProperty("test.noclasspath", "true");

OutputAnalyzer output = new OutputAnalyzer(ProcessTools.createTestJvm(
"-cp", artifacts.get("gov.nist.math.scimark-2.0").toString(),
"jnt.scimark2.commandline", "-large")
.start());
Expand Down

0 comments on commit 40dda02

Please sign in to comment.