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

Disable Unit test that have segfaults on Mac (rendering3) #1023

Merged
merged 6 commits into from
Jul 29, 2024

Conversation

Crola1702
Copy link
Contributor

🦟 Bug fix

Disable tests from #847

Summary

This PR disables all tests that have segfaults in MacOS

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@Crola1702 Crola1702 requested a review from iche033 as a code owner July 26, 2024 14:46
@github-actions github-actions bot added the 🏰 citadel Ignition Citadel label Jul 26, 2024
@Crola1702 Crola1702 requested review from azeey and Blast545 July 26, 2024 16:23
@Crola1702 Crola1702 self-assigned this Jul 26, 2024
@Crola1702 Crola1702 changed the title Disable Unit test that have segfaults on Mac Disable Unit test that have segfaults on Mac (rendering3) Jul 26, 2024
Comment on lines +13 to +21
if (APPLE)
list(REMOVE_ITEM tests camera.cc)
list(REMOVE_ITEM tests depth_camera.cc)
list(REMOVE_ITEM tests render_pass.cc)
list(REMOVE_ITEM tests shadows.cc)
list(REMOVE_ITEM tests scene.cc)
list(REMOVE_ITEM tests thermal_camera.cc)
endif()

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this needed with the other ifdef macros already in place?

Copy link
Contributor Author

@Crola1702 Crola1702 Jul 26, 2024

Choose a reason for hiding this comment

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

These disable Integration tests. ifdef disable unit tests.

@Crola1702
Copy link
Contributor Author

@azeey @iche033, I see CI is waiting for ignition_rendering-abichecker, but I see that project is disabled. Should we remove it from the check requirements? Or change it to be a different job?

@iche033
Copy link
Contributor

iche033 commented Jul 29, 2024

@azeey @iche033, I see CI is waiting for ignition_rendering-abichecker, but I see that project is disabled. Should we remove it from the check requirements? Or change it to be a different job?

I changed it to gz_rendering-abichecker-any_to_any-ubuntu-focal-amd64 as I saw that the build is triggered there, and it passed.

@Crola1702 Crola1702 merged commit 4d00433 into ign-rendering3 Jul 29, 2024
9 of 10 checks passed
@Crola1702 Crola1702 deleted the Crola1702/disable-tests branch July 29, 2024 17:03
Crola1702 added a commit that referenced this pull request Jul 30, 2024
* Remove camera.cc from integration tests

Signed-off-by: Crola1702 <[email protected]>

* Remove failing integration tests

Signed-off-by: Crola1702 <[email protected]>

* Disable ArrowVisual Test

Signed-off-by: Crola1702 <[email protected]>

* Disable Unit test that have segfaults on Mac

Signed-off-by: Crola1702 <[email protected]>

* Disable other tests

Signed-off-by: Crola1702 <[email protected]>

* Disable all tests that have segfaults in MacOs

Signed-off-by: Crola1702 <[email protected]>

---------

Signed-off-by: Crola1702 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏰 citadel Ignition Citadel
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants