diff options
author | Orion Hodson <oth@google.com> | 2021-04-12 12:11:57 +0100 |
---|---|---|
committer | Orion Hodson <oth@google.com> | 2021-04-12 13:42:55 +0000 |
commit | a57e103e99c23ad2a7c20454b8fbca5075906dc6 (patch) | |
tree | b2badcda0543f55d5fa3c7f8c5eb1ba00d1192a9 /tools | |
parent | 56f4c8143d1656fcf5acb092ac4aaa5f20a04d93 (diff) |
tools: ignore BigIntegerTest failures for debug device tests
Tests are timing out.
Test: art/tools/run-libcore-tests.sh --mode=device --debug -- libcore.java.math.BigIntegerTest
Bug: 181968447
Change-Id: I10d45f0266c64f0f41333a9021fd2eb94a7f2c07
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libcore_debug_failures.txt | 17 | ||||
-rwxr-xr-x | tools/run-libcore-tests.sh | 4 |
2 files changed, 21 insertions, 0 deletions
diff --git a/tools/libcore_debug_failures.txt b/tools/libcore_debug_failures.txt new file mode 100644 index 0000000000..54d5f4fdcc --- /dev/null +++ b/tools/libcore_debug_failures.txt @@ -0,0 +1,17 @@ +/* + * This file contains expectations for ART's buildbot when running in debug mode + * (without gcstress). + * + * The script that uses this file is art/tools/run-libcore-tests.sh. + */ + +[ +{ + description: "Timeouts with device for debug builds.", + result: EXEC_FAILED, + bug: 181968447, + modes: [device], + names: ["libcore.java.math.BigIntegerTest#test_Constructor_IILjava_util_Random", + "libcore.java.math.BigIntegerTest#test_probablePrime"] +} +] diff --git a/tools/run-libcore-tests.sh b/tools/run-libcore-tests.sh index 26ba9eed1a..0be5b56a76 100755 --- a/tools/run-libcore-tests.sh +++ b/tools/run-libcore-tests.sh @@ -313,6 +313,10 @@ if [ $execution_mode = "device" -o $execution_mode = "host" ]; then # of -XX:AlwayLogExplicitGcs:false. vogar_args="$vogar_args --vm-arg -XX:LongPauseLogThreshold=15" # 15 ms (default: 5ms) else + if $debug; then + expectations="$expectations --expectations art/tools/libcore_debug_failures.txt" + fi + # We only run this package when user has not specified packages # to run and not under gcstress / debug as it can cause timeouts. See # b/78228743 and b/178351808. |