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

Clean up some test-related stuff #405

Merged
merged 2 commits into from
Dec 1, 2017

Conversation

mwoehlke-kitware
Copy link
Member

Include gtest.h via test_eigen.h. Improve test matrix comparison helpers. Always delay tests loading plugins until a test case is actually going to execute.

Include gtest.h via test_eigen.h. I was on the fence about doing this
since it isn't absolutely necessary, but the purpose of test_eigen.h is
to define additional Google Test assertions, so it makes sense to do so.
Also add and use static instances of the comparators, which produces
slightly better messages when an assertion fails.
Modify some tests that only need to load plugins for a single test to
call load_all_plugins in that test. Modify other tests to use
TEST_LOAD_PLUGINS, as introduced in 8a5fe46.
@kwcvrobot
Copy link
Collaborator

Mac build succeeded: https://open.cdash.org/buildSummary.php?buildid=5158139

@kwcvrobot
Copy link
Collaborator

Linux build succeeded: https://open.cdash.org/buildSummary.php?buildid=5158205

@kwcvrobot
Copy link
Collaborator

Windows build failure: https://open.cdash.org/buildSummary.php?buildid=5158235

@linus-sherrill linus-sherrill merged commit f657f2b into Kitware:master Dec 1, 2017
@mwoehlke-kitware mwoehlke-kitware deleted the dev/gtest-polish branch December 1, 2017 17:24
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