-
Notifications
You must be signed in to change notification settings - Fork 310
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
Refactor C++ unit tests to allow finer grained filtering #4533
Refactor C++ unit tests to allow finer grained filtering #4533
Conversation
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.
Besides the minor comment about the inconsistency, LGTM.
::testing::Values(cugraph::test::File_Usecase("test/datasets/karate.mtx")))); | ||
|
||
INSTANTIATE_TEST_SUITE_P( | ||
file_large_pass, |
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.
Why are we using "file_large_test" above and "file_large_pass" here? Better be consistent?
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.
Updated eigenvector centrality test names to match.
/merge |
Running all of the C++ unit tests can take a long time.
This PR splits the file-based tests into small versus large tests. The large tests (usually named file_large_test) can be skipped by setting the following environment variable:
export GTEST_FILTER="-*large*"
You can skip both the large tests and the benchmark tests with the following:
export GTEST_FILTER="-*benchmark*:*large*"
By default all tests will be run.