-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Tests get stuck with USD_EDITOR = vim #505
Comments
Filed as internal issue #161150. |
Hey @AlexSchwank @spiffmon and I looked at this briefly and we think the issue is that in the CMakeLists.txt file we're setting EDITOR to head but we think we should be setting USD_EDITOR instead. Thanks for the report! |
@c64kernal is right, usdedit looks at |
Description of Issue
When the USD_EDITOR environment variable is set to vi/vim, it's not possible to run all tests.
For example,
testUsdEditFilePermissions2
is testing if a write protected file can be opened withusdedit
in a read only way. That works but doesn't return and so the test is stuck.These kind of tests could use a modified test environment where USD_EDITOR is set to emacs or another suitable editor.
Steps to Reproduce
setenv USD_EDITOR vim
(orexport USD_EDITOR=vim
)ctest -R testUsdEditFilePermissions2
System Information (OS, Hardware)
centos7
Package Versions
0.8.5
Build Flags
-DPXR_BUILD_TESTS=TRUE
The text was updated successfully, but these errors were encountered: