mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +02:00
Ensure local kitty is used when running the tests
This commit is contained in:
3
setup.py
3
setup.py
@@ -1538,7 +1538,8 @@ def main() -> None:
|
|||||||
args.prefix = os.path.abspath(args.prefix)
|
args.prefix = os.path.abspath(args.prefix)
|
||||||
os.chdir(base)
|
os.chdir(base)
|
||||||
if args.action == 'test':
|
if args.action == 'test':
|
||||||
os.execlp('kitty', 'kitty', '+launch', 'test.py')
|
texe = os.path.abspath('kitty/launcher/kitty')
|
||||||
|
os.execl(texe, texe, '+launch', 'test.py')
|
||||||
if args.action == 'clean':
|
if args.action == 'clean':
|
||||||
clean()
|
clean()
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user