Roland Levillain | 01e5698 | 2020-02-10 12:28:01 +0000 | [diff] [blame] | 1 | // Generated by `regen-test-files`. Do not edit manually. |
Roland Levillain | 6b0b2e7 | 2020-09-08 16:36:13 +0100 | [diff] [blame] | 2 | |
| 3 | // Build rules for ART run-test `906-iterate-heap`. |
| 4 | |
Bob Badour | 9150de6 | 2021-02-26 03:22:24 -0800 | [diff] [blame] | 5 | package { |
| 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 Levillain | 87531a6 | 2021-03-04 15:36:55 +0000 | [diff] [blame] | 14 | // Test's Dex code. |
Roland Levillain | 01e5698 | 2020-02-10 12:28:01 +0000 | [diff] [blame] | 15 | java_test { |
| 16 | name: "art-run-test-906-iterate-heap", |
| 17 | defaults: ["art-run-test-defaults"], |
Roland Levillain | 4258f9e | 2020-10-13 12:10:59 +0100 | [diff] [blame] | 18 | test_config_template: ":art-run-test-target-no-test-suite-tag-template", |
Roland Levillain | 01e5698 | 2020-02-10 12:28:01 +0000 | [diff] [blame] | 19 | srcs: ["src/**/*.java"], |
Roland Levillain | b15e879 | 2020-10-28 12:20:59 +0000 | [diff] [blame] | 20 | data: [ |
| 21 | ":art-run-test-906-iterate-heap-expected-stdout", |
| 22 | ":art-run-test-906-iterate-heap-expected-stderr", |
| 23 | ], |
Roland Levillain | 6b0b2e7 | 2020-09-08 16:36:13 +0100 | [diff] [blame] | 24 | } |
| 25 | |
Roland Levillain | b15e879 | 2020-10-28 12:20:59 +0000 | [diff] [blame] | 26 | // Test's expected standard output. |
Roland Levillain | 6b0b2e7 | 2020-09-08 16:36:13 +0100 | [diff] [blame] | 27 | genrule { |
Roland Levillain | a073f46 | 2020-10-28 12:48:24 +0000 | [diff] [blame] | 28 | name: "art-run-test-906-iterate-heap-expected-stdout", |
| 29 | out: ["art-run-test-906-iterate-heap-expected-stdout.txt"], |
| 30 | srcs: ["expected-stdout.txt"], |
Roland Levillain | 6b0b2e7 | 2020-09-08 16:36:13 +0100 | [diff] [blame] | 31 | cmd: "cp -f $(in) $(out)", |
Roland Levillain | 01e5698 | 2020-02-10 12:28:01 +0000 | [diff] [blame] | 32 | } |
Roland Levillain | b15e879 | 2020-10-28 12:20:59 +0000 | [diff] [blame] | 33 | |
| 34 | // Test's expected standard error. |
| 35 | genrule { |
| 36 | name: "art-run-test-906-iterate-heap-expected-stderr", |
| 37 | out: ["art-run-test-906-iterate-heap-expected-stderr.txt"], |
| 38 | srcs: ["expected-stderr.txt"], |
| 39 | cmd: "cp -f $(in) $(out)", |
| 40 | } |