[clang] Fix implicit integer conversion for opaque enums declared in class templates...
[llvm-project.git] / lldb / test / API / commands / process / signal / TestProcessSignal.py
blob2a404dd2bb3b7e99181f44b436dd857eebfe9d31
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 @no_debug_info_test
9 def test_invalid_arg(self):
10 self.build()
12 lldbutil.run_to_source_breakpoint(
13 self, "// break here", lldb.SBFileSpec("main.cpp")
15 self.expect(
16 "process signal az",
17 error=True,
18 startstr="error: Invalid signal argument 'az'.",
20 self.expect(
21 "process signal 0x1ffffffff",
22 error=True,
23 startstr="error: Invalid signal argument '0x1ffffffff'.",
25 self.expect(
26 "process signal 0xffffffff",
27 error=True,
28 startstr="error: Invalid signal argument '0xffffffff'.",