From 5d581b8bd10f043e6b73fa0436d5003acaca4934 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 15 Feb 2024 12:13:59 +0000 Subject: 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 --- compiler/optimizing/live_ranges_test.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'compiler/optimizing/live_ranges_test.cc') 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& 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; -- cgit v1.2.3-59-g8ed1b