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

The unit tests in this directory depend on a native launcher library
(libInheritedChannel.so). This library is built by executing

$ make test-image-jdk-jtreg-native

in the root directory of the OpenJDK clone. It will generate
libInheritedChannel.so in two locations:

$ $JDK_ROOT/build/$PLATFORM/support/test/jdk/jtreg/native/lib/libInheritedChannel.so
$ $JDK_ROOT/build/$PLATFORM/images/test/jdk/jtreg/native/libInheritedChannel.so

The test may then be run using jtreg for example as follows:

$ jtreg -s -w:/tmp -r:/tmp -va -dir:$JDK_ROOT/test/jdk \
-nativepath:$JDK_ROOT/build/$PLATFORM/support/test/jdk/jtreg/native/lib \
java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java