Skip to content

Commit

Permalink
[usdImagingGL] fix thresholds for testUsdImagingGLPurpose
Browse files Browse the repository at this point in the history
Currently, testUsdImagingGLPurpose relies solely on perceptual diff,
which fails to detect a change between world_0.png (which shows a
sphere) and world_1.png (which is empty). Changing to a reasonable
default for pixel difference (-fail .1, -failpercent 10) which can
successfully distinguish the two images.
  • Loading branch information
pmolodo committed Apr 3, 2022
1 parent c5396f6 commit c669a8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pxr/usdImaging/usdImagingGL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1854,8 +1854,8 @@ pxr_register_test(testUsdImagingGLPurpose
world_1.png
world_2.png
world_3.png
FAIL 1
FAIL_PERCENT 1
FAIL .1
FAIL_PERCENT 10
PERCEPTUAL
EXPECTED_RETURN_CODE 0
TESTENV testUsdImagingGLPurpose
Expand Down

0 comments on commit c669a8d

Please sign in to comment.