1 from lldbsuite
.test
.decorators
import *
2 from lldbsuite
.test
.lldbtest
import *
3 from lldbsuite
.test
import lldbutil
6 class Universal64TestCase(TestBase
):
7 NO_DEBUG_INFO_TESTCASE
= True
10 exe
= self
.getBuildArtifact("fat.out")
11 target
= self
.dbg
.CreateTarget(exe
)
13 # Make sure the binary and the dSYM are in the image list.
14 self
.expect("image list", patterns
=["fat.out", "fat.out.dSYM"])
16 # The dynamic loader doesn't support fat64 executables so we can't
17 # actually launch them here.
19 # The Makefile manually invokes clang.
23 def test_universal64_executable(self
):
24 """Test fat64 universal executable"""
25 self
.build(debug_info
="dsym")
28 # The Makefile manually invokes clang.
32 def test_universal64_dsym(self
):
33 """Test fat64 universal dSYM"""
34 self
.build(debug_info
="dsym", dictionary
={"FAT64_DSYM": "1"})