2 Test that we embed the swig version into the lldb module
11 from lldbsuite.test.decorators import *
12 from lldbsuite.test import lldbutil
14 from lldbsuite
.test
.lldbtest
import *
17 class SwigVersionTestCase(TestBase
):
18 NO_DEBUG_INFO_TESTCASE
= True
21 self
.assertTrue(getattr(lldb
, "swig_version"))
22 self
.assertIsInstance(lldb
.swig_version
, tuple)
23 self
.assertEqual(len(lldb
.swig_version
), 3)
24 self
.assertGreaterEqual(lldb
.swig_version
[0], 4)
25 for v
in lldb
.swig_version
:
26 self
.assertGreaterEqual(v
, 0)