diff options
author | Tatyana Krasnukha <tatyana@synopsys.com> | 2018-09-21 13:20:26 +0000 |
---|---|---|
committer | Tatyana Krasnukha <tatyana@synopsys.com> | 2018-09-21 13:20:26 +0000 |
commit | ec9a6a27014a378cee05f67c504e9331c96c77f2 (patch) | |
tree | 0d1d42b486183c9bf821ce423b8bfda8ae29f2bd /lldb/packages/Python/lldbsuite/test | |
parent | 5c649d3a91dbf09e47466ab876f34f56820224b1 (diff) | |
download | bcm5719-llvm-ec9a6a27014a378cee05f67c504e9331c96c77f2.tar.gz bcm5719-llvm-ec9a6a27014a378cee05f67c504e9331c96c77f2.zip |
Skip test if gcc version is less than 7.1 since it doesn't support -gcolumn-info option
llvm-svn: 342732
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py index 1eb535befe7..07032cc0380 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py @@ -18,6 +18,8 @@ class BreakpointByLineAndColumnTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) + ## Skip gcc version less 7.1 since it doesn't support -gcolumn-info + @skipIf(compiler="gcc", compiler_version=['<', '7.1']) def testBreakpointByLineAndColumn(self): self.build() main_c = lldb.SBFileSpec("main.c") @@ -31,6 +33,8 @@ class BreakpointByLineAndColumnTestCase(TestBase): in_then |= b_loc.GetColumn() == 50 self.assertTrue(in_then) + ## Skip gcc version less 7.1 since it doesn't support -gcolumn-info + @skipIf(compiler="gcc", compiler_version=['<', '7.1']) def testBreakpointByLine(self): self.build() main_c = lldb.SBFileSpec("main.c") |