Skip to content

Commit 797bee2

Browse files
authored
Merge pull request #1353 from crummel/fixOsxSmokeTests
Set PATH for OSX as well as DOTNET_ROOT.
2 parents 2093e6b + c0ba010 commit 797bee2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

smoke-test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,10 @@ fi
356356
export NUGET_PACKAGES="$restoredPackagesDir"
357357
SOURCE_BUILT_PKGS_PATH="$SCRIPT_ROOT/bin/obj/x64/$configuration/blob-feed/packages/"
358358
export DOTNET_ROOT="$dotnetDir"
359+
# OSX also requires DOTNET_ROOT to be on the PATH
360+
if [ `uname` == 'Darwin' ]; then
361+
export PATH="$dotnetDir:$PATH"
362+
fi
359363

360364
# Run all tests, local restore sources first, online restore sources second
361365
if [ "$excludeLocalTests" == "false" ]; then

0 commit comments

Comments
 (0)