diff options
author | Jorge Canizales <jcanizales@google.com> | 2015-08-03 15:41:11 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2015-08-03 15:41:11 -0700 |
commit | e8d953557dd9254b68f9b39e936585a7524b0388 (patch) | |
tree | 1f9b8114d41f0fb2c5701b700f07b07d9fb6d20c /src | |
parent | 37a44d875f4f9520a58bf817315ef18f5da7c2a7 (diff) |
Formatting and documentation
Diffstat (limited to 'src')
-rwxr-xr-x | src/objective-c/tests/build_tests.sh | 8 | ||||
-rwxr-xr-x | src/objective-c/tests/run_tests.sh | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/objective-c/tests/build_tests.sh b/src/objective-c/tests/build_tests.sh index 9a1bf7fd58..e7ad31e403 100755 --- a/src/objective-c/tests/build_tests.sh +++ b/src/objective-c/tests/build_tests.sh @@ -28,12 +28,18 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Don't run this script standalone. Instead, run from the repository root: +# ./tools/run_tests/run_tests.py -l objc + set -e cd $(dirname $0) hash pod 2>/dev/null || { echo >&2 "Cocoapods needs to be installed."; exit 1; } -hash xcodebuild 2>/dev/null || { echo >&2 "XCode command-line tools need to be installed."; exit 1; } +hash xcodebuild 2>/dev/null || { + echo >&2 "XCode command-line tools need to be installed." + exit 1 +} BINDIR=../../../bins/$CONFIG diff --git a/src/objective-c/tests/run_tests.sh b/src/objective-c/tests/run_tests.sh index 9afec687d6..b13c0f0633 100755 --- a/src/objective-c/tests/run_tests.sh +++ b/src/objective-c/tests/run_tests.sh @@ -28,6 +28,9 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Don't run this script standalone. Instead, run from the repository root: +# ./tools/run_tests/run_tests.py -l objc + set -e cd $(dirname $0) |