Skip to content

Commit 4051d9a

Browse files
authored
Merge pull request #335 from ppodgorsek/issue-330
Issue #330 - Exit code 0 although tests failed
2 parents 327cfc3 + 73533b7 commit 4051d9a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/run-tests-in-virtual-screen.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,13 @@ else
4040
$ROBOT_TESTS_DIR
4141
fi
4242

43+
ROBOT_EXIT_CODE=$?
44+
4345
if [ ${AWS_UPLOAD_TO_S3} = true ]
4446
then
4547
echo "Uploading report to AWS S3..."
4648
aws s3 sync $ROBOT_REPORTS_FINAL_DIR/ s3://${AWS_BUCKET_NAME}/robot-reports/
4749
echo "Reports have been successfully uploaded to AWS S3!"
4850
fi
51+
52+
exit $ROBOT_EXIT_CODE

0 commit comments

Comments
 (0)