You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Attempt to fix runtests.sh again
This commit is contained in:
@@ -33,6 +33,7 @@ SKIP_TESTS=(
|
|||||||
[test_devpoll.py]=1 # it fails on its own
|
[test_devpoll.py]=1 # it fails on its own
|
||||||
[test_dictcomps.py]=1 # Bad semantics - Investigate
|
[test_dictcomps.py]=1 # Bad semantics - Investigate
|
||||||
[test_dis.py]=1 # We change line numbers - duh!
|
[test_dis.py]=1 # We change line numbers - duh!
|
||||||
|
[test_doctest2.py]=1 # assert failure
|
||||||
[test_docxmlrpc.py]=1
|
[test_docxmlrpc.py]=1
|
||||||
[test_exceptions.py]=1 # parse error
|
[test_exceptions.py]=1 # parse error
|
||||||
[test_enumerate.py]=1 #
|
[test_enumerate.py]=1 #
|
||||||
|
@@ -268,11 +268,6 @@ srcdir=$(dirname $me)
|
|||||||
cd $srcdir
|
cd $srcdir
|
||||||
fulldir=$(pwd)
|
fulldir=$(pwd)
|
||||||
|
|
||||||
# pyenv version cleaning
|
|
||||||
for dir in .. ; do
|
|
||||||
(cd $dir && [[ -r .python-version ]] && rm -v .python-version )
|
|
||||||
done
|
|
||||||
|
|
||||||
# DECOMPILER=uncompyle2
|
# DECOMPILER=uncompyle2
|
||||||
DECOMPILER=${DECOMPILER:-"$fulldir/../../bin/uncompyle6"}
|
DECOMPILER=${DECOMPILER:-"$fulldir/../../bin/uncompyle6"}
|
||||||
TESTDIR=/tmp/test${PYVERSION}
|
TESTDIR=/tmp/test${PYVERSION}
|
||||||
@@ -282,6 +277,13 @@ fi
|
|||||||
|
|
||||||
PYENV_ROOT=${PYENV_ROOT:-$HOME/.pyenv}
|
PYENV_ROOT=${PYENV_ROOT:-$HOME/.pyenv}
|
||||||
pyenv_local=$(pyenv local)
|
pyenv_local=$(pyenv local)
|
||||||
|
|
||||||
|
# pyenv version cleaning
|
||||||
|
for dir in ../ ../../ ; do
|
||||||
|
cp -v .python-version $dir
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
mkdir $TESTDIR || exit $?
|
mkdir $TESTDIR || exit $?
|
||||||
cp -r ${PYENV_ROOT}/versions/${PYVERSION}.${MINOR}/lib/python${PYVERSION}/test $TESTDIR
|
cp -r ${PYENV_ROOT}/versions/${PYVERSION}.${MINOR}/lib/python${PYVERSION}/test $TESTDIR
|
||||||
cd $TESTDIR/test
|
cd $TESTDIR/test
|
||||||
|
Reference in New Issue
Block a user