Skip to content

Add build info to pytest_report_header#1806

Merged
Skylion007 merged 2 commits intomainfrom
skylion007/pytest_report_header
Aug 1, 2022
Merged

Add build info to pytest_report_header#1806
Skylion007 merged 2 commits intomainfrom
skylion007/pytest_report_header

Conversation

@Skylion007
Copy link
Copy Markdown
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 Skylion007 requested a review from eundersander July 11, 2022 17:22
@Skylion007
Copy link
Copy Markdown
Contributor Author

The python_lint flakes seem to related to a flake8 upgrade.

Copy link
Copy Markdown
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