Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / types / TestFloatTypes.py
blob85f1f9d56699cc647cbe2d5fc75965ee19d61e66
1 """
2 Test that variables of floating point types are displayed correctly.
3 """
6 import AbstractBase
8 import lldb
9 from lldbsuite.test.decorators import *
10 from lldbsuite.test.lldbtest import *
11 from lldbsuite.test import lldbutil
14 class FloatTypesTestCase(AbstractBase.GenericTester):
15 def test_float_type(self):
16 """Test that float-type variables are displayed correctly."""
17 self.build_and_run("float.cpp", set(["float"]))
19 @skipUnlessDarwin
20 def test_float_type_from_block(self):
21 """Test that float-type variables are displayed correctly from a block."""
22 self.build_and_run("float.cpp", set(["float"]), bc=True)