Commit 3b8b388
committed
Arnold tests : Disable problematic tests for Arnold 7 on Mac
These exposed a bug in Arnold 7's render session handling. This could be reproduced with the following simple script :
```
arnold.AiBegin()
while True :
# Make a universe, do an interactive render.
# If we don't do this, then all is well.
if True :
universe = arnold.AiUniverse()
arnold.AiSceneLoad( universe, './render.ass', None )
session = arnold.AiRenderSession( universe )
arnold.AiRenderBegin( session, arnold.AI_RENDER_MODE_CAMERA )
arnold.AiRenderEnd( session )
arnold.AiRenderSessionDestroy( session )
arnold.AiUniverseDestroy( universe )
# Make another universe, and load an ass file.
# Occasionally this will fail, either crashing or
# not producing any nodes.
universe = arnold.AiUniverse()
arnold.AiSceneLoad( universe, './load.ass', None )
assert( arnold.AiNodeLookUpByName( universe, "test" ) is not None )
arnold.AiUniverseDestroy( universe )
arnold.AiEnd()
```
We've confirmed that the upcoming Arnold 7.0.0.1 fixes both this simple repro and the original problem in the unit tests. But while that is still pending release, we want to be able to release Gaffer 0.61. Hence we disable the tests for the specific problematic Arnold version.1 parent c9415fe commit 3b8b388
File tree
2 files changed
+28
-0
lines changed- python
- GafferArnoldTest
- IECoreArnoldTest
2 files changed
+28
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
71 | 83 | | |
72 | 84 | | |
73 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
56 | 72 | | |
57 | 73 | | |
58 | 74 | | |
| |||
0 commit comments