summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Victor Chang <vichang@google.com> 2023-11-21 16:08:01 +0000
committer Victor Chang <vichang@google.com> 2023-11-22 09:40:52 +0000
commitc8b3adcd047bd20f73e2fae2d1e544c33e5b33ac (patch)
tree154561782387314783a98b9e60383ad8fb54764f
parent4d7be74d0c7f0c19e2e39c7c986af020e7e2af00 (diff)
Exclude @NonMts tests from run-libcore-tests.sh runs
Bug: 288623638 Test: art/tools/run-libcore-tests.sh --mode host libcore.java.util.OldTimeZoneTest passes for a failing @NonMts test Change-Id: I538444b3221fa141fff91f50000d61ec550280c2
-rwxr-xr-xtools/run-libcore-tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/run-libcore-tests.py b/tools/run-libcore-tests.py
index e5ece24d8a..5bc42d5246 100755
--- a/tools/run-libcore-tests.py
+++ b/tools/run-libcore-tests.py
@@ -459,6 +459,9 @@ def get_vogar_command(test_name):
cmd.extend("--expectations " + f for f in get_expected_failures())
cmd.extend("--classpath " + get_jar_filename(cp) for cp in CLASSPATH)
cmd.append(test_name)
+
+ cmd.append("--")
+ cmd.append("--exclude-filter libcore.test.annotation.NonMts")
return cmd
def get_target_cpu_count():