Brian Burkhalter a131e1668f 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
Move to using centralized native build and remove obsolete .so files

Reviewed-by: alanb, erikj
2018-03-05 08:27:42 -08:00
..

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