From 7326b69de431cb400b8f1a528843bba0303ba30d Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Wed, 30 Mar 2016 20:17:41 +0000 Subject: [PATCH] Fixed a problem where a dSYM wasn't properly found because it had the wrong name llvm-svn: 264914 --- .../lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile | 3 ++- .../objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile index 81e7f12..01392a8 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile +++ b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile @@ -7,9 +7,10 @@ default: a.out.stripped a.out.stripped: a.out.dSYM strip -o a.out.stripped a.out + ln -sf a.out.dSYM a.out.stripped.dSYM clean:: rm -f a.out.stripped - rm -rf a.out.stripped.dSYM + rm -rf *.dSYM include $(LEVEL)/Makefile.rules diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py index 088eb83..7d88292 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py +++ b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py @@ -30,7 +30,7 @@ class TestObjCStaticMethodStripped(TestBase): 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) -- 2.7.4