mirror of
https://github.com/suitenumerique/messages.git
synced 2026-08-19 22:25:40 +02:00
Latest fixes in the stdlib make it a more solid alternative for strict composition than Flanker. We keep Flanker for now for lenient inbound parsing. We add stronger tests and fuzzing to validate we didn't regress.
18 lines
439 B
Bash
Executable File
18 lines
439 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
source "$(dirname "${BASH_SOURCE[0]}")/_config.sh"
|
|
|
|
# Forward selected fuzz-related env vars from the host into the container
|
|
# so callers can override fuzz-test budgets without editing source.
|
|
extra_env=()
|
|
if [ -n "${FUZZ_EXAMPLES:-}" ]; then
|
|
extra_env+=(-e "FUZZ_EXAMPLES=${FUZZ_EXAMPLES}")
|
|
fi
|
|
|
|
_dc_run \
|
|
-e DJANGO_CONFIGURATION=Test \
|
|
"${extra_env[@]}" \
|
|
--build \
|
|
backend-dev \
|
|
pytest "$@"
|