You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Merge branch 'master' of github.com:rocky/python-uncompyle6
This commit is contained in:
@@ -21,7 +21,6 @@ function displaytime {
|
|||||||
printf '%d seconds\n' $S
|
printf '%d seconds\n' $S
|
||||||
}
|
}
|
||||||
|
|
||||||
# Python version setup
|
|
||||||
FULLVERSION=$(pyenv local)
|
FULLVERSION=$(pyenv local)
|
||||||
PYVERSION=${FULLVERSION%.*}
|
PYVERSION=${FULLVERSION%.*}
|
||||||
MINOR=${FULLVERSION##?.?.}
|
MINOR=${FULLVERSION##?.?.}
|
||||||
@@ -314,6 +313,11 @@ srcdir=$(dirname $me)
|
|||||||
cd $srcdir
|
cd $srcdir
|
||||||
fulldir=$(pwd)
|
fulldir=$(pwd)
|
||||||
|
|
||||||
|
# Python version setup
|
||||||
|
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}
|
||||||
@@ -399,4 +403,5 @@ typeset -i ALL_FILES_ENDTIME=$(date +%s)
|
|||||||
printf "Ran $i unit-test files in "
|
printf "Ran $i unit-test files in "
|
||||||
displaytime $time_diff
|
displaytime $time_diff
|
||||||
echo "Skipped $skipped test for known failures."
|
echo "Skipped $skipped test for known failures."
|
||||||
|
cd $fulldir/../.. && pyenv local $FULLVERSION
|
||||||
exit $allerrs
|
exit $allerrs
|
||||||
|
Reference in New Issue
Block a user