diff options
author | Brian Carlstrom <bdc@google.com> | 2014-05-19 10:25:33 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2014-05-19 10:26:17 -0700 |
commit | 2afe49450f2e018f18b5de45428b9174bfd6f196 (patch) | |
tree | 2d6f96d2dfc4c8baaef172259a824708e510225e /compiler/elf_writer_test.cc | |
parent | 84e524207b23d58a1b1e5f4443000ccac97c4184 (diff) | |
download | art-2afe49450f2e018f18b5de45428b9174bfd6f196.zip art-2afe49450f2e018f18b5de45428b9174bfd6f196.tar.gz art-2afe49450f2e018f18b5de45428b9174bfd6f196.tar.bz2 |
Follow up to "Add ISA directory to image and odex pathnames."
Change-Id: I7f08cc3052fbed93a56ccf1ab7675ae8bc129da9
Diffstat (limited to 'compiler/elf_writer_test.cc')
-rw-r--r-- | compiler/elf_writer_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/elf_writer_test.cc b/compiler/elf_writer_test.cc index dd7ef2a..d7de6f0 100644 --- a/compiler/elf_writer_test.cc +++ b/compiler/elf_writer_test.cc @@ -44,15 +44,15 @@ class ElfWriterTest : public CommonCompilerTest { } while (false) TEST_F(ElfWriterTest, dlsym) { - std::string elf_filename; + std::string elf_location; if (IsHost()) { const char* host_dir = getenv("ANDROID_HOST_OUT"); CHECK(host_dir != NULL); - elf_filename = StringPrintf("%s/framework/core.oat", host_dir); + elf_location = StringPrintf("%s/framework/core.oat", host_dir); } else { - elf_filename = "/data/art-test/core.oat"; + elf_location = "/data/art-test/core.oat"; } - elf_filename = GetSystemImageFilename(elf_filename.c_str(), kRuntimeISA); + std::string elf_filename = GetSystemImageFilename(elf_location.c_str(), kRuntimeISA); LOG(INFO) << "elf_filename=" << elf_filename; UnreserveImageSpace(); |