summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/expression
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/expression')
-rw-r--r--lldb/packages/Python/lldbsuite/test/commands/expression/macros/Makefile2
-rw-r--r--lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py3
2 files changed, 4 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/commands/expression/macros/Makefile b/lldb/packages/Python/lldbsuite/test/commands/expression/macros/Makefile
index 59070728a5f..a7549f24ea7 100644
--- a/lldb/packages/Python/lldbsuite/test/commands/expression/macros/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/commands/expression/macros/Makefile
@@ -1,6 +1,6 @@
CXX_SOURCES := main.cpp
-DEBUG_INFO_FLAG = -g3
+DEBUG_INFO_FLAG = -g3 -gdwarf-5
include Makefile.rules
diff --git a/lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py b/lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py
index 817f6cb3944..26e4309605e 100644
--- a/lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py
+++ b/lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py
@@ -21,6 +21,9 @@ class TestMacros(TestBase):
hostoslist=["windows"],
compiler="gcc",
triple='.*-android')
+ @expectedFailureAll(
+ compiler="gcc", compiler_version=['<', '5.1'],
+ bugnumber=".debug_macro was introduced in DWARF 5, GCC supports it since version 5.1")
def test_expr_with_macros(self):
self.build()
OpenPOWER on IntegriCloud