equal
deleted
inserted
replaced
21 # questions. |
21 # questions. |
22 # |
22 # |
23 |
23 |
24 # |
24 # |
25 |
25 |
26 ${COMPILEJAVA}/bin/javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} -cp ${TESTSRC} -d . \ |
26 EXTRAOPTS="-XaddExports:java.base/jdk.internal.math=ALL-UNNAMED" |
|
27 ${COMPILEJAVA}/bin/javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} ${EXTRAOPTS} -cp ${TESTSRC} -d . \ |
27 ${TESTSRC}/Basic.java |
28 ${TESTSRC}/Basic.java |
28 |
29 |
29 expectPass() { |
30 expectPass() { |
30 if [ $1 -eq 0 ] |
31 if [ $1 -eq 0 ] |
31 then echo "--- passed as expected" |
32 then echo "--- passed as expected" |
37 |
38 |
38 runTest() { |
39 runTest() { |
39 echo "Testing:" ${1} |
40 echo "Testing:" ${1} |
40 TZ="${1}"; export TZ |
41 TZ="${1}"; export TZ |
41 echo " " $TZ |
42 echo " " $TZ |
42 ${TESTJAVA}/bin/java ${TESTVMOPTS} Basic |
43 ${TESTJAVA}/bin/java ${TESTVMOPTS} ${EXTRAOPTS} Basic |
43 expectPass $? |
44 expectPass $? |
44 } |
45 } |
45 |
46 |
46 runTest US/Pacific |
47 runTest US/Pacific |
47 runTest Asia/Novosibirsk |
48 runTest Asia/Novosibirsk |