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

Add some preliminary functional tests #36

Merged
merged 3 commits into from
May 26, 2020
Merged

Add some preliminary functional tests #36

merged 3 commits into from
May 26, 2020

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented May 14, 2020

Eventually we'll want to create a test to verify that we have spdlog configured correctly and can log data, but right now there aren't any good mechanisms to keep us from showering the ~/.ros/log/ directory with our log files. There also isn't a great way to determine exactly where the log ended up.

I'll follow-up with changes to add more comprehensive testing when those mechanisms are available.

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Eventually we'll want to create a test to verify that we have spdlog
configured correctly and can log data, but right now there aren't any
good mechanisms to keep us from showering the ~/.ros/log/ directory with
our log files. There also isn't a great way to determine exactly where
the log ended up.

I'll follow-up with changes to add more comprehensive testing when those
mechanisms are available.

Signed-off-by: Scott K Logan <logans@cottsay.net>
@cottsay cottsay added enhancement New feature or request in review labels May 14, 2020
@cottsay cottsay requested a review from brawner May 14, 2020 01:52
@cottsay cottsay self-assigned this May 14, 2020
Signed-off-by: Scott K Logan <logans@cottsay.net>
Signed-off-by: Scott K Logan <logans@cottsay.net>
@ahcorde
Copy link
Contributor

ahcorde commented May 15, 2020

I added in this PR https://github.com/ros2/rcl_logging/pull/37/files a function to check that the file is written properly

Copy link
Contributor

@Blast545 Blast545 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hidmic
Copy link
Contributor

hidmic commented May 26, 2020

@cottsay this one's ready to go, isn't it? @ahcorde improvements could be turned into a follow-up PR.

@cottsay
Copy link
Member Author

cottsay commented May 26, 2020

improvements could be turned into a follow-up PR.

Agreed. Some of the rcutils/rcpputils stuff I have lined up will make that better, anyway.

@cottsay cottsay merged commit b439255 into master May 26, 2020
@delete-merged-branch delete-merged-branch bot deleted the spdlog_tests branch May 26, 2020 18:26
@cottsay cottsay mentioned this pull request Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants