commit | 7f5bdd94cd22d02c72aa1119f56a11e328c07cf2 | [log] [tgz] |
---|---|---|
author | Rico Wind <ricow@google.com> | Mon Apr 03 14:52:43 2023 +0200 |
committer | Rico Wind <ricow@google.com> | Mon Apr 03 14:52:43 2023 +0200 |
tree | 621bd415cf012282243432b4b9ff6b617d3c19d0 | |
parent | 7cdcd1b4044d3abcc94f716911fe3ba7dae32db0 [diff] |
Disable test that only works with constructor shrinking on Bug: b/276385221 Change-Id: I506bb0137f8ffae769b78381dd134f1a3d52a5bd
diff --git a/src/test/java/com/android/tools/r8/classmerging/horizontal/HorizontalClassMergingAfterConstructorShrinkingTest.java b/src/test/java/com/android/tools/r8/classmerging/horizontal/HorizontalClassMergingAfterConstructorShrinkingTest.java index b5fc40c..70f55b4 100644 --- a/src/test/java/com/android/tools/r8/classmerging/horizontal/HorizontalClassMergingAfterConstructorShrinkingTest.java +++ b/src/test/java/com/android/tools/r8/classmerging/horizontal/HorizontalClassMergingAfterConstructorShrinkingTest.java
@@ -12,6 +12,7 @@ import com.android.tools.r8.TestParameters; import com.android.tools.r8.TestParametersCollection; import com.android.tools.r8.utils.AndroidApiLevel; +import org.junit.Assume; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; @@ -34,6 +35,8 @@ @Test public void test() throws Exception { + // TODO(b/276385221): Disabled constructor shrinking for now + Assume.assumeTrue(parameters.canHaveNonReboundConstructorInvoke()); assertTrue(parameters.canHaveNonReboundConstructorInvoke()); testForR8(parameters.getBackend()) .addInnerClasses(getClass())