test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/README
author bpb
Mon, 05 Mar 2018 08:27:42 -0800
changeset 49128 97288886180c
parent 47216 71c04702a3d5
permissions -rw-r--r--
8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64 Summary: Move to using centralized native build and remove obsolete .so files Reviewed-by: alanb, erikj
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
The unit tests in this directory depend on a native launcher library
49128
97288886180c 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
bpb
parents: 47216
diff changeset
     2
(libInheritedChannel.so). This library is built by executing
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
49128
97288886180c 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
bpb
parents: 47216
diff changeset
     4
$ make test-image-jdk-jtreg-native
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
49128
97288886180c 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
bpb
parents: 47216
diff changeset
     6
in the root directory of the OpenJDK clone. It will generate
97288886180c 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
bpb
parents: 47216
diff changeset
     7
libInheritedChannel.so in two locations:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
49128
97288886180c 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
bpb
parents: 47216
diff changeset
     9
$ $JDK_ROOT/build/$PLATFORM/support/test/jdk/jtreg/native/lib/libInheritedChannel.so
97288886180c 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
bpb
parents: 47216
diff changeset
    10
$ $JDK_ROOT/build/$PLATFORM/images/test/jdk/jtreg/native/libInheritedChannel.so
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
49128
97288886180c 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
bpb
parents: 47216
diff changeset
    12
The test may then be run using jtreg for example as follows:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
49128
97288886180c 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
bpb
parents: 47216
diff changeset
    14
$ jtreg -s -w:/tmp -r:/tmp -va -dir:$JDK_ROOT/test/jdk \
97288886180c 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
bpb
parents: 47216
diff changeset
    15
-nativepath:$JDK_ROOT/build/$PLATFORM/support/test/jdk/jtreg/native/lib \
97288886180c 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
bpb
parents: 47216
diff changeset
    16
java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java