blob: ef817a8099d6f00e503b54b5073e4aa4004cfd89 [file] [log] [blame]
Roland Levillain01e56982020-02-10 12:28:01 +00001// Generated by `regen-test-files`. Do not edit manually.
Roland Levillain6b0b2e72020-09-08 16:36:13 +01002
3// Build rules for ART run-test `018-stack-overflow`.
4
Bob Badour9150de62021-02-26 03:22:24 -08005package {
6 // See: http://go/android-license-faq
7 // A large-scale-change added 'default_applicable_licenses' to import
8 // all of the 'license_kinds' from "art_license"
9 // to get the below license kinds:
10 // SPDX-license-identifier-Apache-2.0
11 default_applicable_licenses: ["art_license"],
12}
13
Roland Levillain87531a62021-03-04 15:36:55 +000014// Test's Dex code.
Roland Levillain01e56982020-02-10 12:28:01 +000015java_test {
16 name: "art-run-test-018-stack-overflow",
17 defaults: ["art-run-test-defaults"],
Roland Levillaina8761fd2022-07-28 17:42:36 +010018 test_config_template: ":art-run-test-target-cts-template",
Roland Levillain01e56982020-02-10 12:28:01 +000019 srcs: ["src/**/*.java"],
Roland Levillainb15e8792020-10-28 12:20:59 +000020 data: [
21 ":art-run-test-018-stack-overflow-expected-stdout",
22 ":art-run-test-018-stack-overflow-expected-stderr",
23 ],
Roland Levillaina8761fd2022-07-28 17:42:36 +010024 test_suites: ["cts"],
Roland Levillain6b0b2e72020-09-08 16:36:13 +010025}
26
Roland Levillainb15e8792020-10-28 12:20:59 +000027// Test's expected standard output.
Roland Levillain6b0b2e72020-09-08 16:36:13 +010028genrule {
Roland Levillaina073f462020-10-28 12:48:24 +000029 name: "art-run-test-018-stack-overflow-expected-stdout",
30 out: ["art-run-test-018-stack-overflow-expected-stdout.txt"],
31 srcs: ["expected-stdout.txt"],
Roland Levillain6b0b2e72020-09-08 16:36:13 +010032 cmd: "cp -f $(in) $(out)",
Roland Levillain01e56982020-02-10 12:28:01 +000033}
Roland Levillainb15e8792020-10-28 12:20:59 +000034
35// Test's expected standard error.
36genrule {
37 name: "art-run-test-018-stack-overflow-expected-stderr",
38 out: ["art-run-test-018-stack-overflow-expected-stderr.txt"],
39 srcs: ["expected-stderr.txt"],
40 cmd: "cp -f $(in) $(out)",
41}