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")"/..)"
|
2022-09-21 00:59:54 +08:00
|
|
|
build_dir="${src_dir}/build"
|
|
|
|
|
|
|
|
export INCLUDE_CUSTOM_OP="${INCLUDE_CUSTOM_OP:-OFF}"
|
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-}
|
|
|
|
source .env
|
|
|
|
|
2022-08-30 04:32:18 +08:00
|
|
|
python -m e2e_testing.main "$@"
|