summaryrefslogtreecommitdiff
path: root/libartbase/base/flags_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libartbase/base/flags_test.cc')
-rw-r--r--libartbase/base/flags_test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libartbase/base/flags_test.cc b/libartbase/base/flags_test.cc
index 7cc2890232..abc8f22e19 100644
--- a/libartbase/base/flags_test.cc
+++ b/libartbase/base/flags_test.cc
@@ -98,6 +98,10 @@ class TestFlag {
class FlagsTests : public CommonRuntimeTest {
protected:
+ FlagsTests() {
+ this->use_boot_image_ = true; // Make the Runtime creation cheaper.
+ }
+
// We need to initialize the flag after the ScratchDir is created
// but before we configure the runtime options (so that we can get
// the right name for the config).