mirror of https://github.com/llvm/torch-mlir
14 lines
283 B
Bash
14 lines
283 B
Bash
|
#!/bin/bash
|
||
|
set -euo pipefail
|
||
|
|
||
|
src_dir="$(realpath "$(dirname "$0")"/..)"
|
||
|
project_dir="$src_dir/../.."
|
||
|
|
||
|
cd "$src_dir"
|
||
|
|
||
|
# Ensure PYTHONPATH is set for export to child processes, even if empty.
|
||
|
export PYTHONPATH=${PYTHONPATH-}
|
||
|
source $project_dir/.env
|
||
|
|
||
|
python -m e2e_testing.main "$@"
|