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

Prevent building FJT tests stand-alone #273

Merged
merged 1 commit into from
Jul 1, 2024
Merged

Conversation

gavanderhoorn
Copy link
Collaborator

As per title.

Should fix #270 (well .. work around it).

See the commit message for additional comments.

they call static functions in `ActionServer_FJT.c` and thus can't be
built stand-alone.

As `Tests_ActionServer_FJT.c` is part of the VS project, mpBuilder will
attempt to build it stand-alone, which leads to a failed build.

Use the pre-processor to present an empty file to mpBuilder if it tries
to do that.
@gavanderhoorn
Copy link
Collaborator Author

This fails, but not because of the changes in this PR (broken CI since #212 (comment)).

src/ActionServer_FJT.c Show resolved Hide resolved
@ted-miller ted-miller merged commit a1c9b5b into main Jul 1, 2024
5 of 14 checks passed
@ted-miller ted-miller deleted the vs_dont_build_fjt_tests branch July 1, 2024 19:14
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.

Tests_ActionServer_FJT.c causes compilation to fail if MOTOROS2_TESTING_ENABLE is defined
2 participants