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

Fix ogre 1.x tests #409

Merged
merged 3 commits into from
Sep 16, 2021
Merged

Fix ogre 1.x tests #409

merged 3 commits into from
Sep 16, 2021

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Sep 15, 2021

Signed-off-by: Ian Chen [email protected]

🦟 Bug fix

Summary

homebrew builds are now running ogre 1.x tests in ign-rendering6, and there are currently a few test failures.

This PR fixes the failing tests.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • 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

Signed-off-by: Ian Chen <[email protected]>
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Sep 15, 2021
@iche033
Copy link
Contributor Author

iche033 commented Sep 15, 2021

homebrew build is now ✔️

@codecov
Copy link

codecov bot commented Sep 15, 2021

Codecov Report

Merging #409 (03b2b93) into main (1567c35) will increase coverage by 0.00%.
The diff coverage is 16.66%.

❗ Current head 03b2b93 differs from pull request most recent head e746e9b. Consider uploading reports for the commit e746e9b to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             main     #409   +/-   ##
=======================================
  Coverage   58.53%   58.53%           
=======================================
  Files         174      174           
  Lines       17345    17346    +1     
=======================================
+ Hits        10153    10154    +1     
  Misses       7192     7192           
Impacted Files Coverage Δ
ogre/src/OgreGpuRays.cc 0.00% <0.00%> (ø)
ogre/src/OgreMesh.cc 0.00% <ø> (ø)
ogre/src/OgreNode.cc 45.19% <100.00%> (ø)
...e/ignition/rendering/base/BaseGaussianNoisePass.hh 100.00% <0.00%> (+3.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1567c35...e746e9b. Read the comment docs.

@chapulina chapulina added beta Targeting beta release of upcoming collection macOS macOS support bug Something isn't working labels Sep 16, 2021
Ogre::MaterialManager::getSingleton().remove(
this->ogreSubEntity->getMaterialName());
// this causes several tests to crash on exit because MaterialManager
// is already deleted before this call
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 only a problem on macOS?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's a problem on ubuntu as well

@chapulina chapulina merged commit 4bff736 into main Sep 16, 2021
@chapulina chapulina deleted the fix_ogre1_tests branch September 16, 2021 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Targeting beta release of upcoming collection bug Something isn't working 🏯 fortress Ignition Fortress macOS macOS support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants