summaryrefslogtreecommitdiff
path: root/runtime/common_runtime_test.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2022-01-26 15:55:15 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2022-02-07 13:24:51 +0000
commitb05b349ebaa0914ad3736492d91192b25cb37f13 (patch)
tree4fdbd0bf252ee0f942a88d6e71e53b490de47e3d /runtime/common_runtime_test.cc
parent79bdf6084b2cf00603588d549441bf2988ead313 (diff)
Also create VerifierDeps for boot image compilation.
It used to be that ART ensured all code in the boot classpath was fully verified. Now that we have mainline, we cannot guarantee this at compile-time. Therefore make boot image compilation also use VerifierDeps. Test: test.py Change-Id: I414de823fe79a6637679550cdb16c1b28f397ed2
Diffstat (limited to 'runtime/common_runtime_test.cc')
-rw-r--r--runtime/common_runtime_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/common_runtime_test.cc b/runtime/common_runtime_test.cc
index d7c77e8ffd..e8c8385066 100644
--- a/runtime/common_runtime_test.cc
+++ b/runtime/common_runtime_test.cc
@@ -460,6 +460,7 @@ bool CommonRuntimeTestImpl::CompileBootImage(const std::vector<std::string>& ext
"-Xmx64m",
"--runtime-arg",
"-Xverify:softfail",
+ "--force-determinism",
};
CHECK_EQ(dex_files.size(), dex_locations.size());
for (const std::string& dex_file : dex_files) {