mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
parent
b2c1bb9cf0
commit
3f0d538584
@ -2,8 +2,6 @@
|
||||
FAILED=0
|
||||
if ! sh tests/test_shells/test.sh --fast ; then
|
||||
echo "Failed shells"
|
||||
if ${PYTHON} -c 'import platform, sys; sys.exit(1 * (platform.python_implementation() == "PyPy"))' ; then
|
||||
FAILED=1
|
||||
fi
|
||||
FAILED=1
|
||||
fi
|
||||
exit $FAILED
|
||||
|
@ -102,7 +102,13 @@ run_test() {
|
||||
while ! screen -S "$SESNAME" -p 0 -X width 300 1 ; do
|
||||
sleep 0.1s
|
||||
done
|
||||
if test "x${SH}" = "xdash" ; then
|
||||
if ( \
|
||||
test "x${SH}" = "xdash" ||
|
||||
( \
|
||||
test "x${SH}" = "xipython" \
|
||||
&& ${PYTHON} -c 'import platform, sys; sys.exit(1 - (platform.python_implementation() == "PyPy"))' \
|
||||
) \
|
||||
) ; then
|
||||
# If I do not use this hack for dash then output will look like
|
||||
#
|
||||
# command1
|
||||
|
Loading…
x
Reference in New Issue
Block a user