Re-enable the spawn tesRe-enable the spawn test

This commit is contained in:
Kovid Goyal 2020-06-23 20:43:40 +05:30
parent ee2fdb3d25
commit 50414b333a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 6 additions and 2 deletions

View File

@ -62,7 +62,12 @@ def build_c_extensions(ext_dir, args):
def run_tests(path_to_kitty, cwd_on_failure):
ret = run(PYTHON, 'test.py', cwd=cwd_on_failure)
kw = {'cwd': cwd_on_failure}
if not ismacos:
# this is needed for the spawn test which starts an interpreter
# using the kitty launcher.
kw['PYTHONHOME'] = PREFIX
ret = run(PYTHON, 'test.py', **kw)
if ret != 0:
os.chdir(cwd_on_failure)
print(

View File

@ -44,6 +44,5 @@ class TestTUI(BaseTest):
self.assertTrue(le.pending_bell)
def test_multiprocessing_spawn(self):
return # temporarily disable this test till I can figure out why its failing in the build env
from kitty.multiprocessing import test_spawn
test_spawn()