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

testing: env variable OSL_TESTSUITE_THRESH_SCALE scales test thresholds #1934

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Feb 4, 2025

For any individual test running, the OSL_TESTSUITE_THRESH_SCALE environment variable, if set, will scale the image comparison thresholds used to decide if a test passes.

Furthermore, a special OSL_TESTSUITE_OPTIX_THRESH_SCALE environment variable, if set, will cause all OptiX related tests to be set up with scaled thresholds.

For any individual test running, the OSL_TESTSUITE_THRESH_SCALE
environment variable, if set, will scale the image comparison
thresholds used to decide if a test passes.

Furthermore, a special OSL_TESTSUITE_OPTIX_THRESH_SCALE environment
variable, if set, will cause *all* OptiX related tests to be set up
with scaled thresholds.

Signed-off-by: Larry Gritz <[email protected]>
@lgritz lgritz requested a review from chellmuth February 4, 2025 03:33
Copy link
Collaborator

@chellmuth chellmuth left a comment

Choose a reason for hiding this comment

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

LGTM!

@lgritz lgritz merged commit ffc5b90 into AcademySoftwareFoundation:main Feb 4, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants