Skip to content

Commit

Permalink
Put testlog in temp directory (#1895)
Browse files Browse the repository at this point in the history
This way this gets deleted automatically and we don't have to worry
about disk space growth which matters on CI if you have many test
bundles.
  • Loading branch information
keith committed Mar 15, 2023
1 parent 2064770 commit efe1388
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apple/testing/default_runner/ios_xctestrun_runner.template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [[ -n "${DEBUG_XCTESTRUNNER:-}" ]]; then
set -x
fi

create_xcresult_bundle=%(create_xcresult_bundle)s
create_xcresult_bundle="%(create_xcresult_bundle)s"
if [[ -n "${CREATE_XCRESULT_BUNDLE:-}" ]]; then
create_xcresult_bundle=true
fi
Expand Down Expand Up @@ -234,7 +234,7 @@ simulator_id="$("./%(simulator_creator.py)s" \
)"

test_exit_code=0
testlog=$(mktemp)
readonly testlog=$test_tmp_dir/test.log

test_file=$(file "$test_tmp_dir/$test_bundle_name.xctest/$test_bundle_name")
intel_simulator_hack=false
Expand Down

0 comments on commit efe1388

Please sign in to comment.