Problem: ./mlm_selftest
can't find .cfg files in mlm_client
selftests and fails
#335
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Solution: Add
configure_file
calls to CMakeListsWARNING: This modifies a zproject generated file.
This is meant as a quick-fix for those stump as to why mlm_client selftest fails with the following when executing
mlm_selftest
When running cmake from clion IDE, the default behavior is that
mlm_selftest
is it's own test project you can execute, but when doing so the authorization fails (relating to not finding .cfg). I have yet to dive into the depths of how this could be done with zproject properly, and I tried implementing the suggestion of moving them to/src/selftests_ro
( #272 ) but that was honestly a lot of changes and they wouldn't of been valid anyways since they were modifying zproject generated files.Not reading in
mlm_client.cfg
failed gracefully with a warning, but sendingPLAIN
to the auth actor with non-existantpasswords.cfg
is out the scope of malamute (different repo) but would be nice if it also warned.