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