mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 15:20:00 -04:00
fix: test: Prevent .hypothesis artifacts in system test directories
Merge branch 'each-hypothesis-artifacts' into 'main' See merge request isc-projects/bind9!10518
This commit is contained in:
commit
7d1cf8f055
1 changed files with 4 additions and 2 deletions
|
|
@ -22,9 +22,11 @@ if [ -z "$1" ] || [ ! -d "$1" ]; then
|
|||
fi
|
||||
|
||||
system_test_dir="$1"
|
||||
system_test="$(basename $system_test_dir)"
|
||||
shift
|
||||
|
||||
(
|
||||
cd "$system_test_dir" || exit 2
|
||||
/usr/bin/env python3 -m pytest "$@"
|
||||
[ -d "$system_test_dir" ] || exit 2
|
||||
cd "${system_test_dir}/.."
|
||||
/usr/bin/env python3 -m pytest "$@" "$system_test"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue