/*
* @test id=default
* @summary Conformance testing variant of JSR-166 tck tests.
+ * @library /test/lib
* @build *
+ * @build jdk.test.lib.Platform
* @modules java.management java.base/jdk.internal.util
* @run junit/othervm/timeout=1000 JSR166TestCase
*/
* @test id=forkjoinpool-common-parallelism
* @summary Test implementation details variant of JSR-166
* tck tests with ForkJoinPool common parallelism.
+ * @library /test/lib
* @build *
+ * @build jdk.test.lib.Platform
* @modules java.management java.base/jdk.internal.util
* @run junit/othervm/timeout=1000
* --add-opens java.base/java.util.concurrent=ALL-UNNAMED
* @summary Remaining test implementation details variant of
* JSR-166 tck tests apart from ForkJoinPool common
* parallelism.
+ * @library /test/lib
* @build *
+ * @build jdk.test.lib.Platform
* @modules java.management java.base/jdk.internal.util
* @run junit/othervm/timeout=1000
* --add-opens java.base/java.util.concurrent=ALL-UNNAMED
import java.util.concurrent.atomic.AtomicReference;
import java.util.regex.Pattern;
+import jdk.test.lib.Platform;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestResult;
"SynchronousQueue20Test",
"ReentrantReadWriteLock20Test"
};
+
+ if (Platform.isS390x()) {
+ java20TestClassNames = new String[] {
+ "ForkJoinPool20Test",
+ };
+ }
+
addNamedTestClasses(suite, java20TestClassNames);
}