summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2018-01-11 23:31:29 +0000
committerJim Ingham <jingham@apple.com>2018-01-11 23:31:29 +0000
commit758133738237af4d4a4f92e8847c6f1295e89304 (patch)
treed4b3bb19e3ea6f26238645f5ae70120c3212ec00 /lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
parent6ef6aa987cd346391e9b1049a4a5272f56985a86 (diff)
downloadbcm5719-llvm-758133738237af4d4a4f92e8847c6f1295e89304.tar.gz
bcm5719-llvm-758133738237af4d4a4f92e8847c6f1295e89304.zip
Fix a tiny thinko in this test and re-add.
target.IsValid() not target... llvm-svn: 322328
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile')
-rw-r--r--lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile b/lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
new file mode 100644
index 00000000000..5673a499377
--- /dev/null
+++ b/lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
@@ -0,0 +1,17 @@
+CC ?= clang
+
+ifeq "$(ARCH)" ""
+ ARCH = x86_64
+endif
+
+CFLAGS ?= -g -O0 -arch $(ARCH)
+
+all: clean TestApp
+
+TestApp:
+ $(CC) $(CFLAGS) -o TestApp main.c
+ mv TestApp TestApp.app/Contents/MacOs/TestApp
+ mv TestApp.dSYM TestApp.app.dSYM
+clean:
+ rm -rf TestApp.app/Contents/MacOS/TestApp TestApp.app.dSYM
+
OpenPOWER on IntegriCloud