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

Use perceptual diff for more robust image comparison in tests #405

Merged
merged 2 commits into from
Jun 5, 2018

Conversation

tribal-tec
Copy link
Contributor

No description provided.

@tribal-tec tribal-tec force-pushed the master branch 3 times, most recently from 85c6d36 to 4080d9a Compare June 4, 2018 16:14
@tribal-tec tribal-tec changed the title Update testdatas after epsilon change Use perceptual diff for more robust image comparison in tests Jun 4, 2018
@tribal-tec tribal-tec requested review from favreau and karjonas June 4, 2018 16:37
tests/brayns.cpp Outdated
@@ -142,11 +147,12 @@ BOOST_AUTO_TEST_CASE(defaults)
BOOST_CHECK(geomParams.getMemoryMode() == brayns::MemoryMode::shared);
}

#ifdef BRAYNS_USE_FREEIMAGE
BOOST_AUTO_TEST_CASE(render_two_frames_and_compare_they_are_same)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you move the pdiff-related tests to braynsTestData.cpp or snapshot.cpp to separate them from the others? Then you would not need to use any ifdefs here.

@tribal-tec tribal-tec force-pushed the master branch 6 times, most recently from c8bce74 to bdb33ff Compare June 5, 2018 09:42
@tribal-tec tribal-tec force-pushed the master branch 2 times, most recently from fb4b569 to ddc1bce Compare June 5, 2018 11:40
@tribal-tec
Copy link
Contributor Author

Have to fix the Docker build, hold on...

@tribal-tec tribal-tec merged commit c574f09 into BlueBrain:master Jun 5, 2018
@tribal-tec tribal-tec added the bug label Jun 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants