From 14f1b3e8826ce43b978db93a62d1166055db5394 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 2 Jan 2017 19:26:05 +0000 Subject: Vendor import of lldb trunk r290819: https://llvm.org/svn/llvm-project/lldb/trunk@290819 --- .../lldbsuite/test/functionalities/testid/TestTestId.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 packages/Python/lldbsuite/test/functionalities/testid/TestTestId.py (limited to 'packages/Python/lldbsuite/test/functionalities/testid/TestTestId.py') diff --git a/packages/Python/lldbsuite/test/functionalities/testid/TestTestId.py b/packages/Python/lldbsuite/test/functionalities/testid/TestTestId.py new file mode 100644 index 0000000000000..a594ad2c9e448 --- /dev/null +++ b/packages/Python/lldbsuite/test/functionalities/testid/TestTestId.py @@ -0,0 +1,17 @@ +""" +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()") + -- cgit v1.2.3