8356904: Skip jdk/test/lib/process/TestNativeProcessBuilder on static-jdk
Reviewed-by: henryjen, rriggs
This commit is contained in:
parent
2dfbf41d2a
commit
400c935082
@ -31,6 +31,23 @@ keys=randomness
|
|||||||
# Minimum jtreg version
|
# Minimum jtreg version
|
||||||
requiredVersion=7.5.1+1
|
requiredVersion=7.5.1+1
|
||||||
|
|
||||||
|
# Allow querying of various System properties in @requires clauses
|
||||||
|
requires.extraPropDefns = ../jtreg-ext/requires/VMProps.java
|
||||||
|
requires.extraPropDefns.bootlibs = ../lib/jdk/test/whitebox
|
||||||
|
requires.extraPropDefns.libs = \
|
||||||
|
../lib/jdk/test/lib/Platform.java \
|
||||||
|
../lib/jdk/test/lib/Container.java
|
||||||
|
requires.extraPropDefns.javacOpts = \
|
||||||
|
--add-exports java.base/jdk.internal.foreign=ALL-UNNAMED \
|
||||||
|
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
|
||||||
|
requires.extraPropDefns.vmOpts = \
|
||||||
|
-XX:+UnlockDiagnosticVMOptions \
|
||||||
|
-XX:+WhiteBoxAPI \
|
||||||
|
--add-exports java.base/jdk.internal.foreign=ALL-UNNAMED \
|
||||||
|
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
|
||||||
|
requires.properties= \
|
||||||
|
jdk.static
|
||||||
|
|
||||||
# Path to libraries in the topmost test directory. This is needed so @library
|
# Path to libraries in the topmost test directory. This is needed so @library
|
||||||
# does not need ../../ notation to reach them
|
# does not need ../../ notation to reach them
|
||||||
external.lib.roots = ../../
|
external.lib.roots = ../../
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @summary Test the native process builder API.
|
* @summary Test the native process builder API.
|
||||||
* @library /test/lib
|
* @library /test/lib
|
||||||
|
* @requires !jdk.static
|
||||||
* @run main/native TestNativeProcessBuilder
|
* @run main/native TestNativeProcessBuilder
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user