mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-28 13:08:06 +00: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
@ -22,9 +22,11 @@ if [ -z "$1" ] || [ ! -d "$1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
system_test_dir="$1"
|
system_test_dir="$1"
|
||||||
|
system_test="$(basename $system_test_dir)"
|
||||||
shift
|
shift
|
||||||
|
|
||||||
(
|
(
|
||||||
cd "$system_test_dir" || exit 2
|
[ -d "$system_test_dir" ] || exit 2
|
||||||
/usr/bin/env python3 -m pytest "$@"
|
cd "${system_test_dir}/.."
|
||||||
|
/usr/bin/env python3 -m pytest "$@" "$system_test"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user