Skip to content

Commit 0e774b0

Browse files
committed
Kdepak asi soudruzi udelali chybu
1 parent 278f578 commit 0e774b0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

eng/testing/RunnerTemplate.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,6 @@ echo ===========================================================================
166166
pushd $EXECUTION_DIR
167167
[[RunCommands]]
168168
test_exitcode=$?
169-
if [[ -s testResults.xml ]]; then
170-
has_test_results=1;
171-
fi;
172169
popd
173170
echo ----- end $(date) ----- exit code $test_exitcode ----------------------------------------------------------
174171

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

0 commit comments

Comments
 (0)