File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
lldb/unittests/Host/posix Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,6 @@ class HostTest : public testing::Test {
3232} // namespace
3333
3434TEST_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
You can’t perform that action at this time.
0 commit comments