2021-09-24 03:01:23 +08:00
|
|
|
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
2022-07-07 05:39:30 +08:00
|
|
|
src_dir="$(realpath "$(dirname "$0")"/..)"
|
2023-11-03 04:28:49 +08:00
|
|
|
project_dir="$src_dir/../.."
|
2021-09-24 03:01:23 +08:00
|
|
|
|
|
|
|
cd "$src_dir"
|
|
|
|
|
|
|
|
# Ensure PYTHONPATH is set for export to child processes, even if empty.
|
|
|
|
export PYTHONPATH=${PYTHONPATH-}
|
2023-11-03 04:28:49 +08:00
|
|
|
source $project_dir/.env
|
2021-09-24 03:01:23 +08:00
|
|
|
|
2022-08-30 04:32:18 +08:00
|
|
|
python -m e2e_testing.main "$@"
|