mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
Re-enable the spawn tesRe-enable the spawn test
This commit is contained in:
@@ -62,7 +62,12 @@ def build_c_extensions(ext_dir, args):
|
|||||||
|
|
||||||
|
|
||||||
def run_tests(path_to_kitty, cwd_on_failure):
|
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:
|
if ret != 0:
|
||||||
os.chdir(cwd_on_failure)
|
os.chdir(cwd_on_failure)
|
||||||
print(
|
print(
|
||||||
|
|||||||
@@ -44,6 +44,5 @@ class TestTUI(BaseTest):
|
|||||||
self.assertTrue(le.pending_bell)
|
self.assertTrue(le.pending_bell)
|
||||||
|
|
||||||
def test_multiprocessing_spawn(self):
|
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
|
from kitty.multiprocessing import test_spawn
|
||||||
test_spawn()
|
test_spawn()
|
||||||
|
|||||||
Reference in New Issue
Block a user