diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2016-05-26 13:57:03 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2016-05-26 13:57:03 +0000 |
commit | 94eb010fe9a6cfe8bf1f03b8ce4cc406d56472ee (patch) | |
tree | 2aea2a6d3dfc5666cbd1632322540c572fa1a5df /lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py | |
parent | a8f9cf18ad13b2cb3aa8b05c2d8cf771c0b979b5 (diff) | |
download | bcm5719-llvm-94eb010fe9a6cfe8bf1f03b8ce4cc406d56472ee.tar.gz bcm5719-llvm-94eb010fe9a6cfe8bf1f03b8ce4cc406d56472ee.zip |
Add "-gmodules" support to the test suite.
This change adds the capability of building test inferiors
with the -gmodules flag to enable module debug info support.
Windows is excluded per @zturner.
Reviewers: granata.enrico, aprantl, zturner, labath
Subscribers: zturner, labath, lldb-commits
Differential Revision: http://reviews.llvm.org/D19998
llvm-svn: 270848
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py index bbb3305feb3..03cdf385142 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py @@ -7,15 +7,9 @@ class TestWithGmodulesDebugInfo(TestBase): mydir = TestBase.compute_mydir(__file__) + @add_test_categories(["gmodules"]) @expectedFailureAll(bugnumber="llvm.org/pr27412") - @skipUnlessClangModules() def test_specialized_typedef_from_pch(self): - clang_help = os.popen("clang --help").read() - match = re.match(".* -gmodules ", clang_help, re.DOTALL) - if not match: - self.skipTest("Clang version doesn't support -gmodules flag") - return - self.build() cwd = os.getcwd() |