[tests/test-rendering-tests] run git pull on correct dir

This commit is contained in:
Ebrahim Byagowi 2020-05-31 12:52:53 +04:30 committed by GitHub
parent 8a9a802636
commit b318229993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ git = shutil.which ('git')
assert git
if os.path.isdir ('./text-rendering-tests'):
subprocess.run ([git, 'pull'], check=True)
subprocess.run ([git, 'pull'], cwd='text-rendering-tests', check=True)
else:
subprocess.run ([git, 'clone', 'https://github.com/unicode-org/text-rendering-tests'], check=True)