[tests/test-rendering-tests] run git pull on correct dir
This commit is contained in:
parent
8a9a802636
commit
b318229993
|
@ -69,7 +69,7 @@ git = shutil.which ('git')
|
||||||
assert git
|
assert git
|
||||||
|
|
||||||
if os.path.isdir ('./text-rendering-tests'):
|
if os.path.isdir ('./text-rendering-tests'):
|
||||||
subprocess.run ([git, 'pull'], check=True)
|
subprocess.run ([git, 'pull'], cwd='text-rendering-tests', check=True)
|
||||||
else:
|
else:
|
||||||
subprocess.run ([git, 'clone', 'https://github.com/unicode-org/text-rendering-tests'], check=True)
|
subprocess.run ([git, 'clone', 'https://github.com/unicode-org/text-rendering-tests'], check=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue