From ea35dbeff29f3095df3ad1d77cce3d9e5b197e7c Mon Sep 17 00:00:00 2001 From: Siva Chandra Date: Sat, 19 Dec 2015 00:52:29 +0000 Subject: [TestCPPAuto] On linux, we need -fno-limit-debug-info. Summary: Also xfailed for GCC as there is an problem with debug info generation. Reviewers: granata.enrico Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D15657 llvm-svn: 256067 --- lldb/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile | 2 ++ lldb/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp') diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile index 314f1cb2f07..194af7b3239 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile @@ -2,4 +2,6 @@ LEVEL = ../../../make CXX_SOURCES := main.cpp +CFLAGS_EXTRAS += $(NO_LIMIT_DEBUG_INFO_FLAGS) + include $(LEVEL)/Makefile.rules diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py index e3f7fb1618a..9746dec2fa3 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py @@ -8,7 +8,8 @@ import lldbsuite.test.lldbutil as lldbutil class CPPAutoTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) - + + @expectedFailureGcc("GCC does not generate complete debug info") def test_with_run_command(self): """Test that auto types work in the expression parser""" self.build() -- cgit v1.2.3