Do not move over webpage archives, they are needed for capturing SKPs
NoTry: true
Bug: skia:6850
Change-Id: I35ac2c10ae58561ab5424033d9bb5e14b75c526f
Reviewed-on: https://skia-review.googlesource.com/24327
Commit-Queue: Ravi Mistry <rmistry@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
diff --git a/tools/skp/webpages_playback.py b/tools/skp/webpages_playback.py
index e8c049c..b800d85 100644
--- a/tools/skp/webpages_playback.py
+++ b/tools/skp/webpages_playback.py
@@ -252,12 +252,12 @@
try:
subprocess.check_call(' '.join(record_wpr_cmd), shell=True)
- # Move over the created archive into the local webpages archive
+ # Copy over the created archive into the local webpages archive
# directory.
- shutil.move(
+ shutil.copy(
os.path.join(LOCAL_REPLAY_WEBPAGES_ARCHIVE_DIR, wpr_data_file),
self._local_record_webpages_archive_dir)
- shutil.move(
+ shutil.copy(
os.path.join(LOCAL_REPLAY_WEBPAGES_ARCHIVE_DIR,
page_set_json_name),
self._local_record_webpages_archive_dir)