Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: test/mac/type_envvars/test_bundle_executable.sh

Issue 82763006: Fix gyptest-type-envvars.py for Xcode 5.0.0 (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Remove debug Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2012 Google Inc. All rights reserved. 2 # Copyright (c) 2012 Google Inc. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 set -e 6 set -e
7 7
8 test $MACH_O_TYPE = mh_execute 8 test $MACH_O_TYPE = mh_execute
9 test $PRODUCT_TYPE = com.apple.product-type.application 9 test $PRODUCT_TYPE = com.apple.product-type.application
10 test "${PRODUCT_NAME}" = "My App" 10 test "${PRODUCT_NAME}" = "My App"
11 test "${FULL_PRODUCT_NAME}" = "My App.app" 11 test "${FULL_PRODUCT_NAME}" = "My App.app"
12 12
13 test "${EXECUTABLE_NAME}" = "My App" 13 test "${EXECUTABLE_NAME}" = "My App"
14 test "${EXECUTABLE_PATH}" = "My App.app/Contents/MacOS/My App" 14 test "${EXECUTABLE_PATH}" = "My App.app/Contents/MacOS/My App"
15 test "${WRAPPER_NAME}" = "My App.app" 15 test "${WRAPPER_NAME}" = "My App.app"
16 16
17 [[ ! $DYLIB_INSTALL_NAME_BASE && ${DYLIB_INSTALL_NAME_BASE-_} ]] 17 [[ ! $DYLIB_INSTALL_NAME_BASE && ${DYLIB_INSTALL_NAME_BASE-_} ]]
18 [[ ! $LD_DYLIB_INSTALL_NAME && ${LD_DYLIB_INSTALL_NAME-_} ]] 18 [[ ! $LD_DYLIB_INSTALL_NAME && ${LD_DYLIB_INSTALL_NAME-_} ]]
19 19
20 # Should be set, but empty. 20 source "$(dirname "$0")/test_check_sdkroot.sh"
Mark Mentovai 2014/03/06 17:27:29 These should all work without “source”.
sdefresne 2014/03/07 21:16:11 I'm using a git checkout, and even if I give the f
Mark Mentovai 2014/03/07 21:51:09 sdefresne wrote:
21 [[ ! $SDKROOT && ! ${SDKROOT-_} ]]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698