anaconda/anaconda-40.22.3.13/tests/rpm_tests/rpm_tests.sh
2024-11-14 21:39:56 -08:00

14 lines
414 B
Bash
Executable file

#!/bin/sh
# If $top_srcdir has not been set by automake, import the test environment
if [ -z "$top_srcdir" ]; then
top_srcdir="$(realpath "$(dirname "$0")/../..")"
. "${top_srcdir}/tests/testenv.sh"
fi
# If no tests were selected by user or makefile, select all of them
if [ $# -eq 0 ]; then
set -- "${top_srcdir}"/tests/rpm_tests
fi
exec python3 -m unittest discover -t "$top_srcdir" -v -b -s "$@"