Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions hotspot/test/TEST.ROOT
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ requires.extraPropDefns = ../../test/jtreg-ext/requires/VMProps.java
requires.properties=sun.arch.data.model \
vm.flavor \
vm.bits

# Path to libraries in the topmost test directory. This is needed so @library
# does not need ../../ notation to reach them
external.lib.roots = ../../
4 changes: 4 additions & 0 deletions jdk/test/TEST.ROOT
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ requires.properties=sun.arch.data.model

# Group definitions
groups=TEST.groups [closed/TEST.groups]

# Path to libraries in the topmost test directory. This is needed so @library
# does not need ../../ notation to reach them
external.lib.roots = ../../
2 changes: 1 addition & 1 deletion jdk/test/java/net/MulticastSocket/JoinLeave.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* @test
* @bug 4091811 4148753 4102731
* @summary Test java.net.MulticastSocket joinGroup and leaveGroup
* @library /lib
* @library /test/lib
* @build jdk.test.lib.NetworkConfiguration
* jdk.test.lib.Platform
* @run main JoinLeave
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* @test
* @bug 6458027
* @summary Disabling IPv6 on a specific network interface causes problems.
* @library /lib
* @library /test/lib
* @build jdk.test.lib.NetworkConfiguration
* jdk.test.lib.Platform
* @run main SetGetNetworkInterfaceTest
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/java/net/MulticastSocket/Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* @test
* @bug 4488458
* @summary IPv4 and IPv6 multicasting broken on Linux
* @library /lib
* @library /test/lib
* @build jdk.test.lib.NetworkConfiguration
* jdk.test.lib.Platform
* @run main Test
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/java/net/MulticastSocket/TestInterfaces.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @bug 4422122
* @summary Test that MulticastSocket.getInterface returns the
* same InetAddress set by MulticastSocket.setInterface
* @library /lib
* @library /test/lib
* @build jdk.test.lib.NetworkConfiguration
* jdk.test.lib.Platform
* @run main TestInterfaces
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/java/security/SignedObject/Chain.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @test
* @bug 8050374 8181048 8146293
* @summary Verify a chain of signed objects
* @library /lib
* @library /test/lib
* @build jdk.test.lib.SigTestUtil
* @run main Chain
*/
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/java/util/Arrays/TimSortStackSize2.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @bug 8072909
* @summary Test TimSort stack size on big arrays
* @key intermittent
* @library /lib/testlibrary /lib
* @library /lib/testlibrary /test/lib
* @build jdk.testlibrary.*
* @build TimSortStackSize2
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @summary Testing TLS engines re-handshaking with cipher change. New cipher
* is taken randomly from the supporetd ciphers list.
* @key randomness
* @library /sun/security/krb5/auto /lib /javax/net/ssl/TLSCommon
* @library /sun/security/krb5/auto /test/lib /javax/net/ssl/TLSCommon
* @build jdk.test.lib.RandomFactory
* @run main/othervm -Dtest.security.protocol=TLS TLSRehandshakeWithCipherChangeTest
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @summary Testing TLS engines re-handshaking with cipher change. New cipher
* is taken randomly from the supporetd ciphers list.
* @key randomness
* @library /sun/security/krb5/auto /lib /javax/net/ssl/TLSCommon
* @library /sun/security/krb5/auto /test/lib /javax/net/ssl/TLSCommon
* @build jdk.test.lib.RandomFactory
* @run main/othervm -Dtest.security.protocol=TLSv1 TLSRehandshakeWithCipherChangeTest
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @summary Testing TLS engines re-handshaking with cipher change. New cipher
* is taken randomly from the supporetd ciphers list.
* @key randomness
* @library /sun/security/krb5/auto /lib /javax/net/ssl/TLSCommon
* @library /sun/security/krb5/auto /test/lib /javax/net/ssl/TLSCommon
* @build jdk.test.lib.RandomFactory
* @run main/othervm -Dtest.security.protocol=TLSv1.1 TLSRehandshakeWithCipherChangeTest
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/*
* @test
* @library /lib /
* @library /test/lib /
* @run main TestCgroupMetrics
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
* @test
* @requires os.family == "linux"
* @modules java.base/jdk.internal.platform
* @library /lib
* @library /test/lib
* @library /lib/testlibrary
* @run junit/othervm TestCgroupSubsystemController
*/
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/internal/platform/docker/TestDockerBasic.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* @test
* @bug 8293540
* @summary Verify that -XshowSettings:system works
* @library /lib /
* @library /test/lib /
* @run main/timeout=360 TestDockerBasic
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/*
* @test
* @summary Test JDK Metrics class when running inside docker container
* @library /lib /
* @library /test/lib /
* @build MetricsCpuTester
* @run main/timeout=360 TestDockerCpuMetrics
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
/*
* @test
* @summary Test JDK Metrics class when running inside docker container
* @library /lib /
* @library /test/lib /
* @build MetricsMemoryTester
* @run main/timeout=360 TestDockerMemoryMetrics
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @bug 8242480
* @library /lib
* @library /test/lib
* @build GetFreeSwapSpaceSize
* @run driver TestGetFreeSwapSpaceSize
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @summary Test JDK Metrics class when running inside docker container
* @library /lib
* @library /test/lib
* @run main TestSystemMetrics
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @summary UseContainerSupport flag should reflect Metrics being available
* @library /lib
* @library /test/lib
* @build CheckUseContainerSupport
* @run main/timeout=360 TestUseContainerSupport
*/
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/consumer/TestFieldAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* @test
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestFieldAccess
*/
public class TestFieldAccess {
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/consumer/TestGetStackTrace.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* @summary Verifies that a recorded JFR event has the correct stack trace info
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestGetStackTrace
*/
public class TestGetStackTrace {
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/consumer/TestHiddenMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* @key jfr
*
*
* @library /lib /
* @library /test/lib /
*
*
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/consumer/TestMethodGetModifiers.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* @test
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm -Xint jdk.jfr.api.consumer.TestMethodGetModifiers
*/
public final class TestMethodGetModifiers {
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/consumer/TestReadTwice.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* @summary Reads the recorded file two times and verifies that both reads are the same
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestReadTwice
*/
public class TestReadTwice {
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/consumer/TestRecordedClassLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* @summary Verifies the methods of the RecordedClassLoader
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestRecordedClassLoader
*/
public class TestRecordedClassLoader {
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/consumer/TestRecordedEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* @summary Verifies the methods of the RecordedEvent
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestRecordedEvent
*/
public class TestRecordedEvent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* @summary Tests that the RecordedEvent.getThread() returns th expected info
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestRecordedEventGetThread
*/
public class TestRecordedEventGetThread {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* @summary Tests that the RecordedEvent.getThread() returns th expected info
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestRecordedEventGetThreadOther
*/
public class TestRecordedEventGetThreadOther {
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/consumer/TestRecordedFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* @summary Simple test for RecordedFrame APIs
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm -Xint -XX:+UseInterpreter -Dinterpreted=true jdk.jfr.api.consumer.TestRecordedFrame
* @run main/othervm -Xcomp -XX:-UseInterpreter -Dinterpreted=false jdk.jfr.api.consumer.TestRecordedFrame
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
* @test
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestRecordedFullStackTrace
*/
public class TestRecordedFullStackTrace {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* @summary Tests that an instant event gets recorded with its start time equal to its end time
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestRecordedInstantEventTimestamp
*/
public class TestRecordedInstantEventTimestamp {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
* @test
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestRecordedMethodDescriptor
*/
public final class TestRecordedMethodDescriptor {
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/consumer/TestRecordedObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* @summary Verifies the methods of the RecordedObject
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestRecordedObject
*/
public class TestRecordedObject {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* @summary Tests getParent method in RecordedThreadGroup
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestRecordedThreadGroupParent
*/
public class TestRecordedThreadGroupParent {
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/consumer/TestRecordingFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* @summary Verifies that all methods in RecordingFIle are working
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestRecordingFile
*/
public class TestRecordingFile {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* @summary Verifies that RecordingFile.readEvent() throws EOF when past the last record
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestRecordingFileReadEventEof
*/
public class TestRecordingFileReadEventEof {
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/consumer/TestRecordingInternals.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @summary Tests that chunks are read in order and constant pools from multiple chunks can be read
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestRecordingInternals
*/
public class TestRecordingInternals {
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/consumer/TestSingleRecordedEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* @summary Verifies that a single JFR event is recorded as expected
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestSingleRecordedEvent
*/
public class TestSingleRecordedEvent {
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/consumer/TestToString.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* @summary Sanity checks that RecordedEvent#toString returns something valid
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestToString
*/
public class TestToString {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* @summary Verifies that the recorded value descriptors are correct
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.consumer.TestValueDescriptorRecorded
*/
public class TestValueDescriptorRecorded {
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/event/TestAbstractEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* @summary Tests that abstract events are not part of metadata
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.event.TestAbstractEvent
* @run main/othervm -XX:+AllowParallelDefineClass jdk.jfr.api.event.TestAbstractEvent
*/
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/event/TestBeginEnd.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @summary Test for RecordedEvent.getDuration()
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.event.TestBeginEnd
*/
public class TestBeginEnd {
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/event/TestClinitRegistration.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* @summary Test enable/disable event and verify recording has expected events.
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.event.TestClinitRegistration
*/

Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/jfr/api/event/TestClonedEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
* @summary Tests that a cloned event can be successfully committed.
* @key jfr
*
* @library /lib /
* @library /test/lib /
* @run main/othervm jdk.jfr.api.event.TestClonedEvent
*/

Expand Down
Loading