diff options
author | 2024-02-15 12:13:59 +0000 | |
---|---|---|
committer | 2024-02-20 08:53:58 +0000 | |
commit | 5d581b8bd10f043e6b73fa0436d5003acaca4934 (patch) | |
tree | aaacc10f87222881491a9d004b228ecd1d6e0bc3 /compiler/optimizing/live_ranges_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 'compiler/optimizing/live_ranges_test.cc')
-rw-r--r-- | compiler/optimizing/live_ranges_test.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/optimizing/live_ranges_test.cc b/compiler/optimizing/live_ranges_test.cc index 7e488ba41d..fb1a23eef4 100644 --- a/compiler/optimizing/live_ranges_test.cc +++ b/compiler/optimizing/live_ranges_test.cc @@ -47,7 +47,6 @@ HGraph* LiveRangesTest::BuildGraph(const std::vector<uint16_t>& data) { } TEST_F(LiveRangesTest, CFG1) { - TEST_DISABLED_FOR_RISCV64(); /* * Test the following snippet: * return 0; @@ -82,7 +81,6 @@ TEST_F(LiveRangesTest, CFG1) { } TEST_F(LiveRangesTest, CFG2) { - TEST_DISABLED_FOR_RISCV64(); /* * Test the following snippet: * var a = 0; @@ -127,7 +125,6 @@ TEST_F(LiveRangesTest, CFG2) { } TEST_F(LiveRangesTest, CFG3) { - TEST_DISABLED_FOR_RISCV64(); /* * Test the following snippet: * var a = 0; @@ -197,7 +194,6 @@ TEST_F(LiveRangesTest, CFG3) { } TEST_F(LiveRangesTest, Loop1) { - TEST_DISABLED_FOR_RISCV64(); /* * Test the following snippet: * var a = 0; @@ -274,7 +270,6 @@ TEST_F(LiveRangesTest, Loop1) { } TEST_F(LiveRangesTest, Loop2) { - TEST_DISABLED_FOR_RISCV64(); /* * Test the following snippet: * var a = 0; @@ -346,7 +341,6 @@ TEST_F(LiveRangesTest, Loop2) { } TEST_F(LiveRangesTest, CFG4) { - TEST_DISABLED_FOR_RISCV64(); /* * Test the following snippet: * var a = 0; |