Skip to content

Commit

Permalink
Append when redirecting to $TEST_log
Browse files Browse the repository at this point in the history
  • Loading branch information
kastiglione committed Sep 9, 2019
1 parent 715a36c commit 7471837
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions test/apple_shell_testutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,8 @@ function do_action() {
"$@" \
)

echo "Executing: bazel ${action} ${bazel_options[*]}" > "$TEST_log"
bazel "${action}" "${bazel_options[@]}" > "$TEST_log" 2>&1
echo "Executing: bazel ${action} ${bazel_options[*]}" >> "$TEST_log"
bazel "${action}" "${bazel_options[@]}" >> "$TEST_log" 2>&1
}


Expand Down
10 changes: 5 additions & 5 deletions test/bazel_testrunner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ if [[ -z "$XCODE_QUERY" ]]; then
sed s#@local_config_xcode//:version## | \
sed s#_#.#g)
printf "WARN: The desired version of Xcode ($OLD_XCODE_VERSION) was not " > "$TEST_log"
printf "installed; using the highest version currently installed instead " > "$TEST_log"
printf "($XCODE_VERSION_FOR_TESTS). Note that this may produce unpredictable " > "$TEST_log"
printf "results in tests that depend on the behavior of a specific version " > "$TEST_log"
printf "of Xcode.\n" > "$TEST_log"
printf "WARN: The desired version of Xcode ($OLD_XCODE_VERSION) was not " >> "$TEST_log"
printf "installed; using the highest version currently installed instead " >> "$TEST_log"
printf "($XCODE_VERSION_FOR_TESTS). Note that this may produce unpredictable " >> "$TEST_log"
printf "results in tests that depend on the behavior of a specific version " >> "$TEST_log"
printf "of Xcode.\n" >> "$TEST_log"
fi
setup_clean_workspace
Expand Down

0 comments on commit 7471837

Please sign in to comment.