diff options
Diffstat (limited to 'source/blender/io/usd/tests/usd_stage_creation_test.cc')
-rw-r--r-- | source/blender/io/usd/tests/usd_stage_creation_test.cc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/io/usd/tests/usd_stage_creation_test.cc b/source/blender/io/usd/tests/usd_stage_creation_test.cc index d41ae6c4f26..e6bd0bab6ce 100644 --- a/source/blender/io/usd/tests/usd_stage_creation_test.cc +++ b/source/blender/io/usd/tests/usd_stage_creation_test.cc @@ -49,19 +49,21 @@ TEST_F(USDStageCreationTest, JSONFileLoadingTest) usd_initialise_plugin_path(usd_datafiles_dir); /* Simply the ability to create a USD Stage for a specific filename means that the extension - * has been recognised by the USD library, and that a USD plugin has been loaded to write such + * has been recognized by the USD library, and that a USD plugin has been loaded to write such * files. Practically, this is a test to see whether the USD JSON files can be found and * loaded. */ std::string filename = "usd-stage-creation-test.usdc"; pxr::UsdStageRefPtr usd_stage = pxr::UsdStage::CreateNew(filename); if (usd_stage != nullptr) { - /* Even though we don't call usd_stage->SaveFile(), a file is still created on the filesystem - * when we call CreateNew(). It's immediately closed, though, so we can safely call unlink() - * here. */ + /* Even though we don't call `usd_stage->SaveFile()`, a file is still created on the + * file-system when we call CreateNew(). It's immediately closed, though, + * so we can safely call `unlink()` here. */ unlink(filename.c_str()); } else { - FAIL() << "unable to find suitable USD plugin to write " << filename; + FAIL() << "unable to find suitable USD plugin to write " << filename + << "; re-run with the environment variable PXR_PATH_DEBUG non-empty to see which paths " + "are considered."; } } |