Skip to content

tests: Decouple gtest headers from common test utilities - #289

Merged
harishdm merged 1 commit into
ittiam-systems:mainfrom
harishdm:gtest
Sep 25, 2026
Merged

harishdm merged 1 commit into
ittiam-systems:mainfrom
harishdm:gtest

Conversation

@harishdm

Copy link
Copy Markdown
Member

Remove unused <gtest/gtest.h> includes from TestCommon.cc, func_selector.h, and func_selector.cc. Wrap compare_output in TestCommon.h with #if __has_include(<gtest/gtest.h>) so that common test utilities can be reused by targets that do not depend on gtest (such as benchmarks).

Remove unused <gtest/gtest.h> includes from TestCommon.cc, func_selector.h,
and func_selector.cc. Wrap compare_output in TestCommon.h with
#if __has_include(<gtest/gtest.h>) so that common test utilities can be
reused by targets that do not depend on gtest (such as benchmarks).
@harishdm
harishdm merged commit e5a13d1 into ittiam-systems:main Sep 25, 2026
10 checks passed
@harishdm
harishdm deleted the gtest branch September 25, 2026 02:09
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.

1 participant