-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print status message based on number of tests run #211
Conversation
mint.sh
Outdated
@@ -132,7 +132,12 @@ function main() | |||
(( i++ )) | |||
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could change the above logic like i=0
then do (( i++ ))
before echo -n
. Later i == count
for all runs and i
has last executed test number
mint.sh
Outdated
if [ $i -eq $((count + 1)) ]; then | ||
echo -e "\nFinished running Mint. All tests run successfully" | ||
else | ||
echo -e "\nFinished running Mint. Executed $((i - 1)) out of $count tests." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO mint
saying Mint
is not clean. User knows he is running mint. I think below message is good enough $i/$count tests ran successfully
where (( i-- ))
if $i -ne $count
But its your call
05aedc9
to
6397275
Compare
Updated @balamurugana |
6397275
to
5cae8d7
Compare
needs rebase. |
No description provided.