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 {
32
32
} // namespace
33
33
34
34
TEST_F (HostTest, GetProcessInfo) {
35
- llvm::Triple triple = HostInfo::GetTargetTriple ();
36
-
37
35
ProcessInstanceInfo Info;
38
36
39
37
ASSERT_FALSE (Host::GetProcessInfo (LLDB_INVALID_PROCESS_ID, Info));
@@ -67,9 +65,13 @@ TEST_F(HostTest, GetProcessInfo) {
67
65
EXPECT_TRUE (Info.GroupIDIsValid ());
68
66
EXPECT_EQ (getegid (), Info.GetGroupID ());
69
67
68
+ // Unexpected value on Apple x86_64
69
+ #ifndef __APPLE__
70
70
EXPECT_TRUE (Info.GetArchitecture ().IsValid ());
71
71
EXPECT_EQ (HostInfo::GetArchitecture (HostInfo::eArchKindDefault),
72
72
Info.GetArchitecture ());
73
+ #endif
74
+
73
75
// Test timings
74
76
// In some sense this is a pretty trivial test. What it is trying to
75
77
// accomplish is just to validate that these values are never decreasing
You can’t perform that action at this time.
0 commit comments