8207761: Split compiler/graalunit/JttReflectFTest.java
Reviewed-by: kvn
This commit is contained in:
parent
d3201f3e40
commit
addc5a823f
test/hotspot/jtreg/compiler/graalunit
@ -34,5 +34,5 @@
|
||||
*
|
||||
* @run driver jdk.test.lib.FileInstaller ../../ProblemList-graal.txt ExcludeList.txt
|
||||
*
|
||||
* @run main/othervm compiler.graalunit.common.GraalUnitTestLauncher -prefix org.graalvm.compiler.jtt.reflect.[fF] -exclude ExcludeList.txt
|
||||
* @run main/othervm compiler.graalunit.common.GraalUnitTestLauncher -prefix org.graalvm.compiler.jtt.reflect.Field_get -exclude ExcludeList.txt
|
||||
*/
|
@ -0,0 +1,38 @@
|
||||
/*
|
||||
* Copyright (c) 2018, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @summary
|
||||
* @requires vm.opt.final.EnableJVMCI == true
|
||||
*
|
||||
* @modules jdk.internal.vm.compiler
|
||||
*
|
||||
* @library /test/lib /compiler/graalunit /
|
||||
*
|
||||
* @build compiler.graalunit.common.GraalUnitTestLauncher
|
||||
*
|
||||
* @run driver jdk.test.lib.FileInstaller ../../ProblemList-graal.txt ExcludeList.txt
|
||||
*
|
||||
* @run main/othervm compiler.graalunit.common.GraalUnitTestLauncher -prefix org.graalvm.compiler.jtt.reflect.Field_set -exclude ExcludeList.txt
|
||||
*/
|
@ -32,7 +32,8 @@ JttLoop org.graalvm.compiler.jtt.loop
|
||||
Jtt.Micro org.graalvm.compiler.jtt.micro
|
||||
JttOptimize org.graalvm.compiler.jtt.optimize
|
||||
JttReflectAE org.graalvm.compiler.jtt.reflect.[a-eA-E]
|
||||
JttReflectF org.graalvm.compiler.jtt.reflect.[fF]
|
||||
JttReflectFieldGet org.graalvm.compiler.jtt.reflect.Field_get
|
||||
JttReflectFieldSet org.graalvm.compiler.jtt.reflect.Field_set
|
||||
JttReflectGZ org.graalvm.compiler.jtt.reflect.[g-zG-Z]
|
||||
JttThreads org.graalvm.compiler.jtt.threads
|
||||
LirJtt org.graalvm.compiler.lir.jtt
|
||||
|
@ -124,6 +124,8 @@ public class GraalUnitTestLauncher {
|
||||
throw new Exception("Failed to find tests, VM crashed with exit code " + exitCode);
|
||||
}
|
||||
|
||||
System.out.println("INFO: command output: [" + out.getOutput() + "]");
|
||||
|
||||
String[] lines = out.getStdout().split(" ");
|
||||
if (lines.length > 1) { // first line contains jar file name
|
||||
for (int i = 1; i < lines.length; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user