blob: e948e3a54aafcd3441ffd38cf85d7f92d071e1ef [file] [log] [blame]
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright 2023 Google LLC
set -e -u
cd "$(dirname "$(realpath "$0")")"
export PATH="$PWD:$PATH"
for script in tests/*.py; do
echo "Running $script"
if ! PYTHONPATH=. python3 "$script"; then
echo 1>&2 "$script failed!"
exit 1
fi
done
echo "All tests passed!"