summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2020-11-06 12:43:57 +0100
committerThibault Saunier <tsaunier@igalia.com>2020-12-08 15:25:30 +0000
commit88b320cc2b9a0d2b8ce2287605e3eaadfa18c88e (patch)
tree0f826cc7aac5d8eb0cb43e804149584893414d5e
parentf5c3a0c9a0cace2ff90f427132ceb428afd63a3e (diff)
validate: add sync-version
Be able by the command line to change the sync version which is usually the GST_VALIDATE_TESTSUITE_VERSION from the test suite Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/227>
-rw-r--r--validate/launcher/main.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/validate/launcher/main.py b/validate/launcher/main.py
index b1051de..9214b80 100644
--- a/validate/launcher/main.py
+++ b/validate/launcher/main.py
@@ -229,6 +229,7 @@ class LauncherConfig(Loggable):
self.sync = False
self.force_sync = False
self.sync_all = False
+ self.sync_version = None
self.check_bugs_status = False
self.retry_on_failures = False
self.html = False
@@ -584,6 +585,8 @@ class LauncherConfig(Loggable):
assets_group.add_argument("--sync-all", dest="sync_all", action="store_true",
help="Synchronize asset repository,"
" including big media files")
+ assets_group.add_argument("--sync-version", dest="sync_version",
+ help="Version of the asset repository, default is GST_VALIDATE_TESTSUITE_VERSION")
assets_group.add_argument("--usage", action=PrintUsage,
help="Print usage documentation")
return parser