diff options
-rw-r--r-- | test/826-infinite-loop/Android.bp | 40 | ||||
-rwxr-xr-x | test/utils/regen-test-files | 4 |
2 files changed, 44 insertions, 0 deletions
diff --git a/test/826-infinite-loop/Android.bp b/test/826-infinite-loop/Android.bp new file mode 100644 index 0000000000..cb506fdfcd --- /dev/null +++ b/test/826-infinite-loop/Android.bp @@ -0,0 +1,40 @@ +// Generated by `regen-test-files`. Do not edit manually. + +// Build rules for ART run-test `826-infinite-loop`. + +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-826-infinite-loop", + defaults: ["art-run-test-defaults"], + test_config_template: ":art-run-test-target-no-test-suite-tag-template", + srcs: ["src/**/*.java"], + data: [ + ":art-run-test-826-infinite-loop-expected-stdout", + ":art-run-test-826-infinite-loop-expected-stderr", + ], +} + +// Test's expected standard output. +genrule { + name: "art-run-test-826-infinite-loop-expected-stdout", + out: ["art-run-test-826-infinite-loop-expected-stdout.txt"], + srcs: ["expected-stdout.txt"], + cmd: "cp -f $(in) $(out)", +} + +// Test's expected standard error. +genrule { + name: "art-run-test-826-infinite-loop-expected-stderr", + out: ["art-run-test-826-infinite-loop-expected-stderr.txt"], + srcs: ["expected-stderr.txt"], + cmd: "cp -f $(in) $(out)", +} diff --git a/test/utils/regen-test-files b/test/utils/regen-test-files index d9cd3e13be..e1f976a3b1 100755 --- a/test/utils/regen-test-files +++ b/test/utils/regen-test-files @@ -279,6 +279,10 @@ known_failing_tests = [ # at Main.main(Main.java:20) # "821-many-args", + # 826-infinite-loop: The test expects an argument passed to `Main.main` (the test library, + # usually `arttestd` or `arttest)`, but the ART run-test TradeFed test runner + # (`com.android.tradefed.testtype.ArtRunTest`) does not implement this yet. + "826-infinite-loop", "900-hello-plugin", "901-hello-ti-agent", "902-hello-transformation", |