Permalink
Browse files

Update to jspahrsummers/objc-build-scripts@449d8fa

  • Loading branch information...
1 parent 491f63c commit ff90f96f09fe9ded1168e3b6d71e69ea95f4b92c @jspahrsummers jspahrsummers committed Nov 14, 2013
Showing with 22 additions and 2 deletions.
  1. +8 −1 script/bootstrap
  2. +14 −1 script/cibuild
View
@@ -28,7 +28,14 @@ main ()
check_deps
fi
- local submodules=$(git submodule status 2>/dev/null)
+ local submodules=$(git submodule status)
+ local result=$?
+
+ if [ "$result" -ne "0" ]
+ then
+ exit $result
+ fi
+
if [ -n "$submodules" ]
then
echo "*** Updating submodules..."
View
@@ -133,7 +133,20 @@ build_scheme ()
sdkflag="-sdk iphonesimulator"
fi
- run_xctool $sdkflag -scheme "$scheme" $action
+ run_xctool $sdkflag -scheme "$scheme" $action | grep -v 'Failed to query the list of test cases in the test bundle'
+
+ local grepstatus=$?
+ local result=${PIPESTATUS[0]}
+
+ if [ "$grepstatus" -eq "0" ]
+ then
+ echo "*** Mac application tests are currently buggy, so they have been skipped."
+ echo "*** See https://github.com/facebook/xctool/issues/243 for more information."
+ echo
+ return 0
+ fi
+
+ return $result
}
export -f build_scheme

0 comments on commit ff90f96

Please sign in to comment.