<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Jan 10, 2018 at 2:09 PM Jim Ingham <<a href="mailto:jingham@apple.com">jingham@apple.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The only hard part of writing any kind of test for this is actually getting a legitimate .app into the testsuite.  Doesn't seem fair to ask Pavel to do that, since he doesn't work on macOS...<br>
<br>
Jim<br></blockquote><div><br></div><div>What exactly *is* a .app file on disk?  Is it literally just a directory?  If so then the test can simply create the directory.  Or is it more like "a directory that's actually compressed into a single file, sorta like a zip file, but using a different format"?</div><div><br></div><div>If it's the latter, it would be nice if we had an llvm tool that could create them.  As a fallback, perhaps the lldb-test tool could be given a command line option like --treat-as-bundle, where it pretends an existing directory is actually a bundle, so that the tests would work without one.</div></div></div>