Revert "Update expectation of test that crashes ART"
This reverts commit b88ba00b32285cee98435369579072bdd6085a6d
The test no longer crashes after re-enabling shorting live ranges.
Change-Id: I65242ea68045029605ab5dafadca8245b729dd9e
diff --git a/src/test/java/com/android/tools/r8/desugar/backports/LongBackportJava9Test.java b/src/test/java/com/android/tools/r8/desugar/backports/LongBackportJava9Test.java
index 40a457d..8ffb905 100644
--- a/src/test/java/com/android/tools/r8/desugar/backports/LongBackportJava9Test.java
+++ b/src/test/java/com/android/tools/r8/desugar/backports/LongBackportJava9Test.java
@@ -5,18 +5,13 @@
package com.android.tools.r8.desugar.backports;
import static com.android.tools.r8.utils.FileUtils.JAR_EXTENSION;
-import static org.hamcrest.CoreMatchers.anyOf;
-import static org.hamcrest.CoreMatchers.containsString;
-import com.android.tools.r8.SingleTestRunResult;
import com.android.tools.r8.TestParameters;
import com.android.tools.r8.TestRuntime.CfVm;
import com.android.tools.r8.ToolHelper;
-import com.android.tools.r8.ToolHelper.DexVm.Version;
import com.android.tools.r8.utils.AndroidApiLevel;
import java.nio.file.Path;
import java.nio.file.Paths;
-import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
@@ -44,20 +39,4 @@
registerTarget(AndroidApiLevel.T, 17);
}
-
- @Test
- @Override
- public void testD8() throws Exception {
- testD8(
- runResult ->
- runResult.applyIf(
- parameters.getDexRuntimeVersion().isEqualTo(Version.V6_0_1)
- && parameters.getApiLevel().isGreaterThan(AndroidApiLevel.B),
- rr ->
- rr.assertFailureWithErrorThatMatches(
- // Sometimes the failure does not have the SIGSEGV printed, so check for
- // the utils.cc file where the fault happens.
- anyOf(containsString("SIGSEGV"), containsString("art/runtime/utils.cc"))),
- SingleTestRunResult::assertSuccess));
- }
}