-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We want to run them as a presubmit here, since ART changes can cause the tests to fail and we want to catch that. Commit c3cb031 removed them from presubmit since they were flaky on cuttlefish, but they are now disabled on cuttlefish. Now run them using avf-presubmit, which will ensure they run on some real devices. Bug: 264496291 Test: Presubmit Change-Id: I9ff8120d2694305210fe7d9416ce346310ba722a
- Loading branch information
1 parent
f76ca8c
commit 88834c9
Showing
5 changed files
with
166 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 `2046-checker-comparison`. | ||
|
||
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-2046-checker-comparison", | ||
defaults: ["art-run-test-defaults"], | ||
test_config_template: ":art-run-test-target-template", | ||
srcs: ["src/**/*.java"], | ||
data: [ | ||
":art-run-test-2046-checker-comparison-expected-stdout", | ||
":art-run-test-2046-checker-comparison-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-2046-checker-comparison-expected-stdout", | ||
out: ["art-run-test-2046-checker-comparison-expected-stdout.txt"], | ||
srcs: ["expected-stdout.txt"], | ||
cmd: "cp -f $(in) $(out)", | ||
} | ||
|
||
// Test's expected standard error. | ||
genrule { | ||
name: "art-run-test-2046-checker-comparison-expected-stderr", | ||
out: ["art-run-test-2046-checker-comparison-expected-stderr.txt"], | ||
srcs: ["expected-stderr.txt"], | ||
cmd: "cp -f $(in) $(out)", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 `2047-checker-const-string-length`. | ||
|
||
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-2047-checker-const-string-length", | ||
defaults: ["art-run-test-defaults"], | ||
test_config_template: ":art-run-test-target-template", | ||
srcs: ["src/**/*.java"], | ||
data: [ | ||
":art-run-test-2047-checker-const-string-length-expected-stdout", | ||
":art-run-test-2047-checker-const-string-length-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-2047-checker-const-string-length-expected-stdout", | ||
out: ["art-run-test-2047-checker-const-string-length-expected-stdout.txt"], | ||
srcs: ["expected-stdout.txt"], | ||
cmd: "cp -f $(in) $(out)", | ||
} | ||
|
||
// Test's expected standard error. | ||
genrule { | ||
name: "art-run-test-2047-checker-const-string-length-expected-stderr", | ||
out: ["art-run-test-2047-checker-const-string-length-expected-stderr.txt"], | ||
srcs: ["expected-stderr.txt"], | ||
cmd: "cp -f $(in) $(out)", | ||
} |
43 changes: 43 additions & 0 deletions
43
test/2260-checker-inline-unimplemented-intrinsics/Android.bp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 `2260-checker-inline-unimplemented-intrinsics`. | ||
|
||
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-2260-checker-inline-unimplemented-intrinsics", | ||
defaults: ["art-run-test-defaults"], | ||
test_config_template: ":art-run-test-target-template", | ||
srcs: ["src/**/*.java"], | ||
data: [ | ||
":art-run-test-2260-checker-inline-unimplemented-intrinsics-expected-stdout", | ||
":art-run-test-2260-checker-inline-unimplemented-intrinsics-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-2260-checker-inline-unimplemented-intrinsics-expected-stdout", | ||
out: ["art-run-test-2260-checker-inline-unimplemented-intrinsics-expected-stdout.txt"], | ||
srcs: ["expected-stdout.txt"], | ||
cmd: "cp -f $(in) $(out)", | ||
} | ||
|
||
// Test's expected standard error. | ||
genrule { | ||
name: "art-run-test-2260-checker-inline-unimplemented-intrinsics-expected-stderr", | ||
out: ["art-run-test-2260-checker-inline-unimplemented-intrinsics-expected-stderr.txt"], | ||
srcs: ["expected-stderr.txt"], | ||
cmd: "cp -f $(in) $(out)", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters