Skip to content

Commit

Permalink
Kdepak asi soudruzi udelali chybu
Browse files Browse the repository at this point in the history
  • Loading branch information
ManickaP committed May 25, 2023
1 parent 278f578 commit 0e774b0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions eng/testing/RunnerTemplate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,6 @@ echo ===========================================================================
pushd $EXECUTION_DIR
[[RunCommands]]
test_exitcode=$?
if [[ -s testResults.xml ]]; then
has_test_results=1;
fi;
popd
echo ----- end $(date) ----- exit code $test_exitcode ----------------------------------------------------------

Expand Down Expand Up @@ -233,7 +230,7 @@ popd >/dev/null
# ======================== END Core File Inspection ==========================
# The helix work item should not exit with non-zero if tests ran and produced results
# The special console runner for runtime returns 1 when tests fail
if [[ "$test_exitcode" == "1" && $has_test_results ]]; then
if [[ "$test_exitcode" == "1" ]]; then
if [ -n "$HELIX_WORKITEM_PAYLOAD" ]; then
exit 0
fi
Expand Down

0 comments on commit 0e774b0

Please sign in to comment.