[TableGen] Fix validateOperandClass for non Phyical Reg (#118146)
[llvm-project.git] / lldb / test / API / types / TestLongTypes.py
blob33e748f3bd8aad88911f4a5c941e520c9175e37f
1 """
2 Test that variables of integer basic types are displayed correctly.
3 """
5 import AbstractBase
7 from lldbsuite.test.decorators import *
10 class LongTypesTestCase(AbstractBase.GenericTester):
11 def test_long_type(self):
12 """Test that long-type variables are displayed correctly."""
13 self.build_and_run("long.cpp", ["long"])
15 @skipUnlessDarwin
16 def test_long_type_from_block(self):
17 """Test that long-type variables are displayed correctly from a block."""
18 self.build_and_run("long.cpp", ["long"], bc=True)
20 def test_unsigned_long_type(self):
21 """Test that 'unsigned long'-type variables are displayed correctly."""
22 self.build_and_run("unsigned_long.cpp", ["unsigned", "long"])
24 @skipUnlessDarwin
25 def test_unsigned_long_type_from_block(self):
26 """Test that 'unsigned_long'-type variables are displayed correctly from a block."""
27 self.build_and_run("unsigned_long.cpp", ["unsigned", "long"], bc=True)
29 def test_long_long_type(self):
30 """Test that 'long long'-type variables are displayed correctly."""
31 self.build_and_run("long_long.cpp", ["long long"])
33 @skipUnlessDarwin
34 def test_long_long_type_from_block(self):
35 """Test that 'long_long'-type variables are displayed correctly from a block."""
36 self.build_and_run("long_long.cpp", ["long long"], bc=True)
38 def test_unsigned_long_long_type(self):
39 """Test that 'unsigned long long'-type variables are displayed correctly."""
40 self.build_and_run("unsigned_long_long.cpp", ["unsigned", "long long"])
42 @skipUnlessDarwin
43 def test_unsigned_long_long_type_from_block(self):
44 """Test that 'unsigned_long_long'-type variables are displayed correctly from a block."""
45 self.build_and_run("unsigned_long_long.cpp", ["unsigned", "long long"], bc=True)