Regenerate ART test files.
Disable new run-test `821-many-args` as it is currently failing when
run with the `ArtRunTest` TradeFed test runner.
Output of `art/test/utils/regen-test-files -m`:
$ art/test/utils/regen-test-files
Generated Blueprint files for 622 ART run-tests out of 924 (67%).
Generated TEST_MAPPING entries for 376 ART run-tests out of 924 (40%):
94 tests (25%) in `mainline-presubmit` test group.
376 tests (100%) in `presubmit` test group.
0 tests (0%) in `postsubmit` test group.
Test: atest --test-mapping art:presubmit
Change-Id: I03d13ca5ce1c26b31bf2c47a34f5c3826702728b
diff --git a/TEST_MAPPING b/TEST_MAPPING
index b33f147..91b8c8d 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -279,6 +279,9 @@
},
{
"name": "art-run-test-140-dce-regression[com.google.android.art.apex]"
+ },
+ {
+ "name": "art-run-test-140-field-packing[com.google.android.art.apex]"
}
],
"presubmit": [
diff --git a/test/821-many-args/Android.bp b/test/821-many-args/Android.bp
new file mode 100644
index 0000000..75f9798
--- /dev/null
+++ b/test/821-many-args/Android.bp
@@ -0,0 +1,40 @@
+// Generated by `regen-test-files`. Do not edit manually.
+
+// Build rules for ART run-test `821-many-args`.
+
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "art_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["art_license"],
+}
+
+// Test's Dex code.
+java_test {
+ name: "art-run-test-821-many-args",
+ defaults: ["art-run-test-defaults"],
+ test_config_template: ":art-run-test-target-no-test-suite-tag-template",
+ srcs: ["src/**/*.java"],
+ data: [
+ ":art-run-test-821-many-args-expected-stdout",
+ ":art-run-test-821-many-args-expected-stderr",
+ ],
+}
+
+// Test's expected standard output.
+genrule {
+ name: "art-run-test-821-many-args-expected-stdout",
+ out: ["art-run-test-821-many-args-expected-stdout.txt"],
+ srcs: ["expected-stdout.txt"],
+ cmd: "cp -f $(in) $(out)",
+}
+
+// Test's expected standard error.
+genrule {
+ name: "art-run-test-821-many-args-expected-stderr",
+ out: ["art-run-test-821-many-args-expected-stderr.txt"],
+ srcs: ["expected-stderr.txt"],
+ cmd: "cp -f $(in) $(out)",
+}
diff --git a/test/utils/regen-test-files b/test/utils/regen-test-files
index 8b8565f..a3db507 100755
--- a/test/utils/regen-test-files
+++ b/test/utils/regen-test-files
@@ -256,8 +256,16 @@
"708-jit-cache-churn",
"717-integer-value-of",
"720-thread-priority",
- "728-imt-conflict-zygote", # Custom `run` script + dependency on `libarttest`.
- "813-fp-args", # Dependency on `libarttest`.
+ # 728-imt-conflict-zygote: Custom `run` script + dependency on `libarttest`.
+ "728-imt-conflict-zygote",
+ # 813-fp-args: Dependency on `libarttest`.
+ "813-fp-args",
+ # 821-many-args: Fails with:
+ #
+ # Test command execution failed with status FAILED: CommandResult: exit code=1, out=, err=Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
+ # at Main.main(Main.java:20)
+ #
+ "821-many-args",
"900-hello-plugin",
"901-hello-ti-agent",
"902-hello-transformation",