From 88b320cc2b9a0d2b8ce2287605e3eaadfa18c88e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Fri, 6 Nov 2020 12:43:57 +0100 Subject: [PATCH] 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: --- validate/launcher/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/validate/launcher/main.py b/validate/launcher/main.py index b1051de59c..9214b80c89 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