-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b126
-
generic
-
generic
When using jib to run jtreg tests:
cd /w/jdk9/dev/test
bash \
/w/jdk9/dev/common/bin/jib.sh \
make \
--data-dir /var/tmp/jib-tbell \
--profile solaris-x64 -- \
JT_JAVA=/w/java/jdk1.8.0 \
TEST_OUTPUT_DIR=/w/jdk9/dev/build/solaris-x64/testoutput \
PRODUCT_HOME=/w/jdk9/dev/build/solaris-x64/jdk \
TEST_IMAGE_DIR=/w/jdk9/dev/build/solaris-x64/testBundle \
TESTDIRS=../nashorn/test \
TEST_SELECTION=:tier2 \
EXTRA_JTREG_OPTIONS='-k:!headful -xml:verify' \
CONCURRENCY=8 \
JTREG_TIMEOUT_OPTION=-timeoutFactor:5 \
jtreg_tests
TEST_IMAGE_DIR is set by jib.
For those subtrees that do not have any native tests (such as nashorn), TEST_IMAGE_DIR should not be considered:
Error: The -nativepath path does not exist: /w/jdk9/dev/build/solaris-
x64/testBundle/nashorn/jtreg/native
cd /w/jdk9/dev/test
bash \
/w/jdk9/dev/common/bin/jib.sh \
make \
--data-dir /var/tmp/jib-tbell \
--profile solaris-x64 -- \
JT_JAVA=/w/java/jdk1.8.0 \
TEST_OUTPUT_DIR=/w/jdk9/dev/build/solaris-x64/testoutput \
PRODUCT_HOME=/w/jdk9/dev/build/solaris-x64/jdk \
TEST_IMAGE_DIR=/w/jdk9/dev/build/solaris-x64/testBundle \
TESTDIRS=../nashorn/test \
TEST_SELECTION=:tier2 \
EXTRA_JTREG_OPTIONS='-k:!headful -xml:verify' \
CONCURRENCY=8 \
JTREG_TIMEOUT_OPTION=-timeoutFactor:5 \
jtreg_tests
TEST_IMAGE_DIR is set by jib.
For those subtrees that do not have any native tests (such as nashorn), TEST_IMAGE_DIR should not be considered:
Error: The -nativepath path does not exist: /w/jdk9/dev/build/solaris-
x64/testBundle/nashorn/jtreg/native
- relates to
-
JDK-8156658 Common way to run jtreg tests
-
- Resolved
-