You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Add tests and start a more turnkey testing system.
This commit is contained in:
18
test/test_one
Executable file
18
test/test_one
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
PAGER=${PAGER:-less}
|
||||
file=$1
|
||||
shift
|
||||
options=$@
|
||||
|
||||
#BASEDIR=test/bytecode_1.5
|
||||
#BASEDIR=test/bytecode_2.0
|
||||
#BASEDIR=test/bytecode_2.1
|
||||
#BASEDIR=test/bytecode_2.2
|
||||
BASEDIR=test/bytecode_2.7
|
||||
|
||||
if [[ `dirname $file` == '.' ]] ; then
|
||||
file=$BASEDIR/test_$file.pyc
|
||||
fi
|
||||
|
||||
python -u ./scripts/uncompyle6 $options $file 2>&1 | $PAGER
|
Reference in New Issue
Block a user