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 build info to pytest_report_header #1806

Merged
merged 2 commits into from
Aug 1, 2022

Conversation

Skylion007
Copy link
Contributor

Motivation and Context

  • This adds some additional debug info the pytest output (related to how habitat-sim was built). This is done by adding a special function called pytest_report_header to the conf_test file which then prints out a list of settings on the habitat_sim object and whether they are enabled or not.

After this change, the following info is prepended to the pytest report output:

C++ Build Info:
--audio_enabled: False
--built_with_bullet: True
--cuda_enabled: False
--vhacd_enabled: False

How Has This Been Tested

Types of changes

  • Docs change / refactoring / dependency upgrade
  • New feature (non-breaking change which adds functionality)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have completed my CLA (see CONTRIBUTING)
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jul 11, 2022
@Skylion007
Copy link
Contributor Author

The python_lint flakes seem to related to a flake8 upgrade.

Copy link
Contributor

@aclegg3 aclegg3 left a comment

Choose a reason for hiding this comment

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

LGTM

@Skylion007 Skylion007 merged commit 23d2ef5 into main Aug 1, 2022
@Skylion007 Skylion007 deleted the skylion007/pytest_report_header branch August 1, 2022 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants