mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
ci: Refactor mksnapshot test so that it doesn't stall. (#16875)
This commit is contained in:
committed by
GitHub
parent
7baa218ca9
commit
6a47089c78
@@ -39,7 +39,7 @@ def main():
|
||||
+ context_snapshot
|
||||
|
||||
test_path = os.path.join(SOURCE_ROOT, 'spec', 'fixtures', \
|
||||
'snapshot-items-available.js')
|
||||
'snapshot-items-available')
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
bin_files = glob.glob(os.path.join(app_path, '*.bin'))
|
||||
@@ -64,7 +64,7 @@ def main():
|
||||
except KeyboardInterrupt:
|
||||
print 'Other error'
|
||||
returncode = 0
|
||||
|
||||
print 'Returning with error code: {0}'.format(returncode)
|
||||
return returncode
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user