summaryrefslogtreecommitdiff
path: root/build-test.cmd
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2017-01-26 02:25:11 (GMT)
committerBruce Forstall <brucefo@microsoft.com>2017-01-26 02:25:11 (GMT)
commit32ef113b7c1a63a7f2bbeb343ff279b3292fe570 (patch)
treecbffdd556c130a4c0a00c86097243deed61dc0e7 /build-test.cmd
parent8f4cb1beaa68e74a16492510c86d9b2fec539e60 (diff)
downloadcoreclr-32ef113b7c1a63a7f2bbeb343ff279b3292fe570.zip
coreclr-32ef113b7c1a63a7f2bbeb343ff279b3292fe570.tar.gz
coreclr-32ef113b7c1a63a7f2bbeb343ff279b3292fe570.tar.bz2
Fix build-test.cmd
Move set of __TestWorkingDir so it is available even when __BuildAgainstPackages is not defined.
Diffstat (limited to 'build-test.cmd')
-rw-r--r--build-test.cmd3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-test.cmd b/build-test.cmd
index 6a0c770..66b9566 100644
--- a/build-test.cmd
+++ b/build-test.cmd
@@ -193,6 +193,8 @@ set __msbuildLog=/flp:Verbosity=normal;LogFile="%__BuildLog%"
set __msbuildWrn=/flp1:WarningsOnly;LogFile="%__BuildWrn%"
set __msbuildErr=/flp2:ErrorsOnly;LogFile="%__BuildErr%"
+set "__TestWorkingDir=%__RootBinDir%\tests\%__BuildOS%.%__BuildArch%.%__BuildType%"
+
if not defined __BuildAgainstPackages goto SkipRestoreProduct
REM =========================================================================================
REM ===
@@ -200,7 +202,6 @@ REM === Restore product binaries from packages
REM ===
REM =========================================================================================
-set "__TestWorkingDir=%__RootBinDir%\tests\%__BuildOS%.%__BuildArch%.%__BuildType%"
if not defined XunitTestBinBase set XunitTestBinBase=%__TestWorkingDir%
set "CORE_ROOT=%XunitTestBinBase%\Tests\Core_Root"
set "CORE_OVERLAY=%XunitTestBinBase%\Tests\Core_Root_%__RuntimeId%"