-
Notifications
You must be signed in to change notification settings - Fork 31
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
New macros to help with filter google-test in some platforms #102
Conversation
b0bd4c7
to
a432891
Compare
The ABI checker failed, I think |
18a8c78
to
cc88cd1
Compare
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.
LGTM! Tested by manually defining __APPLE__
and _WIN32
before including the header.
The new file provides macros that help with filtering googletest on some of the platforms. Signed-off-by: Jose Luis Rivero <[email protected]> Signed-off-by: Louise Poubel <[email protected]>
75a07e1
to
4255cdd
Compare
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.
LGTM, I'd just like to see a successful round of CI for gazebosim/gz-gui#76 before merging this, but that will be tough without an ign-cmake2
release.
Across the ignition software we have many cases where tests are not prepared to work on Windows, Mac or both. This PR implements a header providing two macros to be used instead of
TEST
macro from google test:IGN_UTILS_TEST_DISABLED_ON_WIN32
creates a google test that will not be run on Windows (although it will be compiled).IGN_UTILS_TEST_ENABLE_ONLY_LINUX
creates a google test that will only be run on Linux (although it will be compiled on all platforms).Testing: using this PR together with ign-gui in:
(needs more test filtering but already disabled most of the failures).