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:
Fabian Homborg 2019-06-25 19:25:36 +02:00
parent 7778e62bd7
commit 93d9fa4551

View File

@ -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