Use -S when invoking Python for littlecheck

This prevents needless imports. It speeds up the test time by ~2 seconds.
This commit is contained in:
ridiculousfish 2020-03-09 12:52:45 -07:00
parent 9f984ee897
commit 3040486968

View file

@ -75,7 +75,7 @@ function test_littlecheck_file
set -l file $argv[1] set -l file $argv[1]
echo -n "Testing file $file ... " echo -n "Testing file $file ... "
set starttime (timestamp) set starttime (timestamp)
$python ../littlecheck.py \ $python -S ../littlecheck.py \
-s fish=../test/root/bin/fish \ -s fish=../test/root/bin/fish \
-s fish_test_helper=../test/root/bin/fish_test_helper \ -s fish_test_helper=../test/root/bin/fish_test_helper \
$file $file