FreedomBox/test.sh

18 lines
302 B
Bash
Executable File

#! /bin/sh
# This file is meant to be run from the Plinth root directory:
#
# $ cd plinth/
# $ ./test.sh
PYTHONPATH=modules/installed/lib:$PYTHONPATH
PYTHONPATH=vendor:$PYTHONPATH
PYTHONPATH=.:$PYTHONPATH
export PYTHONPATH
for file in tests/*.py
do
echo "Testing ${file}:"
python $file
done