Fix path on test script

This commit is contained in:
Thiago Crepaldi 2020-10-13 09:52:34 -07:00
parent 56ca4ab05b
commit f06cafdebd

View file

@ -4,12 +4,12 @@ cur_dir=$(basename `pwd`)
if [[ ${cur_dir} != "RelWithDebInfo" ]]
then
echo "Going to build folder"
echo "Going to build folder (aka build/Linux/RelWithDebInfo)"
cd build/Linux/RelWithDebInfo
fi
echo "Exporting PYTHONPATH to use build dir as onnxruntime package"
export PYTHONPATH=/home/thiagofc/dev/github/onnxruntime/build/Linux/RelWithDebInfo/
export PYTHONPATH=$(pwd)
echo "Copying PyTorch frontend source-code to build folder"
cp -Rf ../../../orttraining/orttraining/python/training/* ../../../build/Linux/RelWithDebInfo/onnxruntime/training/