mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 08:58:01 +00: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
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ end
|
||||||
function test_littlecheck_file
|
function test_littlecheck_file
|
||||||
set -l file $argv[1]
|
set -l file $argv[1]
|
||||||
echo "Testing file $file"
|
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
|
end
|
||||||
|
|
||||||
set -l failed
|
set -l failed
|
||||||
|
|
Loading…
Reference in a new issue