mirror of
https://github.com/powerline/powerline.git
synced 2025-07-27 15:54:30 +02:00
Do not try to test ipython if it is not available
This commit is contained in:
parent
1b56179676
commit
20e9575c17
@ -349,11 +349,13 @@ if ! test -z "$(cat tests/shell/daemon_log_2)" ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x${ONLY_SHELL}" = "x" || test "x${ONLY_SHELL}" = "xipython" ; then
|
if test "x${ONLY_SHELL}" = "x" || test "x${ONLY_SHELL}" = "xipython" ; then
|
||||||
|
if which ipython >/dev/null ; then
|
||||||
echo "> $(which ipython)"
|
echo "> $(which ipython)"
|
||||||
if ! run_test ipython ipython ipython ; then
|
if ! run_test ipython ipython ipython ; then
|
||||||
FAILED=1
|
FAILED=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
test $FAILED -eq 0 && rm -r tests/shell
|
test $FAILED -eq 0 && rm -r tests/shell
|
||||||
exit $FAILED
|
exit $FAILED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user