mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2024-11-23 13:09:49 +00:00
16 lines
362 B
Bash
Executable File
16 lines
362 B
Bash
Executable File
#!/bin/bash
|
|
# Use pycdc to run our test/bytecode* test suite
|
|
bs=${BASH_SOURCE[0]}
|
|
testdir=$(dirname $bs)/../test
|
|
fulldir=$(readlink -f $testdir)
|
|
cd $fulldir
|
|
for dir in bytecode_* ; do
|
|
echo ========= $dir ================
|
|
cd $fulldir/$dir
|
|
for file in *.pyc; do
|
|
if ! pycdc $file > /dev/null ; then
|
|
echo ----- $dir/$file ------
|
|
fi
|
|
done
|
|
done
|