diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 | 
| commit | f3fbd1c0586ff6ec7895991e6c28f61a503c36a8 (patch) | |
| tree | 48d008fd3df8c0e73271a4b18474e0aac6dbfe33 /packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py | |
| parent | 2fc5d2d1dfaf623ce4e24cd8590565902f8c557c (diff) | |
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py')
| -rw-r--r-- | packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py b/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py index 4bcc10b8b882..7d88292a051c 100644 --- a/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py +++ b/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py @@ -6,8 +6,9 @@ from __future__ import print_function  import os, time  import lldb -import lldbsuite.test.lldbutil as lldbutil +from lldbsuite.test.decorators import *  from lldbsuite.test.lldbtest import * +from lldbsuite.test import lldbutil  class TestObjCStaticMethodStripped(TestBase): @@ -22,15 +23,14 @@ class TestObjCStaticMethodStripped(TestBase):      @skipUnlessDarwin      @add_test_categories(['pyapi']) -    @skipIfDwarf    # This test requires a stripped binary and a dSYM -    @skipIfDWO      # This test requires a stripped binary and a dSYM +    @skipIf(debug_info=no_match("dsym"), bugnumber="This test requires a stripped binary and a dSYM")      #<rdar://problem/12042992>      def test_with_python_api(self):          """Test calling functions in static methods with a stripped binary."""          if self.getArchitecture() == 'i386':              self.skipTest("requires modern objc runtime")          self.build() -        exe = os.path.join(os.getcwd(), "a.out.stripped") +        exe = os.path.join(os.getcwd(), "a.out")          target = self.dbg.CreateTarget(exe)          self.assertTrue(target, VALID_TARGET) | 
