Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / macosx / universal64 / TestUniversal64.py
blob98661443086efcc3c67c40bf3bcc1c2ae0d8d0f7
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
9 def do_test(self):
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.
20 @skipIfAsan
21 @skipUnlessDarwin
22 @skipIfDarwinEmbedded
23 def test_universal64_executable(self):
24 """Test fat64 universal executable"""
25 self.build(debug_info="dsym")
26 self.do_test()
28 # The Makefile manually invokes clang.
29 @skipIfAsan
30 @skipUnlessDarwin
31 @skipIfDarwinEmbedded
32 def test_universal64_dsym(self):
33 """Test fat64 universal dSYM"""
34 self.build(debug_info="dsym", dictionary={"FAT64_DSYM": "1"})
35 self.do_test()