summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/image_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/image_test.cc b/runtime/image_test.cc
index 7f9050564f..334f7abfd3 100644
--- a/runtime/image_test.cc
+++ b/runtime/image_test.cc
@@ -49,7 +49,7 @@ TEST_F(ImageTest, WriteRead) {
#if defined(ART_USE_PORTABLE_COMPILER)
// TODO: we disable this for portable so the test executes in a reasonable amount of time.
// We shouldn't need to do this.
- runtime_->SetSmallMode(true);
+ runtime_->SetCompilerFilter(Runtime::kInterpretOnly);
#endif
compiler_driver_->CompileAll(class_loader, class_linker->GetBootClassPath(), timings);