OLD | NEW |
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_dylib | 8 test $MACH_O_TYPE = mh_dylib |
9 test $PRODUCT_TYPE = com.apple.product-type.framework | 9 test $PRODUCT_TYPE = com.apple.product-type.framework |
10 test $PRODUCT_NAME = bundle_shared_library | 10 test $PRODUCT_NAME = bundle_shared_library |
11 test $FULL_PRODUCT_NAME = bundle_shared_library.framework | 11 test $FULL_PRODUCT_NAME = bundle_shared_library.framework |
12 | 12 |
13 test $EXECUTABLE_NAME = bundle_shared_library | 13 test $EXECUTABLE_NAME = bundle_shared_library |
14 test $EXECUTABLE_PATH = \ | 14 test $EXECUTABLE_PATH = \ |
15 "bundle_shared_library.framework/Versions/A/bundle_shared_library" | 15 "bundle_shared_library.framework/Versions/A/bundle_shared_library" |
16 test $WRAPPER_NAME = bundle_shared_library.framework | 16 test $WRAPPER_NAME = bundle_shared_library.framework |
17 | 17 |
18 test $DYLIB_INSTALL_NAME_BASE = "/Library/Frameworks" | 18 test $DYLIB_INSTALL_NAME_BASE = "/Library/Frameworks" |
19 test $LD_DYLIB_INSTALL_NAME = \ | 19 test $LD_DYLIB_INSTALL_NAME = \ |
20 "/Library/Frameworks/bundle_shared_library.framework/Versions/A/bundle_share
d_library" | 20 "/Library/Frameworks/bundle_shared_library.framework/Versions/A/bundle_share
d_library" |
21 | 21 |
22 # Should be set, but empty. | 22 source "$(dirname "$0")/test_check_sdkroot.sh" |
23 [[ ! $SDKROOT && ! ${SDKROOT-_} ]] | |
OLD | NEW |