Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / types / TestIntegerType.py
blob583bee0eb7110411e9ee1d4a778fafbd60ccddfc
1 """
2 Test that variables of type integer are displayed correctly.
3 """
5 import AbstractBase
7 from lldbsuite.test.decorators import *
10 class IntegerTypesTestCase(AbstractBase.GenericTester):
11 def test_int_type(self):
12 """Test that int-type variables are displayed correctly."""
13 self.build_and_run("int.cpp", ["int"])
15 @skipUnlessDarwin
16 def test_int_type_from_block(self):
17 """Test that int-type variables are displayed correctly from a block."""
18 self.build_and_run("int.cpp", ["int"])
20 def test_unsigned_int_type(self):
21 """Test that 'unsigned_int'-type variables are displayed correctly."""
22 self.build_and_run("unsigned_int.cpp", ["unsigned", "int"])
24 @skipUnlessDarwin
25 def test_unsigned_int_type_from_block(self):
26 """Test that 'unsigned int'-type variables are displayed correctly from a block."""
27 self.build_and_run("unsigned_int.cpp", ["unsigned", "int"], bc=True)