From c669a8d0d115b7e371933753ee0b92bc2271ecac Mon Sep 17 00:00:00 2001 From: Paul Molodowitch Date: Sun, 3 Apr 2022 06:15:24 -0700 Subject: [PATCH] [usdImagingGL] fix thresholds for testUsdImagingGLPurpose 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. --- pxr/usdImaging/usdImagingGL/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pxr/usdImaging/usdImagingGL/CMakeLists.txt b/pxr/usdImaging/usdImagingGL/CMakeLists.txt index 8481ec387e..22e8285740 100644 --- a/pxr/usdImaging/usdImagingGL/CMakeLists.txt +++ b/pxr/usdImaging/usdImagingGL/CMakeLists.txt @@ -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