diff options
author | 2023-11-22 16:04:43 +0000 | |
---|---|---|
committer | 2023-11-27 09:16:37 +0000 | |
commit | 546179cb5b47ed851c7de5d9790e0580feb24e34 (patch) | |
tree | 0d1e695995953e5e77aad17525dbc751e6ed24c6 | |
parent | d968aaeefdb162f5911a6d27e0a4f8656e5d39c4 (diff) |
run-libcore-tests.py should not skip @NonMts test in the full manifest
Bug: 288623638
Test: only tested run-libcore-tests.sh with full manifest
Change-Id: Ide46816b467eeb8c6a4c12cb1448b7474ff7b3b4
-rwxr-xr-x | tools/run-libcore-tests.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/run-libcore-tests.py b/tools/run-libcore-tests.py index 5bc42d5246..72db66c634 100755 --- a/tools/run-libcore-tests.py +++ b/tools/run-libcore-tests.py @@ -460,8 +460,13 @@ def get_vogar_command(test_name): 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") + # vogar target options + if not os.path.exists('frameworks/base'): + cmd.append("--") + # Skip @NonMts test in thin manifest which uses prebuilt Conscrypt and ICU. + # It's similar to running libcore tests on the older platforms. + # @NonMts means that the test doesn't pass on a older platform version. + cmd.append("--exclude-filter libcore.test.annotation.NonMts") return cmd def get_target_cpu_count(): |