================
@@ -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());
----------------
labath wrote:

Let's make this stronger. We should at least be able to check that it exists.

https://github.com/llvm/llvm-project/pull/138687
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to