diff options
author | 2024-02-15 12:13:59 +0000 | |
---|---|---|
committer | 2024-02-20 08:53:58 +0000 | |
commit | 5d581b8bd10f043e6b73fa0436d5003acaca4934 (patch) | |
tree | aaacc10f87222881491a9d004b228ecd1d6e0bc3 /oatdump/oatdump_test.cc | |
parent | 8e18c45e19e73d6e4d28c69606a4aae95e4447f7 (diff) |
riscv64: Enable some gtests.
Keep tests disabled for riscv64 if they are disabled for arm
and arm64.
Fix `GetInstructionSetFromELF()` to recognize riscv64.
This partially reverts commit
476491deb9f9abb04f25888a20280d950714048b .
Test: run-gtests.sh
Bug: 271573990
Change-Id: Iccf1e2b1e93ed09eaf27884c34696f42fd752ec4
Diffstat (limited to 'oatdump/oatdump_test.cc')
-rw-r--r-- | oatdump/oatdump_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oatdump/oatdump_test.cc b/oatdump/oatdump_test.cc index 88cd044a48..6cd3a9742a 100644 --- a/oatdump/oatdump_test.cc +++ b/oatdump/oatdump_test.cc @@ -66,10 +66,10 @@ TEST_P(OatDumpTest, TestListMethods) { } TEST_P(OatDumpTest, TestSymbolize) { - TEST_DISABLED_FOR_RISCV64(); if (GetParam() == Flavor::kDynamic) { TEST_DISABLED_FOR_TARGET(); // Can not write files inside the apex directory. } else { + TEST_DISABLED_FOR_RISCV64(); TEST_DISABLED_FOR_ARM_AND_ARM64(); } std::string error_msg; @@ -77,8 +77,8 @@ TEST_P(OatDumpTest, TestSymbolize) { } TEST_P(OatDumpTest, TestExportDex) { - TEST_DISABLED_FOR_RISCV64(); if (GetParam() == Flavor::kStatic) { + TEST_DISABLED_FOR_RISCV64(); TEST_DISABLED_FOR_ARM_AND_ARM64(); } std::string error_msg; |