Skip to content
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

Merged
merged 3 commits into from
Nov 6, 2017

Conversation

nitisht
Copy link
Contributor

@nitisht nitisht commented Nov 4, 2017

No description provided.

mint.sh Outdated
@@ -132,7 +132,12 @@ function main()
(( i++ ))
done
Copy link
Member

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."
Copy link
Member

@balamurugana balamurugana Nov 4, 2017

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

@nitisht
Copy link
Contributor Author

nitisht commented Nov 5, 2017

Updated @balamurugana

@poornas
Copy link
Contributor

poornas commented Nov 6, 2017

needs rebase.

@nitisht nitisht merged commit 88b0040 into minio:master Nov 6, 2017
@nitisht nitisht deleted the fix-test-message branch November 6, 2017 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants