1""" 2Make sure we can find the binary inside an app bundle. 3""" 4 5import lldb 6from lldbsuite.test.decorators import * 7import lldbsuite.test.lldbutil as lldbutil 8import lldbsuite.test.lldbplatformutil as lldbplatformutil 9from lldbsuite.test.lldbtest import * 10 11 12@decorators.skipUnlessDarwin 13class FindAppInMacOSAppBundle(TestBase): 14 NO_DEBUG_INFO_TESTCASE = True 15 16 def test_find_app_in_bundle(self): 17 """This reads in the .app, makes sure we get the right binary and can run it.""" 18 self.build() 19 lldbutil.run_to_source_breakpoint( 20 self, 21 "breakpoint here", 22 lldb.SBFileSpec("main.c"), 23 exe_name=self.getBuildArtifact("TestApp.app"), 24 ) 25