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

Add broken test cases for spectests #431

Merged
merged 2 commits into from
Jul 21, 2020
Merged

Add broken test cases for spectests #431

merged 2 commits into from
Jul 21, 2020

Conversation

axic
Copy link
Member

@axic axic commented Jul 21, 2020

No description provided.

@axic axic requested a review from gumb0 July 21, 2020 14:33
test/spectests/spectests.cpp Outdated Show resolved Hide resolved
total.failed += res.failed;
total.skipped += res.skipped;
}
catch (const std::exception& ex)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

main has the very same catch all.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without it, it won't outuput TOTAL summary string in case of unexpected exception, but perhaps it's not important.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if there's an exception we shouldn't try to recover, apart from displaying the exception.

@codecov
Copy link

codecov bot commented Jul 21, 2020

Codecov Report

Merging #431 into master will increase coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #431      +/-   ##
==========================================
+ Coverage   99.19%   99.31%   +0.12%     
==========================================
  Files          50       50              
  Lines       13938    13929       -9     
==========================================
+ Hits        13826    13834       +8     
+ Misses        112       95      -17     

@axic axic merged commit 2704591 into master Jul 21, 2020
@axic axic deleted the spectest-smoketests branch July 21, 2020 16:21
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.

2 participants