...
 
Commits (4)
This diff is collapsed.
......@@ -113,7 +113,7 @@ if __name__ == "__main__":
continue
except subprocess.CalledProcessError:
with open(gitignore, "a") as f:
f.write(rpath + "\n")
f.write("medias/" + rpath + "\n")
print('Syncing %s' % rpath)
res.append([rpath, os.path.getsize(fname)])
......
......@@ -107,13 +107,12 @@ def update_assets(options, assets_dir):
CHECKOUT_BRANCH_COMMAND = "git fetch origin && (git checkout origin/%s || git checkout tags/%s)" % (
GST_VALIDATE_TESTSUITE_VERSION, GST_VALIDATE_TESTSUITE_VERSION)
if options.force_sync:
subprocess.check_call(["git", "reset", "--hard"])
subprocess.check_call(["git", "reset", "--hard"], cwd=assets_dir)
print("Checking out %s" % GST_VALIDATE_TESTSUITE_VERSION)
subprocess.check_call(CHECKOUT_BRANCH_COMMAND, shell=True, cwd=assets_dir)
download_files(os.path.basename(os.path.join(assets_dir)))
except Exception as e:
print("\nERROR: Could not update assets \n\n%s"
"\n\nMAKE SURE YOU HAVE git-annex INSTALLED!" % (e))
print("\nERROR: Could not update assets \n\n: %s" % e)
return False
......
......@@ -397,6 +397,7 @@ validate.hls.playback.reverse_playback.hls_bibbop
validate.hls.playback.scrub_forward_seeking.hls_bibbop
validate.hls.playback.seek_backward.hls_bibbop
validate.hls.playback.seek_forward.hls_bibbop
validate.hls.playback.seek_with_stop.hls_bibbop
validate.http.media_check.mp3_h264_1_mp4
validate.http.media_check.raw_h264_1_mp4
validate.http.media_check.raw_video_mkv
......