Files
clang-p2996/lldb/test/API/functionalities/testid/TestTestId.py
Dave Lee 4cc8f2a017 [lldb][tests] Automatically call compute_mydir (NFC)
Eliminate boilerplate of having each test manually assign to `mydir` by calling
`compute_mydir` in lldbtest.py.

Differential Revision: https://reviews.llvm.org/D128077
2022-06-17 14:34:49 -07:00

15 lines
379 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 lldbsuite.test.lldbtest import TestBase
class TestIdTestCase(TestBase):
NO_DEBUG_INFO_TESTCASE = True
def test_id_exists(self):
self.assertIsNotNone(self.id(), "Test instance should have an id()")