mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 03:13:37 +08:00
tests/test.fish: Run littlecheck with any python
Some operating systems don't have a "python" symlink, so we just run it with the first python we find.
This commit is contained in:
parent
7778e62bd7
commit
93d9fa4551
|
@ -72,7 +72,8 @@ end
|
|||
function test_littlecheck_file
|
||||
set -l file $argv[1]
|
||||
echo "Testing file $file"
|
||||
../littlecheck.py -s fish=../test/root/bin/fish $file
|
||||
set -l python (__fish_anypython)
|
||||
$python ../littlecheck.py -s fish=../test/root/bin/fish $file
|
||||
end
|
||||
|
||||
set -l failed
|
||||
|
|
Loading…
Reference in New Issue
Block a user