Skip to content

Commit cf7301a

Browse files
committed
[lldb] Disable the process architecture test on macOS as well
Fails on the x86_64 bot.
1 parent ac65b2c commit cf7301a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lldb/unittests/Host/posix/HostTest.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ class HostTest : public testing::Test {
3232
} // namespace
3333

3434
TEST_F(HostTest, GetProcessInfo) {
35-
llvm::Triple triple = HostInfo::GetTargetTriple();
36-
3735
ProcessInstanceInfo Info;
3836

3937
ASSERT_FALSE(Host::GetProcessInfo(LLDB_INVALID_PROCESS_ID, Info));
@@ -67,9 +65,13 @@ TEST_F(HostTest, GetProcessInfo) {
6765
EXPECT_TRUE(Info.GroupIDIsValid());
6866
EXPECT_EQ(getegid(), Info.GetGroupID());
6967

68+
// Unexpected value on Apple x86_64
69+
#ifndef __APPLE__
7070
EXPECT_TRUE(Info.GetArchitecture().IsValid());
7171
EXPECT_EQ(HostInfo::GetArchitecture(HostInfo::eArchKindDefault),
7272
Info.GetArchitecture());
73+
#endif
74+
7375
// Test timings
7476
// In some sense this is a pretty trivial test. What it is trying to
7577
// accomplish is just to validate that these values are never decreasing

0 commit comments

Comments
 (0)