mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-05-09 10:55:51 +02:00
4647310322
Based on Swiftgram 12.5 (Telegram iOS 12.5). All GLEGram features ported and organized in GLEGram/ folder. Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass, Font Replacement, Fake Profile, Chat Export, Plugin System, and more. See CHANGELOG_12.5.md for full details.
20 lines
616 B
Bash
Executable File
20 lines
616 B
Bash
Executable File
#!/bin/sh
|
|
# Based on _sanity.sh from Quod Libet
|
|
# http://www.sacredchao.net/quodlibet/
|
|
|
|
set -e
|
|
|
|
test -n "${srcdir}" || srcdir=.
|
|
test -n "${PYTHON}" || PYTHON=python
|
|
|
|
if test "$1" = "--help" -o "$1" = "-h"; then
|
|
echo "Usage: $0 --sanity | [TestName] ..."
|
|
exit 0
|
|
elif [ "$1" = "--sanity" ]; then
|
|
echo "Running static sanity checks."
|
|
grep "except None:" ${srcdir}/tools/python-yasm/tests/*.py
|
|
else
|
|
${PYTHON} -c "import sys; import glob; sys.path.insert(0, '${srcdir}/tools/python-yasm'); sys.path.insert(0, glob.glob('build/lib.*')[0]); import tests; raise SystemExit(tests.unit('$*'.split()))"
|
|
fi
|
|
|