Skip to content

pablode/guc-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

guc-tests

This is the test suite for guc, a glTF to USD converter.

For test-specific information, please see the Graphical Test Overview.

Local setup

  1. Build and install USD v23.08 with the following flags:
    --materialx --openimageio --build-args OpenImageIO,"-DOIIO_BUILD_TOOLS=ON"
  2. Build guc in debug configuration, add it to your PATH
  3. Execute run_tests.sh using bash

Environment variables

Test execution can be influenced using following variables:

Name Description
GT_DISABLE_CONVERSION Disable glTF to USD conversion. This option reduces test execution time when debugging the MaterialX glTF PBR implementation or hdStorm.
GT_DISABLE_GRAPHICAL Disable all graphical tests
GT_DISABLE_GRAPHICAL_MTLX Disable MaterialX graphical tests
GT_DISABLE_GRAPHICAL_PREVIEW Disable UsdPreviewSurface graphical tests
GT_VERBOSE Print all executed commands

Continuous integration

Tests can be executed on the CI, via guc's GitHub Actions workflow.

Note: graphical test execution on the CI is not advised due to long execution times and rendering artifacts.