13#if defined(TARGET_ARCH_IA32)
14 EXPECT_STREQ(
"ia32",
CPU::Id());
15#elif defined(TARGET_ARCH_X64)
17#elif defined(TARGET_ARCH_ARM)
18#if defined(HOST_ARCH_ARM)
21 EXPECT_STREQ(
"simarm",
CPU::Id());
23#elif defined(TARGET_ARCH_ARM64)
24#if defined(HOST_ARCH_ARM64)
25 EXPECT_STREQ(
"arm64",
CPU::Id());
27 EXPECT_STREQ(
"simarm64",
CPU::Id());
29#elif defined(TARGET_ARCH_RISCV32)
30#if defined(HOST_ARCH_RISCV32)
31 EXPECT_STREQ(
"riscv32",
CPU::Id());
33 EXPECT_STREQ(
"simriscv32",
CPU::Id());
35#elif defined(TARGET_ARCH_RISCV64)
36#if defined(HOST_ARCH_RISCV64)
37 EXPECT_STREQ(
"riscv64",
CPU::Id());
39 EXPECT_STREQ(
"simriscv64",
CPU::Id());
42#error Architecture was not detected as supported by Dart.
VM_UNIT_TEST_CASE(DirectoryCurrentNoScope)