Skip to content

smartvmi: add gtest dependency to build test successfully #4

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

Merged
merged 1 commit into from
May 19, 2025

Conversation

lbeierlieb
Copy link
Collaborator

previously, the Nix packaging from this repository assumed that the CMakeLists.txt are modified in such a way that the tests are not built by default.
GDATASoftwareAG/smartvmi#154 (comment) requested to remove the behavior. The suggestion to build the CMakeLists.txt from the src folder instead of the top level is great, but after a few tries I did not find the correct derivation settings (e.g., by setting cmakeDir) and chose to just build the tests as well. This commit switches the smartvmi source to a commit without the CMakeLists.txt changes and adds gtest to both vmicore and the plugins (required dependency of the test code).

previously, the Nix packaging from this repository assumed that the
CMakeLists.txt are modified in such a way that the tests are not built
by default.
GDATASoftwareAG/smartvmi#154 (comment)
requested to remove the behavior. The suggestion to build the
CMakeLists.txt from the src folder instead of the top level is great,
but after a few tries I did not find the correct derivation settings
(e.g., by setting cmakeDir) and chose to just build the tests as well.
This commit switches the smartvmi source to a commit without the
CMakeLists.txt changes and adds gtest to both vmicore and the plugins
(required dependency of the test code).
@lbeierlieb lbeierlieb self-assigned this May 19, 2025
@lbeierlieb lbeierlieb merged commit 057eafc into main May 19, 2025
4 checks passed
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