| commit | 0a055d63cf1dcf49ce9da5557cd8c600cad13b34 | [log] [tgz] |
|---|---|---|
| author | Søren Gjesse <sgjesse@google.com> | Wed Apr 27 15:14:58 2022 +0200 |
| committer | Søren Gjesse <sgjesse@google.com> | Wed Apr 27 14:57:29 2022 +0000 |
| tree | 8bf3ae4a79e8f1c21d2da51dbd380706e429b806 | |
| parent | b2ca88219320d01cc41c0e80cf06b678a08ff268 [diff] |
Fix kotlin_dev bot META-INF/services content is required. Bug: b/230369515 Change-Id: Ie4dcdcc4f505556fe41f327638539cfb7f4ba821
diff --git a/src/test/java/com/android/tools/r8/kotlin/reflection/ReflectiveConstructionWithInlineClassTest.java b/src/test/java/com/android/tools/r8/kotlin/reflection/ReflectiveConstructionWithInlineClassTest.java index 29ac900..2b7019e 100644 --- a/src/test/java/com/android/tools/r8/kotlin/reflection/ReflectiveConstructionWithInlineClassTest.java +++ b/src/test/java/com/android/tools/r8/kotlin/reflection/ReflectiveConstructionWithInlineClassTest.java
@@ -80,6 +80,11 @@ .addProgramFiles(kotlinc.getKotlinStdlibJar()) .addProgramFiles(kotlinc.getKotlinReflectJar()) .setMinApi(parameters.getApiLevel()) + .addOptionsModification( + options -> { + options.testing.enableD8ResourcesPassThrough = true; + options.dataResourceConsumer = options.programConsumer.getDataResourceConsumer(); + }) .run(parameters.getRuntime(), MAIN_CLASS) .assertSuccessWithOutputLines(EXPECTED_OUTPUT); }