Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / types / TestDoubleTypesExpr.py
blobdd9bd68ae43ea5e8980d83b5d6a85df09d644d18
1 """
2 Test that variable expressions of floating point types are evaluated 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 DoubleTypesExprTestCase(AbstractBase.GenericTester):
15 # rdar://problem/8493023
16 # test/types failures for Test*TypesExpr.py: element offset computed wrong
17 # and sign error?
19 def test_double_type(self):
20 """Test that double-type variable expressions are evaluated correctly."""
21 self.build_and_run_expr("double.cpp", set(["double"]))
23 @skipUnlessDarwin
24 def test_double_type_from_block(self):
25 """Test that double-type variables are displayed correctly from a block."""
26 self.build_and_run_expr("double.cpp", set(["double"]), bc=True)