[Lldb-commits] [lldb] [lldb][AIX] get host info for AIX (cont..) (PR #138687)
Dhruv Srivastava via lldb-commits
lldb-commits at lists.llvm.org
Fri May 23 06:39:39 PDT 2025
================
@@ -54,6 +54,12 @@ TEST_F(HostInfoTest, GetHostname) {
EXPECT_TRUE(HostInfo::GetHostname(s));
}
+TEST_F(HostInfoTest, GetProgramFileSpec) {
+ // Test GetProgramFileSpec()
+ FileSpec filespec = HostInfo::GetProgramFileSpec();
+ EXPECT_FALSE(filespec.GetFilename().IsEmpty());
----------------
DhruvSrivastavaX wrote:
@labath Do we need to make it like more like a step-by-step/combination check?
Like checking if the Path validity, then checking if it exists or something like that?
Or just one strong check like above is enough?
https://github.com/llvm/llvm-project/pull/138687
More information about the lldb-commits
mailing list