mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
tests: Exit early if python is missing for littlecheck
This commit is contained in:
parent
019a082d5d
commit
c735dafb98
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,10 @@ if test (count $files_to_test) -gt 1
|
|||
end
|
||||
|
||||
set -g python (__fish_anypython)
|
||||
or begin
|
||||
say red "Python is not installed. These tests require python."
|
||||
exit 125
|
||||
end
|
||||
|
||||
# Test littlecheck files.
|
||||
set -l skipped 0
|
||||
|
|
Loading…
Reference in a new issue