While testing OpenYR’s renderer, I pointed OPENYR_GAMEDIR at a missing directory and the voxel-cache test still passed. That test looked for the standard home install and could return early when it was absent. The renderer integration tests already checked the supplied path, so the same setting meant different things depending on which tests I ran. Renderer regression and verification
I moved the integration suite’s lookup into a test helper shared by the renderer’s unit and integration tests. An explicit path takes precedence and must be a directory. With the variable unset, the home install stays optional. When neither is available, the tests can return before their retail assertions. Shared fixture lookup
| Setup | What the renderer tests do |
|---|---|
| Valid override, empty home | Load the configured install. |
| Missing override path, valid home install | Fail on the configured path. |
| No override or home install | Skip the retail assertions. |
On the macOS test run, an empty home and a valid override exercised all 11 selected renderer unit checks, including a projection check across 56 pose and heading views. A missing override path failed all 11 with the standard home install still available. I used the same rule for the headless menu compositor checks, where an existing but empty directory also failed when the tests tried to load required fonts or art. Menu compositor test receipt