Permalink
Browse files

added unit_testing_build_phase

  • Loading branch information...
1 parent 96c25a6 commit 69ad32063b83e8116b8bc1d284e076adf3a14973 Till Toenshoff committed Nov 15, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 unit_testing_build_phase.sh
@@ -0,0 +1,5 @@
+echo "<<UNIT_TEST_MARKER>>"
+test_bundle_path="$BUILT_PRODUCTS_DIR/$PRODUCT_NAME.$WRAPPER_EXTENSION"
+environment_args="--setenv DYLD_INSERT_LIBRARIES=/../../Library/PrivateFrameworks/IDEBundleInjection.framework/IDEBundleInjection --setenv XCInjectBundle=$test_bundle_path --setenv XCInjectBundleInto=$TEST_HOST"
+ios-sim launch $(dirname $TEST_HOST) $environment_args --args -SenTest All $test_bundle_path
+echo "<<UNIT_TEST_MARKER>>"

0 comments on commit 69ad320

Please sign in to comment.