From ab730cc58d869004120a10636e0246924dbd8a75 Mon Sep 17 00:00:00 2001 From: shahasad <43590019+shahasad@users.noreply.github.com> Date: Fri, 25 Jan 2019 15:52:50 -0800 Subject: [PATCH] passed the OnnxRuntimeBuildDirectory to the docker for the dotnet linux test (#381) * passed the OnnxRuntimeBuildDirectory to the docker * removed the requirement for the docker host to set the env var * set the env var to the path where the build dir is mounted in the container --- .../Microsoft.ML.OnnxRuntime.EndToEndTests/runtest-docker.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest-docker.sh b/csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest-docker.sh index 054127516f..05b986ccff 100755 --- a/csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest-docker.sh +++ b/csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest-docker.sh @@ -29,6 +29,7 @@ docker run -h $HOSTNAME \ --volume "$BUILD_DIR:/home/onnxruntimedev" \ --volume "$HOME/.cache/onnxruntime:/home/onnxruntimedev/.cache/onnxruntime" \ "onnxruntime-$IMAGE" \ + -e "OnnxRuntimeBuildDirectory=/home/onnxruntimedev" \ /bin/bash /onnxruntime_src/csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh \ /home/onnxruntimedev/$NUGET_REPO_DIRNAME /onnxruntime_src /home/onnxruntimedev $TestDataUrl $TestDataChecksum &