-
Notifications
You must be signed in to change notification settings - Fork 202
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
migrate more pxrUsdMayaGL tests from plugin/pxr/... to test/... #761
Merged
kxl-adsk
merged 12 commits into
Autodesk:dev
from
mattyjams:pr/continued_pxrUsdMayaGL_test_migration
Sep 9, 2020
Merged
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
e8ef94b
migrate testBatchRendererReset test from plugin/pxr/... to test/... a…
mattyjams 728205c
migrate testProxyShapeDrawAndTransform test from plugin/pxr/... to te…
mattyjams 9102664
migrate testProxyShapeDrawColors test from plugin/pxr/... to test/lib…
mattyjams f45fe69
migrate testProxyShapeDrawTimeSampled test from plugin/pxr/... to tes…
mattyjams 79a6a40
migrate testProxyShapeDrawUsdChangeProcessing test from plugin/pxr/..…
mattyjams 20aed56
migrate testProxyShapeDrawColorAccuracy test from plugin/pxr/... to t…
mattyjams 97e53d3
migrate testProxyShapeDrawVisibility test from plugin/pxr/... to test…
mattyjams 67faf03
migrate testProxyShapeLiveSurface test from plugin/pxr/... to test/li…
mattyjams 34dadd8
migrate testProxyShapeDrawPerformance test from plugin/pxr/... to tes…
mattyjams 4261941
migrate testProxyShapeDuplicatePerformance test from plugin/pxr/... t…
mattyjams 14e0c2b
migrate testProxyShapeSelectionPerformance test from plugin/pxr/... t…
mattyjams 17f789a
remove root prim xformOps for testProxyShapeLiveSurface test USD
mattyjams File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
229 changes: 0 additions & 229 deletions
229
plugin/pxr/maya/lib/pxrUsdMayaGL/testenv/BatchRendererResetTest/AssemblySaveAsTest.ma
This file was deleted.
Oops, something went wrong.
215 changes: 0 additions & 215 deletions
215
...dMayaGL/testenv/ProxyShapeDrawUsdChangeProcessingTest/UsdChangeProcessingTest_Assembly.ma
This file was deleted.
Oops, something went wrong.
1,460 changes: 0 additions & 1,460 deletions
1,460
...testenv/ProxyShapeSelectionPerformanceTest/Grid_5_of_CubeGridCombinedMesh_ProxyOnly_10.ma
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
test/lib/mayaUsd/render/pxrUsdMayaGL/ProxyShapeDrawColorAccuracyTest/CubeModel_Red.usda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#usda 1.0 | ||
( | ||
defaultPrim = "CubeModel" | ||
upAxis = "Z" | ||
) | ||
|
||
def "CubeModel" ( | ||
prepend references = @./CubeModel.usda@</CubeModel> | ||
variants = { | ||
string shadingVariant = "Red" | ||
} | ||
) | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mattyjams
As a FYI, I noticed that both testProxyShapeLiveSurface and testProxyShapeSelectionPerformance fail on my Windows after syncing to the latest dev changes.
@kxl-adsk I believe you mentioned the same failure on your side. I don't think I notice these failures when I originally reviewed this PR but they show up now.
Requires more investigation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh, sorry about that @HamedSabri-adsk. They've been passing for me on Linux. I briefly had access to a Windows machine before we left the studio, but I've since lost that. :/
Do you have any logs handy from failed runs of either of those tests? And I assume all of the other
pxrUsdMayaGL
tests are passing?Just a wild guess without any more detail for the moment, but the one thing common to these two tests and absent from all the others is the shenanigans they pull dealing with PySide2 and shiboken2 so that they can emulate clicking in the viewports. Maybe there's something there that's problematic on Windows?
Let me know what I can do to help get to the bottom of that!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed I saw these when validating your change @mattyjams and before merging. I was confused because @HamedSabri-adsk run the tests and they were passing. The explanation I found is that we can be using builds of Maya with asserts enabled. When we do, these tests will cause Maya to assert when the application is exiting. This then causes the test to fail. You won't get it with the official build of Maya.
The assert seems to be complaining that there are still some shared GL widgets alive when we are releasing resources.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the extra info @kxl-adsk. Makes sense then why I might not be seeing those failed asserts.
I took a wild stab at addressing this in #777, so we can continue the investigation there.