Add tests and start a more turnkey testing system.

This commit is contained in:
rocky
2015-12-13 00:25:34 -05:00
parent 832debeb70
commit 3d4e23cc9c
130 changed files with 12657 additions and 201 deletions

18
test/test_one Executable file
View 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