aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting/RuniOSUnitTestsUnderSimulator.sh
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-08-30 16:30:06 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-08-30 16:30:06 +0000
commit412eab8894ae6c258707eaf9c755fdcb6b2b5ed1 (patch)
tree887ee4353478b1cf822fea11f2aaa4fae5c4415b /UnitTesting/RuniOSUnitTestsUnderSimulator.sh
parentb5c8dcec52097c97ca139f036c7b9cf89ff2c393 (diff)
Revert (script chokes if variables aren't set):
pass optional home directory and environment variables to the iossim binary.
Diffstat (limited to 'UnitTesting/RuniOSUnitTestsUnderSimulator.sh')
-rwxr-xr-xUnitTesting/RuniOSUnitTestsUnderSimulator.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/UnitTesting/RuniOSUnitTestsUnderSimulator.sh b/UnitTesting/RuniOSUnitTestsUnderSimulator.sh
index 4c08c99..9bda002 100755
--- a/UnitTesting/RuniOSUnitTestsUnderSimulator.sh
+++ b/UnitTesting/RuniOSUnitTestsUnderSimulator.sh
@@ -176,17 +176,6 @@ GTM_TEST_COMMAND=(
if [[ "${GTM_SIMULATOR_SDK_VERSION}" != "default" ]] ; then
GTM_TEST_COMMAND+=( "-s" "${GTM_SIMULATOR_SDK_VERSION}" )
fi
-if [[ "${GTM_SIMULATOR_USER_HOME}" ]]; then
- GTM_TEST_COMMAND+=( "-u" "${GTM_SIMULATOR_USER_HOME}" )
-fi
-# pass in extra env variables in format of "KEY1=value1 KEY2=value2"
-if [[ "${GTM_SIMULATOR_EXTRA_ENV}" ]]; then
- EXTRA_ENV_ARRAY=(${GTM_SIMULATOR_EXTRA_ENV})
- for i in "${!EXTRA_ENV_ARRAY[@]}"
- do
- GTM_TEST_COMMAND+=( "-e" ${EXTRA_ENV_ARRAY[i]} )
- done
-fi
if [[ -n "${TEST_HOST}" ]]; then
# When using a test host, it is usually set to the executable within the app
# bundle, back up one to point at the bundle.