summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TEST_MAPPING18
-rw-r--r--test/2242-checker-lse-acquire-release-operations/Android.bp43
-rw-r--r--test/2243-checker-not-inline-into-throw/Android.bp43
-rw-r--r--test/844-exception/Android.bp40
-rw-r--r--test/844-exception2/Android.bp40
-rwxr-xr-xtest/utils/regen-test-files4
6 files changed, 188 insertions, 0 deletions
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 789e8094eb..f75fb5da0b 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -425,6 +425,12 @@
"name": "art-run-test-2241-checker-inline-try-catch[com.google.android.art.apex]"
},
{
+ "name": "art-run-test-2242-checker-lse-acquire-release-operations[com.google.android.art.apex]"
+ },
+ {
+ "name": "art-run-test-2243-checker-not-inline-into-throw[com.google.android.art.apex]"
+ },
+ {
"name": "art-run-test-300-package-override[com.google.android.art.apex]"
},
{
@@ -1756,6 +1762,12 @@
"name": "art-run-test-2241-checker-inline-try-catch"
},
{
+ "name": "art-run-test-2242-checker-lse-acquire-release-operations"
+ },
+ {
+ "name": "art-run-test-2243-checker-not-inline-into-throw"
+ },
+ {
"name": "art-run-test-300-package-override"
},
{
@@ -3081,6 +3093,12 @@
"name": "art-run-test-2241-checker-inline-try-catch"
},
{
+ "name": "art-run-test-2242-checker-lse-acquire-release-operations"
+ },
+ {
+ "name": "art-run-test-2243-checker-not-inline-into-throw"
+ },
+ {
"name": "art-run-test-300-package-override"
},
{
diff --git a/test/2242-checker-lse-acquire-release-operations/Android.bp b/test/2242-checker-lse-acquire-release-operations/Android.bp
new file mode 100644
index 0000000000..bb493ce284
--- /dev/null
+++ b/test/2242-checker-lse-acquire-release-operations/Android.bp
@@ -0,0 +1,43 @@
+// Generated by `regen-test-files`. Do not edit manually.
+
+// Build rules for ART run-test `2242-checker-lse-acquire-release-operations`.
+
+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-2242-checker-lse-acquire-release-operations",
+ defaults: ["art-run-test-defaults"],
+ test_config_template: ":art-run-test-target-template",
+ srcs: ["src/**/*.java"],
+ data: [
+ ":art-run-test-2242-checker-lse-acquire-release-operations-expected-stdout",
+ ":art-run-test-2242-checker-lse-acquire-release-operations-expected-stderr",
+ ],
+ // Include the Java source files in the test's artifacts, to make Checker assertions
+ // available to the TradeFed test runner.
+ include_srcs: true,
+}
+
+// Test's expected standard output.
+genrule {
+ name: "art-run-test-2242-checker-lse-acquire-release-operations-expected-stdout",
+ out: ["art-run-test-2242-checker-lse-acquire-release-operations-expected-stdout.txt"],
+ srcs: ["expected-stdout.txt"],
+ cmd: "cp -f $(in) $(out)",
+}
+
+// Test's expected standard error.
+genrule {
+ name: "art-run-test-2242-checker-lse-acquire-release-operations-expected-stderr",
+ out: ["art-run-test-2242-checker-lse-acquire-release-operations-expected-stderr.txt"],
+ srcs: ["expected-stderr.txt"],
+ cmd: "cp -f $(in) $(out)",
+}
diff --git a/test/2243-checker-not-inline-into-throw/Android.bp b/test/2243-checker-not-inline-into-throw/Android.bp
new file mode 100644
index 0000000000..78c5c66336
--- /dev/null
+++ b/test/2243-checker-not-inline-into-throw/Android.bp
@@ -0,0 +1,43 @@
+// Generated by `regen-test-files`. Do not edit manually.
+
+// Build rules for ART run-test `2243-checker-not-inline-into-throw`.
+
+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-2243-checker-not-inline-into-throw",
+ defaults: ["art-run-test-defaults"],
+ test_config_template: ":art-run-test-target-template",
+ srcs: ["src/**/*.java"],
+ data: [
+ ":art-run-test-2243-checker-not-inline-into-throw-expected-stdout",
+ ":art-run-test-2243-checker-not-inline-into-throw-expected-stderr",
+ ],
+ // Include the Java source files in the test's artifacts, to make Checker assertions
+ // available to the TradeFed test runner.
+ include_srcs: true,
+}
+
+// Test's expected standard output.
+genrule {
+ name: "art-run-test-2243-checker-not-inline-into-throw-expected-stdout",
+ out: ["art-run-test-2243-checker-not-inline-into-throw-expected-stdout.txt"],
+ srcs: ["expected-stdout.txt"],
+ cmd: "cp -f $(in) $(out)",
+}
+
+// Test's expected standard error.
+genrule {
+ name: "art-run-test-2243-checker-not-inline-into-throw-expected-stderr",
+ out: ["art-run-test-2243-checker-not-inline-into-throw-expected-stderr.txt"],
+ srcs: ["expected-stderr.txt"],
+ cmd: "cp -f $(in) $(out)",
+}
diff --git a/test/844-exception/Android.bp b/test/844-exception/Android.bp
new file mode 100644
index 0000000000..92ecef4fbc
--- /dev/null
+++ b/test/844-exception/Android.bp
@@ -0,0 +1,40 @@
+// Generated by `regen-test-files`. Do not edit manually.
+
+// Build rules for ART run-test `844-exception`.
+
+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-844-exception",
+ defaults: ["art-run-test-defaults"],
+ test_config_template: ":art-run-test-target-no-test-suite-tag-template",
+ srcs: ["src/**/*.java"],
+ data: [
+ ":art-run-test-844-exception-expected-stdout",
+ ":art-run-test-844-exception-expected-stderr",
+ ],
+}
+
+// Test's expected standard output.
+genrule {
+ name: "art-run-test-844-exception-expected-stdout",
+ out: ["art-run-test-844-exception-expected-stdout.txt"],
+ srcs: ["expected-stdout.txt"],
+ cmd: "cp -f $(in) $(out)",
+}
+
+// Test's expected standard error.
+genrule {
+ name: "art-run-test-844-exception-expected-stderr",
+ out: ["art-run-test-844-exception-expected-stderr.txt"],
+ srcs: ["expected-stderr.txt"],
+ cmd: "cp -f $(in) $(out)",
+}
diff --git a/test/844-exception2/Android.bp b/test/844-exception2/Android.bp
new file mode 100644
index 0000000000..50568b1927
--- /dev/null
+++ b/test/844-exception2/Android.bp
@@ -0,0 +1,40 @@
+// Generated by `regen-test-files`. Do not edit manually.
+
+// Build rules for ART run-test `844-exception2`.
+
+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-844-exception2",
+ defaults: ["art-run-test-defaults"],
+ test_config_template: ":art-run-test-target-no-test-suite-tag-template",
+ srcs: ["src/**/*.java"],
+ data: [
+ ":art-run-test-844-exception2-expected-stdout",
+ ":art-run-test-844-exception2-expected-stderr",
+ ],
+}
+
+// Test's expected standard output.
+genrule {
+ name: "art-run-test-844-exception2-expected-stdout",
+ out: ["art-run-test-844-exception2-expected-stdout.txt"],
+ srcs: ["expected-stdout.txt"],
+ cmd: "cp -f $(in) $(out)",
+}
+
+// Test's expected standard error.
+genrule {
+ name: "art-run-test-844-exception2-expected-stderr",
+ out: ["art-run-test-844-exception2-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 db6ba3d489..6c648fc395 100755
--- a/test/utils/regen-test-files
+++ b/test/utils/regen-test-files
@@ -204,6 +204,10 @@ known_failing_tests = frozenset([
"832-cha-recursive",
# 837-deopt: Dependency on `libarttest`.
"837-deopt",
+ # 844-exception: Dependency on `libarttest`.
+ "844-exception",
+ # 844-exception2: Dependency on `libarttest`.
+ "844-exception2",
# 993-breakpoints-non-debuggable: This test needs native code.
"993-breakpoints-non-debuggable",
])