torch-mlir/projects/pt1/tools/e2e_test.sh

14 lines
283 B
Bash
Raw Permalink Normal View History

#!/bin/bash
set -euo pipefail
src_dir="$(realpath "$(dirname "$0")"/..)"
2023-11-03 04:28:49 +08:00
project_dir="$src_dir/../.."
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
python -m e2e_testing.main "$@"