if(WITH_OPENGL_TESTS)
add_cycles_render_test(opengl)
endif()
+ add_cycles_render_test(denoise)
add_cycles_render_test(displacement)
add_cycles_render_test(image_data_types)
add_cycles_render_test(image_mapping)
def verify_output(report, filepath):
ref_img, new_img, diff_img = test_get_images(filepath)
+
+ # copy new image
+ if os.path.exists(new_img):
+ os.remove(new_img)
+ if os.path.exists(TEMP_FILE):
+ shutil.copy(TEMP_FILE, new_img)
+
+
if not os.path.exists(ref_img):
return False
if VERBOSE:
print_message(e.output.decode("utf-8"))
- # copy new image
- if os.path.exists(new_img):
- os.remove(new_img)
- if os.path.exists(TEMP_FILE):
- shutil.copy(TEMP_FILE, new_img)
-
return not failed