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

lestarch: allowing GTest to be disabled in UTs #1004

Merged
merged 1 commit into from
Sep 1, 2021

Conversation

LeStarch
Copy link
Collaborator

@LeStarch LeStarch commented Sep 1, 2021

Originating Project/Creator Infrastructure
Affected Component
Affected Architectures(s)
Related Issue(s)
Has Unit Tests (y/n)
Builds Without Errors (y/n)
Unit Tests Pass (y/n)
Documentation Included (y/n)

Change Description

Allows users to disable GTest dependencies in UTs:

set(UT_INCLUDE_GTEST OFF)
fprime_register_ut(...

Rationale

GTest was always intended to be an optional addition to our unit tests. It helps the test, but should not be required. Thus we have the ability to turn it off.

Testing/Review Recommendations

None

Future Work

Ensure this feature is not lost in the move to v3.0.0

@LeStarch LeStarch requested a review from timcanham September 1, 2021 18:51
@LeStarch LeStarch merged commit 3df30d6 into nasa:devel Sep 1, 2021
@LeStarch LeStarch deleted the update/allow-disable-gtest branch September 2, 2021 22:39
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.

2 participants