Remove unneeded error trap.

pull/2538/head
Jorge Canizales 10 years ago
parent b71f8fbda8
commit cbe18e568e
  1. 5
      src/objective-c/tests/run_tests.sh

@ -28,8 +28,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Return to current directory on error. set -e
trap 'cd - > /dev/null; exit 1' ERR
cd $(dirname $0) cd $(dirname $0)
@ -47,5 +46,3 @@ xcodebuild \
-destination name="iPhone 6" \ -destination name="iPhone 6" \
test \ test \
| egrep "$XCODEBUILD_FILTER" - | egrep "$XCODEBUILD_FILTER" -
cd - > /dev/null

Loading…
Cancel
Save