[AMDGPU] Add True16 register classes.
[llvm-project.git] / lldb / test / API / commands / thread / select / TestThreadSelect.py
blob91f8909471bf2bbe240c783b4635cb820a712bb9
1 import lldb
2 from lldbsuite.test.lldbtest import *
3 from lldbsuite.test import lldbutil
4 from lldbsuite.test.decorators import *
7 class TestCase(TestBase):
8 def test_invalid_arg(self):
9 self.build()
11 lldbutil.run_to_source_breakpoint(
12 self, "// break here", lldb.SBFileSpec("main.cpp")
15 self.expect(
16 "thread select -1", error=True, startstr="error: Invalid thread index '-1'"
18 self.expect(
19 "thread select 0x1ffffffff",
20 error=True,
21 startstr="error: Invalid thread index '0x1ffffffff'",
23 # Parses but not a valid thread id.
24 self.expect(
25 "thread select 0xffffffff",
26 error=True,
27 startstr="error: invalid thread #0xffffffff.",