[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-cvs
Subject: =?UTF-8?Q?=5B1=2E14=5D=20gst=2Dintegratio?= =?UTF-8?Q?n=2Dtestsuites=3A=20Cleanup?=
From: tsaunier () kemper ! freedesktop ! org (Thibault Saunier)
Date: 2018-03-31 15:38:14
Message-ID: 20180331153814.DBF7176132 () kemper ! freedesktop ! org
[Download RAW message or body]
Module: gst-integration-testsuites
Branch: 1.14
Commit: d25fdd077151725e87ba2dc3a5063dc03ddb12c7
URL: http://cgit.freedesktop.org/gstreamer/gst-integration-testsuites/commit/?id=d25fdd077151725e87ba2dc3a5063dc03ddb12c7
Author: Thibault Saunier <tsaunier@igalia.com>
Date: Sat Mar 31 12:37:17 2018 -0300
Cleanup right repository on force_sync
---
testsuites/testsuiteutils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuites/testsuiteutils.py b/testsuites/testsuiteutils.py
index 6a5efc6..27d9968 100644
--- a/testsuites/testsuiteutils.py
+++ b/testsuites/testsuiteutils.py
@@ -107,7 +107,7 @@ 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=asset_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)))
_______________________________________________
gstreamer-commits mailing list
gstreamer-commits@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic