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

extraneous commas #517

Closed
nlslatt opened this issue Oct 25, 2019 · 8 comments
Closed

extraneous commas #517

nlslatt opened this issue Oct 25, 2019 · 8 comments

Comments

@nlslatt
Copy link
Collaborator

nlslatt commented Oct 25, 2019

Describe the bug

INSTANTIATE_TYPED_TEST_CASE_P macro calls have an extraneous comma at the end. For example:

INSTANTIATE_TYPED_TEST_CASE_P(test_mem_serial, TestMemoryActive, MsgSerial, );

This macro is defined as below in the versions of gtest used by EMPIRE and vt-auto-build:

# define INSTANTIATE_TYPED_TEST_CASE_P(Prefix, CaseName, Types)
@PhilMiller
Copy link
Member

See #512 and its fix #513

@nlslatt
Copy link
Collaborator Author

nlslatt commented Oct 25, 2019

Actually, @pbmille, #513 is what caused my compile errors.

@lifflander
Copy link
Collaborator

Oh, this is surprising. This was causing warnings in the version of gtest we were using. Maybe we should synchronize the versions of gtest so we don't have conflicts like this?

@pnstickne
Copy link
Contributor

pnstickne commented Oct 28, 2019

Link - #465

It might be worthwhile to require gtest to be at least the latest stable release 1.10.1+ (still < 1 month old).

lifflander pushed a commit that referenced this issue Oct 28, 2019
@nlslatt
Copy link
Collaborator Author

nlslatt commented Oct 28, 2019

@lifflander, @pnstickne We decided a long time ago to have vt-auto-build fetch a specific version of gtest due to its ever-changing interface and the need to be compatible with EMPIRE. We aren't the only ones using EMPIRE's gtest so we might be stuck with the ancient version. We should document what version is needed so that it can be obtained without vt-auto-build.

@PhilMiller
Copy link
Member

Would the EMPIRE folks be opposed to that getting updated? Or is it just a matter of the effort involved?

@nlslatt
Copy link
Collaborator Author

nlslatt commented Oct 28, 2019

@PhilMiller I haven't asked. Even if it was updated, it would still be a fixed version that would eventually become stale. Is it worth it?

@bathmatt Is there a requirement that EMPIRE's gtest stay at it's current very old version, or is there the possibility of making it more current? vt doesn't require a newer version, but is forced to require the same version as EMPIRE.

lifflander pushed a commit that referenced this issue Oct 28, 2019
@lifflander
Copy link
Collaborator

Closing, merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants