From c8b3adcd047bd20f73e2fae2d1e544c33e5b33ac Mon Sep 17 00:00:00 2001 From: Victor Chang Date: Tue, 21 Nov 2023 16:08:01 +0000 Subject: 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 --- tools/run-libcore-tests.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/run-libcore-tests.py') 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(): -- cgit v1.2.3-59-g8ed1b