mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 22:05:43 +02:00
Make sure PyPy3 is not used with vterm tests
This commit is contained in:
parent
1e25c5ec42
commit
f0d0ad1bfd
@ -1,13 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
: ${PYTHON:=python}
|
. tests/bot-ci/scripts/common/main.sh
|
||||||
|
set +x
|
||||||
|
|
||||||
: ${POWERLINE_TMUX_EXE:=tmux}
|
: ${POWERLINE_TMUX_EXE:=tmux}
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# HACK: get newline for use in strings given that "\n" and $'' do not work.
|
|
||||||
NL="$(printf '\nE')"
|
|
||||||
NL="${NL%E}"
|
|
||||||
|
|
||||||
FAILED=0
|
FAILED=0
|
||||||
|
|
||||||
rm -rf tests/vterm
|
rm -rf tests/vterm
|
||||||
@ -23,6 +19,10 @@ ln -s "$PWD/scripts/powerline-config" tests/vterm/path
|
|||||||
FAIL_SUMMARY=""
|
FAIL_SUMMARY=""
|
||||||
|
|
||||||
test_tmux() {
|
test_tmux() {
|
||||||
|
if test "$PYTHON_IMPLEMENTATION" = PyPy && test "$PYTHON_VERSION_MAJOR" -eq 3 ; then
|
||||||
|
# FIXME PyPy3 segfaults for some reason
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
if ! which "${POWERLINE_TMUX_EXE}" ; then
|
if ! which "${POWERLINE_TMUX_EXE}" ; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user