Shard slow TestNg tests for art buildbot
This CL splits tests from the list below into smaller test targets to
make art buildbot run tests faster:
* test.java.math.BigInteger
* test.java.security.KeyAgreement
* test.java.lang.StrictMath
Bug: 229830804
Test: art/tools/run-libcore-tests.sh --mode=host
Test: art/tools/run-libcore-tests.sh --mode=device
Change-Id: I87ac94583676a3b540a25710c5f22b58230e2e5c
diff --git a/tools/run-libcore-tests.py b/tools/run-libcore-tests.py
index 1675716..1e6070a 100755
--- a/tools/run-libcore-tests.py
+++ b/tools/run-libcore-tests.py
@@ -120,7 +120,21 @@
"test.java.lang.Float",
"test.java.lang.Integer",
"test.java.lang.Long",
- "test.java.lang.StrictMath",
+ # Sharded test.java.lang.StrictMath
+ "test.java.lang.StrictMath.CubeRootTests",
+ "test.java.lang.StrictMath.ExactArithTests",
+ "test.java.lang.StrictMath.Expm1Tests",
+ "test.java.lang.StrictMath.ExpTests",
+ "test.java.lang.StrictMath.HyperbolicTests",
+ "test.java.lang.StrictMath.HypotTests#testAgainstTranslit_shard1",
+ "test.java.lang.StrictMath.HypotTests#testAgainstTranslit_shard2",
+ "test.java.lang.StrictMath.HypotTests#testAgainstTranslit_shard3",
+ "test.java.lang.StrictMath.HypotTests#testAgainstTranslit_shard4",
+ "test.java.lang.StrictMath.HypotTests#testHypot",
+ "test.java.lang.StrictMath.Log1pTests",
+ "test.java.lang.StrictMath.Log10Tests",
+ "test.java.lang.StrictMath.MultiplicationTests",
+ "test.java.lang.StrictMath.PowTests",
"test.java.lang.String",
"test.java.lang.Thread",
# test.java.lang.invoke
@@ -134,7 +148,32 @@
"test.java.lang.ref.ReferenceEnqueuePendingTest",
# test.java.math
"test.java.math.BigDecimal",
- "test.java.math.BigInteger",
+ # Sharded test.java.math.BigInteger
+ "test.java.math.BigInteger#testArithmetic",
+ "test.java.math.BigInteger#testBitCount",
+ "test.java.math.BigInteger#testBitLength",
+ "test.java.math.BigInteger#testbitOps",
+ "test.java.math.BigInteger#testBitwise",
+ "test.java.math.BigInteger#testByteArrayConv",
+ "test.java.math.BigInteger#testConstructor",
+ "test.java.math.BigInteger#testDivideAndReminder",
+ "test.java.math.BigInteger#testDivideLarge",
+ "test.java.math.BigInteger#testModExp",
+ "test.java.math.BigInteger#testModInv",
+ "test.java.math.BigInteger#testMultiplyLarge",
+ "test.java.math.BigInteger#testNextProbablePrime",
+ "test.java.math.BigInteger#testPow",
+ "test.java.math.BigInteger#testPrime",
+ "test.java.math.BigInteger#testSerialize",
+ "test.java.math.BigInteger#testShift",
+ "test.java.math.BigInteger#testSquare",
+ "test.java.math.BigInteger#testSquareLarge",
+ "test.java.math.BigInteger#testSquareRoot",
+ "test.java.math.BigInteger#testSquareRootAndReminder",
+ "test.java.math.BigInteger#testStringConv_generic",
+ "test.java.math.BigInteger#testStringConv_schoenhage_threshold_pow0",
+ "test.java.math.BigInteger#testStringConv_schoenhage_threshold_pow1",
+ "test.java.math.BigInteger#testStringConv_schoenhage_threshold_pow2",
"test.java.math.RoundingMode",
# test.java.net
"test.java.net.DatagramSocket",
@@ -149,7 +188,13 @@
"test.java.nio.file",
# test.java.security
"test.java.security.cert",
- "test.java.security.KeyAgreement",
+ # Sharded test.java.security.KeyAgreement
+ "test.java.security.KeyAgreement.KeyAgreementTest",
+ "test.java.security.KeyAgreement.KeySizeTest#testDHKeySize",
+ "test.java.security.KeyAgreement.KeySizeTest#testECDHKeySize",
+ "test.java.security.KeyAgreement.KeySpecTest",
+ "test.java.security.KeyAgreement.MultiThreadTest",
+ "test.java.security.KeyAgreement.NegativeTest",
"test.java.security.KeyStore",
"test.java.security.Provider",
# test.java.time