forked from bartvdbraak/blender
Fix undefined variable on errors in Cycles ctests.
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2201
This commit is contained in:
parent
d8681c99c4
commit
9fc1cfc4f1
@ -38,11 +38,11 @@ def render_file(filepath):
|
||||
elif b"blender probably wont start" in e.output:
|
||||
return "NO_START"
|
||||
return "CRASH"
|
||||
except:
|
||||
except BaseException as e:
|
||||
if os.path.exists(TEMP_FILE):
|
||||
os.remove(TEMP_FILE)
|
||||
if VERBOSE:
|
||||
print(e.output.decode("utf-8"))
|
||||
print(e)
|
||||
return "CRASH"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user