blob: 89c9bdf2351cf4a1d3664aed80f5bcf2ab071b38 [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 `105-invoke`.
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-105-invoke",
17 defaults: ["art-run-test-defaults"],
Roland Levillain4258f9e2020-10-13 12:10:59 +010018 test_config_template: ":art-run-test-target-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-105-invoke-expected-stdout",
22 ":art-run-test-105-invoke-expected-stderr",
23 ],
Roland Levillain6b0b2e72020-09-08 16:36:13 +010024}
25
Roland Levillainb15e8792020-10-28 12:20:59 +000026// Test's expected standard output.
Roland Levillain6b0b2e72020-09-08 16:36:13 +010027genrule {
Roland Levillaina073f462020-10-28 12:48:24 +000028 name: "art-run-test-105-invoke-expected-stdout",
29 out: ["art-run-test-105-invoke-expected-stdout.txt"],
30 srcs: ["expected-stdout.txt"],
Roland Levillain6b0b2e72020-09-08 16:36:13 +010031 cmd: "cp -f $(in) $(out)",
Roland Levillain01e56982020-02-10 12:28:01 +000032}
Roland Levillainb15e8792020-10-28 12:20:59 +000033
34// Test's expected standard error.
35genrule {
36 name: "art-run-test-105-invoke-expected-stderr",
37 out: ["art-run-test-105-invoke-expected-stderr.txt"],
38 srcs: ["expected-stderr.txt"],
39 cmd: "cp -f $(in) $(out)",
40}