Author: tberghammer Date: Mon Sep 7 10:50:19 2015 New Revision: 246971 URL: http://llvm.org/viewvc/llvm-project?rev=246971&view=rev Log: XFAIL TestBuiltinTrap on android-arm (gcc bug)
Modified: lldb/trunk/test/linux/builtin_trap/TestBuiltinTrap.py lldb/trunk/test/lldbtest.py Modified: lldb/trunk/test/linux/builtin_trap/TestBuiltinTrap.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/linux/builtin_trap/TestBuiltinTrap.py?rev=246971&r1=246970&r2=246971&view=diff ============================================================================== --- lldb/trunk/test/linux/builtin_trap/TestBuiltinTrap.py (original) +++ lldb/trunk/test/linux/builtin_trap/TestBuiltinTrap.py Mon Sep 7 10:50:19 2015 @@ -22,6 +22,7 @@ class BuiltinTrapTestCase(TestBase): @dwarf_test @expectedFailureAll("llvm.org/pr15936", compiler="gcc", compiler_version=["<=","4.6"]) + @expectedFailureAll(archs="arm", compiler="gcc", triple=".*-android") # gcc generates incorrect linetable def test_with_dwarf_and_run_command(self): """Test that LLDB handles a function with __builtin_trap correctly.""" self.buildDwarf() Modified: lldb/trunk/test/lldbtest.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=246971&r1=246970&r2=246971&view=diff ============================================================================== --- lldb/trunk/test/lldbtest.py (original) +++ lldb/trunk/test/lldbtest.py Mon Sep 7 10:50:19 2015 @@ -641,11 +641,12 @@ def expectedFailureCompiler(compiler, co # @expectedFailureAll, xfail for all platform/compiler/arch, # @expectedFailureAll(compiler='gcc'), xfail for gcc on all platform/architecture # @expectedFailureAll(bugnumber, ["linux"], "gcc", ['>=', '4.9'], ['i386']), xfail for gcc>=4.9 on linux with i386 -def expectedFailureAll(bugnumber=None, oslist=None, compiler=None, compiler_version=None, archs=None): +def expectedFailureAll(bugnumber=None, oslist=None, compiler=None, compiler_version=None, archs=None, triple=None): def fn(self): return ((oslist is None or self.getPlatform() in oslist) and (compiler is None or (compiler in self.getCompiler() and self.expectedCompilerVersion(compiler_version))) and - self.expectedArch(archs)) + self.expectedArch(archs) and + (triple is None or re.match(triple, lldb.DBG.GetSelectedPlatform().GetTriple()))) return expectedFailure(fn, bugnumber) # to XFAIL a specific clang versions, try this _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits