You've already forked llvm-project
mirror of
https://github.com/encounter/llvm-project.git
synced 2026-03-30 11:27:19 -07:00
44761a6e47
Since we count on it in a few places, the test verifies that the test instance has an id() method that returns something non-None. llvm-svn: 283156
18 lines
463 B
Python
18 lines
463 B
Python
"""
|
|
Add a test to verify our test instance returns something non-None for
|
|
an id(). Other parts of the test running infrastructure are counting on this.
|
|
"""
|
|
|
|
from __future__ import print_function
|
|
from lldbsuite.test.lldbtest import TestBase
|
|
|
|
class TestIdTestCase(TestBase):
|
|
|
|
NO_DEBUG_INFO_TESTCASE = True
|
|
|
|
mydir = TestBase.compute_mydir(__file__)
|
|
|
|
def test_id_exists(self):
|
|
self.assertIsNotNone(self.id(), "Test instance should have an id()")
|
|
|