Do not try to test ipython if it is not available

This commit is contained in:
ZyX 2014-08-23 16:24:16 +04:00
parent 1b56179676
commit 20e9575c17

View File

@ -349,9 +349,11 @@ if ! test -z "$(cat tests/shell/daemon_log_2)" ; then
fi
if test "x${ONLY_SHELL}" = "x" || test "x${ONLY_SHELL}" = "xipython" ; then
echo "> $(which ipython)"
if ! run_test ipython ipython ipython ; then
FAILED=1
if which ipython >/dev/null ; then
echo "> $(which ipython)"
if ! run_test ipython ipython ipython ; then
FAILED=1
fi
fi
fi