Change dir to make sure the right project.json is used.
authorSmile Wei <xiwe@microsoft.com>
Mon, 29 Aug 2016 23:50:05 +0000 (16:50 -0700)
committerSmile Wei <xiwe@microsoft.com>
Mon, 29 Aug 2016 23:50:05 +0000 (16:50 -0700)
tests/scripts/run-xunit-perf.sh

index 20cae86..a872e54 100644 (file)
@@ -369,13 +369,16 @@ fi
 
 # Install xunit performance packages
 export NUGET_PACKAGE=$testNativeBinDir/../../../../packages
+echo "NUGET_PACKAGE = $NUGET_PACKAGE"
 
 echo "dir $testNativeBinDir/../../../../Tools"
 dir $testNativeBinDir/../../../../Tools
 echo "dir $testNativeBinDir/../../../../Tools/dotnetcli"
 dir $testNativeBinDir/../../../../Tools/dotnetcli
 
+pushd $testNativeBinDir/../../../../tests/scripts
 $testNativeBinDir/../../../../Tools/dotnetcli/dotnet restore --fallbacksource https://dotnet.myget.org/F/dotnet-buildtools/ --fallbacksource https://dotnet.myget.org/F/dotnet-core/
+popd
 
 # Creat coreoverlay dir which contains all dependent binaries
 create_core_overlay