mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Don't error if a non-existant file is passed via TestFailureException
This commit is contained in:
@@ -114,6 +114,8 @@ class TestLogger:
|
||||
ext = fname.rfind('.')
|
||||
if ext > 0:
|
||||
fname = fname[0:ext] + '_ref' + fname[ext:]
|
||||
if not os.path.exists(f):
|
||||
continue
|
||||
shutil.copyfile(f, util.get_artifact_path(fname))
|
||||
file_list.append(fname)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user