diff options
author | 2022-04-20 15:39:23 +0100 | |
---|---|---|
committer | 2022-04-21 10:04:58 +0000 | |
commit | 86f1b3f30fa72c3f3e712c930c4444c51054b615 (patch) | |
tree | 085c7ac2935c95f67b5ae3a21305d3f1ca0e2160 /tools/run-libcore-tests.py | |
parent | b6e0e02a859866446b3022d543cbe1d95391fcb0 (diff) |
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
Diffstat (limited to 'tools/run-libcore-tests.py')
-rwxr-xr-x | tools/run-libcore-tests.py | 51 |
1 files changed, 48 insertions, 3 deletions
diff --git a/tools/run-libcore-tests.py b/tools/run-libcore-tests.py index 16757167a0..1e6070a51e 100755 --- a/tools/run-libcore-tests.py +++ b/tools/run-libcore-tests.py @@ -120,7 +120,21 @@ LIBCORE_TEST_NAMES = [ "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 @@ LIBCORE_TEST_NAMES = [ "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 @@ LIBCORE_TEST_NAMES = [ "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 |