diff options
author | Jorge Canizales <jcanizales@google.com> | 2015-07-20 10:46:25 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2015-07-20 10:46:25 -0700 |
commit | cbe18e568ea6a90b5ded1eb74e6fddf5d500294e (patch) | |
tree | 117b7ef9ca2923e4b48a34b90635ad5f751e58cb /src | |
parent | b71f8fbda8696f1fc8362f37927eabf7aacfac2a (diff) |
Remove unneeded error trap.
Diffstat (limited to 'src')
-rwxr-xr-x | src/objective-c/tests/run_tests.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/objective-c/tests/run_tests.sh b/src/objective-c/tests/run_tests.sh index f25d7e9765..0f1a6aaf81 100755 --- a/src/objective-c/tests/run_tests.sh +++ b/src/objective-c/tests/run_tests.sh @@ -28,8 +28,7 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Return to current directory on error. -trap 'cd - > /dev/null; exit 1' ERR +set -e cd $(dirname $0) @@ -47,5 +46,3 @@ xcodebuild \ -destination name="iPhone 6" \ test \ | egrep "$XCODEBUILD_FILTER" - - -cd - > /dev/null |