1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-11 07:50:57 +00:00

core: remove unused script

This commit is contained in:
Pavol Rusnak 2019-09-18 17:23:27 +02:00
parent 8d2b32332b
commit 69d936a390
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -1,26 +0,0 @@
#!/usr/bin/env bash
find ../mocks -name '*.py' | sort | while read module; do
module=$(echo $module | sed 's:^\.\./mocks/::')
base=$(basename $module)
# skip __init__.py
if [[ $base == "__init__.py" ]]; then
continue
fi
# skip everything outside of trezor
if [[ $module != trezor* ]]; then
continue
fi
# skip classes (uppercase modules)
if [[ $base == [ABCDEFGHIJKLMNOPQRSTUVWXYZ]* ]]; then
continue
fi
module=$(echo $module | sed -e 's:\.py$::' -e 's:/:.:g')
if [ -r test_$module.py ]; then
echo "OK $module"
else
echo "MISS $module"
missing=$(expr $missing + 1)
fi
done