tests: Specifically #require fish_test_helper when needed

This commit is contained in:
Fabian Boehm
2024-12-26 13:30:09 +01:00
parent 63e705a778
commit b531cc8b43
13 changed files with 27 additions and 1 deletions

View File

@@ -12,6 +12,10 @@ send, sendline, expect_prompt, expect_str, sleep = (
sp.sleep,
)
if not os.environ.get("fish_test_helper", ""):
import sys
sys.exit(127)
# Launch fish_test_helper.
expect_prompt()
exe_path = os.environ.get("fish_test_helper")