Skip BackgroundDexOptServiceIntegrationTests.
Skip it when ART Service is enabled. Bug: 272053358 Change-Id: I7b100dfed5f0f7d34026c6ddcd07933410b03a7a Test: N/A
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
package com.android.server.pm;
|
||||
|
||||
import static org.junit.Assume.assumeFalse;
|
||||
|
||||
import android.app.AlarmManager;
|
||||
import android.content.Context;
|
||||
import android.os.Environment;
|
||||
@@ -112,6 +114,7 @@ public final class BackgroundDexOptServiceIntegrationTests {
|
||||
|
||||
@Before
|
||||
public void setUp() throws IOException {
|
||||
assumeFalse(SystemProperties.getBoolean("dalvik.vm.useartservice", false));
|
||||
File dataDir = getContext().getDataDir();
|
||||
mBigFile = new File(dataDir, BIG_FILE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user