Skip to content

Commit

Permalink
Regenerate ART test files (2021-10-29).
Browse files Browse the repository at this point in the history
Output of `art/test/utils/regen-test-files`:

  $ art/test/utils/regen-test-files
  Generated Blueprint files for 633 ART run-tests out of 945 (66%).
  Generated TEST_MAPPING entries for 378 ART run-tests out of 945 (40%):
    378 ART run-tests (100%) in `mainline-presubmit` test group.
     19 ART gtests (100%) in `mainline-presubmit` test group.
    378 ART run-tests (100%) in `presubmit` test group.
     19 ART gtests (100%) in `presubmit` test group.
      0 ART run-tests (0%) in `postsubmit` test group.

Test: atest art-run-test-2234-checker-remove-entry-suspendcheck
Test: atest art-run-test-2236-JdkUnsafeGetLong-regression
Test: atest art-run-test-581-checker-rtp
Test: atest art-run-test-828-partial-lse
Test: atest --test-mapping art:presubmit
Change-Id: I38ecc73d772fbce9e885d881a64c9b27711f1311
  • Loading branch information
roland-levillain committed Nov 1, 2021
1 parent 227b613 commit 667584d
Show file tree
Hide file tree
Showing 6 changed files with 194 additions and 10 deletions.
22 changes: 20 additions & 2 deletions TEST_MAPPING
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,12 @@
{
"name": "art-run-test-2232-write-metrics-to-log[com.google.android.art.apex]"
},
{
"name": "art-run-test-2234-checker-remove-entry-suspendcheck[com.google.android.art.apex]"
},
{
"name": "art-run-test-2236-JdkUnsafeGetLong-regression[com.google.android.art.apex]"
},
{
"name": "art-run-test-300-package-override[com.google.android.art.apex]"
},
Expand Down Expand Up @@ -869,7 +875,7 @@
"name": "art-run-test-580-crc32[com.google.android.art.apex]"
},
{
"name": "art-run-test-581-rtp[com.google.android.art.apex]"
"name": "art-run-test-581-checker-rtp[com.google.android.art.apex]"
},
{
"name": "art-run-test-582-checker-bce-length[com.google.android.art.apex]"
Expand Down Expand Up @@ -1126,6 +1132,9 @@
{
"name": "art-run-test-821-madvise-willneed[com.google.android.art.apex]"
},
{
"name": "art-run-test-828-partial-lse[com.google.android.art.apex]"
},
{
"name": "art-run-test-963-default-range-smali[com.google.android.art.apex]"
},
Expand Down Expand Up @@ -1578,6 +1587,12 @@
{
"name": "art-run-test-2232-write-metrics-to-log"
},
{
"name": "art-run-test-2234-checker-remove-entry-suspendcheck"
},
{
"name": "art-run-test-2236-JdkUnsafeGetLong-regression"
},
{
"name": "art-run-test-300-package-override"
},
Expand Down Expand Up @@ -2065,7 +2080,7 @@
"name": "art-run-test-580-crc32"
},
{
"name": "art-run-test-581-rtp"
"name": "art-run-test-581-checker-rtp"
},
{
"name": "art-run-test-582-checker-bce-length"
Expand Down Expand Up @@ -2322,6 +2337,9 @@
{
"name": "art-run-test-821-madvise-willneed"
},
{
"name": "art-run-test-828-partial-lse"
},
{
"name": "art-run-test-963-default-range-smali"
},
Expand Down
43 changes: 43 additions & 0 deletions test/2234-checker-remove-entry-suspendcheck/Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// Generated by `regen-test-files`. Do not edit manually.

// Build rules for ART run-test `2234-checker-remove-entry-suspendcheck`.

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-2234-checker-remove-entry-suspendcheck",
defaults: ["art-run-test-defaults"],
test_config_template: ":art-run-test-target-template",
srcs: ["src/**/*.java"],
data: [
":art-run-test-2234-checker-remove-entry-suspendcheck-expected-stdout",
":art-run-test-2234-checker-remove-entry-suspendcheck-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-2234-checker-remove-entry-suspendcheck-expected-stdout",
out: ["art-run-test-2234-checker-remove-entry-suspendcheck-expected-stdout.txt"],
srcs: ["expected-stdout.txt"],
cmd: "cp -f $(in) $(out)",
}

// Test's expected standard error.
genrule {
name: "art-run-test-2234-checker-remove-entry-suspendcheck-expected-stderr",
out: ["art-run-test-2234-checker-remove-entry-suspendcheck-expected-stderr.txt"],
srcs: ["expected-stderr.txt"],
cmd: "cp -f $(in) $(out)",
}
19 changes: 11 additions & 8 deletions test/581-checker-rtp/Android.bp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Generated by `regen-test-files`. Do not edit manually.

// Build rules for ART run-test `581-rtp`.
// Build rules for ART run-test `581-checker-rtp`.

package {
// See: http://go/android-license-faq
Expand All @@ -13,28 +13,31 @@ package {

// Test's Dex code.
java_test {
name: "art-run-test-581-rtp",
name: "art-run-test-581-checker-rtp",
defaults: ["art-run-test-defaults"],
test_config_template: ":art-run-test-target-template",
srcs: ["src/**/*.java"],
data: [
":art-run-test-581-rtp-expected-stdout",
":art-run-test-581-rtp-expected-stderr",
":art-run-test-581-checker-rtp-expected-stdout",
":art-run-test-581-checker-rtp-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-581-rtp-expected-stdout",
out: ["art-run-test-581-rtp-expected-stdout.txt"],
name: "art-run-test-581-checker-rtp-expected-stdout",
out: ["art-run-test-581-checker-rtp-expected-stdout.txt"],
srcs: ["expected-stdout.txt"],
cmd: "cp -f $(in) $(out)",
}

// Test's expected standard error.
genrule {
name: "art-run-test-581-rtp-expected-stderr",
out: ["art-run-test-581-rtp-expected-stderr.txt"],
name: "art-run-test-581-checker-rtp-expected-stderr",
out: ["art-run-test-581-checker-rtp-expected-stderr.txt"],
srcs: ["expected-stderr.txt"],
cmd: "cp -f $(in) $(out)",
}
40 changes: 40 additions & 0 deletions test/674-HelloWorld-Dm/Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// Generated by `regen-test-files`. Do not edit manually.

// Build rules for ART run-test `674-HelloWorld-Dm`.

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-674-HelloWorld-Dm",
defaults: ["art-run-test-defaults"],
test_config_template: ":art-run-test-target-no-test-suite-tag-template",
srcs: ["src/**/*.java"],
data: [
":art-run-test-674-HelloWorld-Dm-expected-stdout",
":art-run-test-674-HelloWorld-Dm-expected-stderr",
],
}

// Test's expected standard output.
genrule {
name: "art-run-test-674-HelloWorld-Dm-expected-stdout",
out: ["art-run-test-674-HelloWorld-Dm-expected-stdout.txt"],
srcs: ["expected-stdout.txt"],
cmd: "cp -f $(in) $(out)",
}

// Test's expected standard error.
genrule {
name: "art-run-test-674-HelloWorld-Dm-expected-stderr",
out: ["art-run-test-674-HelloWorld-Dm-expected-stderr.txt"],
srcs: ["expected-stderr.txt"],
cmd: "cp -f $(in) $(out)",
}
40 changes: 40 additions & 0 deletions test/828-partial-lse/Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// Generated by `regen-test-files`. Do not edit manually.

// Build rules for ART run-test `828-partial-lse`.

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-828-partial-lse",
defaults: ["art-run-test-defaults"],
test_config_template: ":art-run-test-target-template",
srcs: ["src/**/*.java"],
data: [
":art-run-test-828-partial-lse-expected-stdout",
":art-run-test-828-partial-lse-expected-stderr",
],
}

// Test's expected standard output.
genrule {
name: "art-run-test-828-partial-lse-expected-stdout",
out: ["art-run-test-828-partial-lse-expected-stdout.txt"],
srcs: ["expected-stdout.txt"],
cmd: "cp -f $(in) $(out)",
}

// Test's expected standard error.
genrule {
name: "art-run-test-828-partial-lse-expected-stderr",
out: ["art-run-test-828-partial-lse-expected-stderr.txt"],
srcs: ["expected-stderr.txt"],
cmd: "cp -f $(in) $(out)",
}
40 changes: 40 additions & 0 deletions test/832-cha-recursive/Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// Generated by `regen-test-files`. Do not edit manually.

// Build rules for ART run-test `832-cha-recursive`.

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-832-cha-recursive",
defaults: ["art-run-test-defaults"],
test_config_template: ":art-run-test-target-no-test-suite-tag-template",
srcs: ["src/**/*.java"],
data: [
":art-run-test-832-cha-recursive-expected-stdout",
":art-run-test-832-cha-recursive-expected-stderr",
],
}

// Test's expected standard output.
genrule {
name: "art-run-test-832-cha-recursive-expected-stdout",
out: ["art-run-test-832-cha-recursive-expected-stdout.txt"],
srcs: ["expected-stdout.txt"],
cmd: "cp -f $(in) $(out)",
}

// Test's expected standard error.
genrule {
name: "art-run-test-832-cha-recursive-expected-stderr",
out: ["art-run-test-832-cha-recursive-expected-stderr.txt"],
srcs: ["expected-stderr.txt"],
cmd: "cp -f $(in) $(out)",
}

0 comments on commit 667584d

Please sign in to comment.