OSDN Git Service

OatFileAssistantTest: do not relocate image randomly.
authorRichard Uhler <ruhler@google.com>
Tue, 26 Apr 2016 17:24:38 +0000 (10:24 -0700)
committerRichard Uhler <ruhler@google.com>
Wed, 22 Jun 2016 19:36:34 +0000 (12:36 -0700)
commita48403eb54494ac52f81c9ecc9da723075ac65da
treeedaa1bb82df9a615eec5fb437c5684333351ff88
parent739dc72773c5dee583a1d322f91b5abd61f9889d
OatFileAssistantTest: do not relocate image randomly.

Manually relocate the boot image to a known location before starting
the runtime so that the image won't be randomly relocated. This fixes
flaky test failures due to the image randomly being relocated by 0.

Bug: 28294887
Change-Id: I05a7961f1237a05e89d3f631c959e260ccfe0b70
runtime/oat_file_assistant_test.cc