diff options
author | 2023-01-17 13:13:55 +0000 | |
---|---|---|
committer | 2023-05-02 15:16:13 +0000 | |
commit | 01e6b56f6a5290a01c00ce1f0d3579a41a27b2e5 (patch) | |
tree | c02a2b59e9dd64ca826a81a8dfda6ca647ade27c /runtime/parsed_options_test.cc | |
parent | 581b6c658386208c68aa33259fa2b0d41546d219 (diff) |
riscv64: disable gtests for unsupported components.
Bug: b/271573990
Test: gtests on host:
lunch aosp_riscv64-userdebug && m test-art-host-gtest
Test: gtests on target (on a Linux RISC-V VM):
lunch aosp_riscv64-userdebug
export ART_TEST_SSH_USER=ubuntu
export ART_TEST_SSH_HOST=localhost
export ART_TEST_SSH_PORT=10001
export ART_TEST_ON_VM=true
. art/tools/buildbot-utils.sh
art/tools/buildbot-build.sh --target
# Create, boot and configure the VM.
art/tools/buildbot-vm.sh create
art/tools/buildbot-vm.sh boot
art/tools/buildbot-vm.sh setup-ssh # password: 'ubuntu'
art/tools/buildbot-cleanup-device.sh
art/tools/buildbot-setup-device.sh
art/tools/buildbot-sync.sh
art/tools/run-gtests.sh
Change-Id: I278e3453406a91a5e9d03645cafb9a9d1f82d896
Diffstat (limited to 'runtime/parsed_options_test.cc')
-rw-r--r-- | runtime/parsed_options_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/parsed_options_test.cc b/runtime/parsed_options_test.cc index 7cc643293c..3d45da5c58 100644 --- a/runtime/parsed_options_test.cc +++ b/runtime/parsed_options_test.cc @@ -165,9 +165,10 @@ TEST_F(ParsedOptionsTest, ParsedOptionsInstructionSet) { EXPECT_EQ(kRuntimeISA, isa); } - const char* isa_strings[] = { "arm", "arm64", "x86", "x86_64" }; + const char* isa_strings[] = { "arm", "arm64", "riscv64", "x86", "x86_64" }; InstructionSet ISAs[] = { InstructionSet::kArm, InstructionSet::kArm64, + InstructionSet::kRiscv64, InstructionSet::kX86, InstructionSet::kX86_64 }; static_assert(arraysize(isa_strings) == arraysize(ISAs), "Need same amount."); |