diff options
author | 2020-07-07 01:10:07 +0100 | |
---|---|---|
committer | 2020-07-09 15:58:18 +0000 | |
commit | 194f555db74816aa380d2f46f63c8626f38e9b71 (patch) | |
tree | d81626d2023f2d5a7f77b1ff4718e353ee76bc90 /runtime/common_runtime_test.cc | |
parent | d6e14e0b6a3447d6e89a93d0a017e92b11dc5f6f (diff) |
Refactor arm assembly tests.
Another step in preparation to move to the LLVM toolchain.
Bug: 147817558
Test: m test-art-host-gtest
Change-Id: Ie5be337165d8f24e04740de0486144fa6a62f063
Diffstat (limited to 'runtime/common_runtime_test.cc')
-rw-r--r-- | runtime/common_runtime_test.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/runtime/common_runtime_test.cc b/runtime/common_runtime_test.cc index c4e83b9ad4..1d37a42df5 100644 --- a/runtime/common_runtime_test.cc +++ b/runtime/common_runtime_test.cc @@ -80,29 +80,6 @@ CommonRuntimeTestImpl::~CommonRuntimeTestImpl() { runtime_.reset(); } -std::string CommonRuntimeTestImpl::GetAndroidTargetToolsDir(InstructionSet isa) { - switch (isa) { - case InstructionSet::kArm: - case InstructionSet::kThumb2: - return GetAndroidToolsDir("prebuilts/gcc/linux-x86/arm", - "arm-linux-androideabi", - "arm-linux-androideabi"); - case InstructionSet::kArm64: - return GetAndroidToolsDir("prebuilts/gcc/linux-x86/aarch64", - "aarch64-linux-android", - "aarch64-linux-android"); - case InstructionSet::kX86: - case InstructionSet::kX86_64: - return GetAndroidToolsDir("prebuilts/gcc/linux-x86/x86", - "x86_64-linux-android", - "x86_64-linux-android"); - default: - break; - } - ADD_FAILURE() << "Invalid isa " << isa; - return ""; -} - void CommonRuntimeTestImpl::SetUp() { CommonArtTestImpl::SetUp(); |