Skip to content

try to fix compat with googletest 1.15#874

Merged
bradh352 merged 1 commit intoc-ares:mainfrom
bradh352:gtest_fix
Sep 4, 2024
Merged

try to fix compat with googletest 1.15#874
bradh352 merged 1 commit intoc-ares:mainfrom
bradh352:gtest_fix

Conversation

@bradh352
Copy link
Copy Markdown
Member

@bradh352 bradh352 commented Sep 4, 2024

Due to running containerized tests we had to cut and paste the TEST_P macro definition in googletest/include/gtest/gtest-param-test.h, and modify it as it isn't designed to be wrapped in any way. Unfortunately this tends to change from release to release, usually in minor ways ... but also google test specifically doesn't advertise its own version so it can be hard to work around.

Lets try to fix compatibility with google test 1.15

Fixes #873
Authored-By: Brad House (@bradh352)

@bradh352 bradh352 merged commit 3ab50cb into c-ares:main Sep 4, 2024
@bradh352 bradh352 deleted the gtest_fix branch September 4, 2024 18:07
bradh352 added a commit that referenced this pull request Sep 4, 2024
Due to running containerized tests we had to cut and paste the `TEST_P`
macro definition in `googletest/include/gtest/gtest-param-test.h`, and
modify it as it isn't designed to be wrapped in any way. Unfortunately
this tends to change from release to release, usually in minor ways ...
but also google test specifically doesn't advertise its own version so
it can be hard to work around.

Lets try to fix compatibility with google test 1.15

Fixes #873
Authored-By: Brad House (@bradh352)
bradh352 added a commit that referenced this pull request Sep 4, 2024
Due to running containerized tests we had to cut and paste the `TEST_P`
macro definition in `googletest/include/gtest/gtest-param-test.h`, and
modify it as it isn't designed to be wrapped in any way. Unfortunately
this tends to change from release to release, usually in minor ways ...
but also google test specifically doesn't advertise its own version so
it can be hard to work around.

Lets try to fix compatibility with google test 1.15

Fixes #873
Authored-By: Brad House (@bradh352)
bradh352 added a commit that referenced this pull request Sep 4, 2024
Due to running containerized tests we had to cut and paste the `TEST_P`
macro definition in `googletest/include/gtest/gtest-param-test.h`, and
modify it as it isn't designed to be wrapped in any way. Unfortunately
this tends to change from release to release, usually in minor ways ...
but also google test specifically doesn't advertise its own version so
it can be hard to work around.

Lets try to fix compatibility with google test 1.15

Fixes #873
Authored-By: Brad House (@bradh352)
bradh352 added a commit that referenced this pull request Sep 4, 2024
Due to running containerized tests we had to cut and paste the `TEST_P`
macro definition in `googletest/include/gtest/gtest-param-test.h`, and
modify it as it isn't designed to be wrapped in any way. Unfortunately
this tends to change from release to release, usually in minor ways ...
but also google test specifically doesn't advertise its own version so
it can be hard to work around.

Lets try to fix compatibility with google test 1.15

Fixes #873
Authored-By: Brad House (@bradh352)
bradh352 added a commit that referenced this pull request Sep 4, 2024
Due to running containerized tests we had to cut and paste the `TEST_P`
macro definition in `googletest/include/gtest/gtest-param-test.h`, and
modify it as it isn't designed to be wrapped in any way. Unfortunately
this tends to change from release to release, usually in minor ways ...
but also google test specifically doesn't advertise its own version so
it can be hard to work around.

Lets try to fix compatibility with google test 1.15

Fixes #873
Authored-By: Brad House (@bradh352)
bradh352 added a commit that referenced this pull request Sep 4, 2024
Due to running containerized tests we had to cut and paste the `TEST_P`
macro definition in `googletest/include/gtest/gtest-param-test.h`, and
modify it as it isn't designed to be wrapped in any way. Unfortunately
this tends to change from release to release, usually in minor ways ...
but also google test specifically doesn't advertise its own version so
it can be hard to work around.

Lets try to fix compatibility with google test 1.15

Fixes #873
Authored-By: Brad House (@bradh352)
michael-dev pushed a commit to HamelinPorts/android_external_c-ares that referenced this pull request Apr 25, 2026
Due to running containerized tests we had to cut and paste the `TEST_P`
macro definition in `googletest/include/gtest/gtest-param-test.h`, and
modify it as it isn't designed to be wrapped in any way. Unfortunately
this tends to change from release to release, usually in minor ways ...
but also google test specifically doesn't advertise its own version so
it can be hard to work around.

Lets try to fix compatibility with google test 1.15

Fixes c-ares#873
Authored-By: Brad House (@bradh352)
michael-dev pushed a commit to HamelinPorts/android_external_c-ares that referenced this pull request Apr 25, 2026
Due to running containerized tests we had to cut and paste the `TEST_P`
macro definition in `googletest/include/gtest/gtest-param-test.h`, and
modify it as it isn't designed to be wrapped in any way. Unfortunately
this tends to change from release to release, usually in minor ways ...
but also google test specifically doesn't advertise its own version so
it can be hard to work around.

Lets try to fix compatibility with google test 1.15

Fixes c-ares#873
Authored-By: Brad House (@bradh352)
michael-dev pushed a commit to HamelinPorts/android_external_c-ares that referenced this pull request Apr 25, 2026
Due to running containerized tests we had to cut and paste the `TEST_P`
macro definition in `googletest/include/gtest/gtest-param-test.h`, and
modify it as it isn't designed to be wrapped in any way. Unfortunately
this tends to change from release to release, usually in minor ways ...
but also google test specifically doesn't advertise its own version so
it can be hard to work around.

Lets try to fix compatibility with google test 1.15

Fixes c-ares#873
Authored-By: Brad House (@bradh352)
michael-dev pushed a commit to HamelinPorts/android_external_c-ares that referenced this pull request Apr 25, 2026
Due to running containerized tests we had to cut and paste the `TEST_P`
macro definition in `googletest/include/gtest/gtest-param-test.h`, and
modify it as it isn't designed to be wrapped in any way. Unfortunately
this tends to change from release to release, usually in minor ways ...
but also google test specifically doesn't advertise its own version so
it can be hard to work around.

Lets try to fix compatibility with google test 1.15

Fixes c-ares#873
Authored-By: Brad House (@bradh352)
michael-dev pushed a commit to HamelinPorts/android_external_c-ares that referenced this pull request Apr 25, 2026
Due to running containerized tests we had to cut and paste the `TEST_P`
macro definition in `googletest/include/gtest/gtest-param-test.h`, and
modify it as it isn't designed to be wrapped in any way. Unfortunately
this tends to change from release to release, usually in minor ways ...
but also google test specifically doesn't advertise its own version so
it can be hard to work around.

Lets try to fix compatibility with google test 1.15

Fixes c-ares#873
Authored-By: Brad House (@bradh352)
michael-dev pushed a commit to HamelinPorts/android_external_c-ares that referenced this pull request Apr 25, 2026
Due to running containerized tests we had to cut and paste the `TEST_P`
macro definition in `googletest/include/gtest/gtest-param-test.h`, and
modify it as it isn't designed to be wrapped in any way. Unfortunately
this tends to change from release to release, usually in minor ways ...
but also google test specifically doesn't advertise its own version so
it can be hard to work around.

Lets try to fix compatibility with google test 1.15

Fixes c-ares#873
Authored-By: Brad House (@bradh352)
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.

c-ares 1.33.1 fails to build with googletest 1.15.2

1 participant