diff options
author | William Godbe <william.godbe@comcast.net> | 2016-01-26 15:05:07 -0800 |
---|---|---|
committer | William Godbe <william.godbe@comcast.net> | 2016-01-26 15:39:36 -0800 |
commit | f9de0df5336809af2d6208ccc4e3bf7df73c02de (patch) | |
tree | a44e6de9f77d361266e57d33bc9393ed6b5f79e1 /tests/buildtest.cmd | |
parent | 369236eeda0a587147458978aef8e0dc83b1c32e (diff) | |
download | coreclr-f9de0df5336809af2d6208ccc4e3bf7df73c02de.tar.gz coreclr-f9de0df5336809af2d6208ccc4e3bf7df73c02de.tar.bz2 coreclr-f9de0df5336809af2d6208ccc4e3bf7df73c02de.zip |
Shorten path names of test binaries in the CI to avoid file names longer than 260 chars
Diffstat (limited to 'tests/buildtest.cmd')
-rw-r--r-- | tests/buildtest.cmd | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/buildtest.cmd b/tests/buildtest.cmd index 96d13371f3..8e62e530e4 100644 --- a/tests/buildtest.cmd +++ b/tests/buildtest.cmd @@ -91,8 +91,12 @@ set "__TestBinDir=%__RootBinDir%\tests\%__BuildOS%.%__BuildArch%.%__BuildType%\" :: We have different managed and native intermediate dirs because the managed bits will include :: the configuration information deeper in the intermediates path. :: These variables are used by the msbuild project files. -set "__NativeTestIntermediatesDir=%__RootBinDir%\tests\obj\%__BuildOS%.%__BuildArch%.%__BuildType%\Native" -set "__ManagedTestIntermediatesDir=%__RootBinDir%\tests\obj\%__BuildOS%.%__BuildArch%.%__BuildType%\Managed" + +if not defined __TestIntermediateDir ( + set "__TestIntermediateDir=tests\obj\%__BuildOS%.%__BuildArch%.%__BuildType%" +) +set "__NativeTestIntermediatesDir=%__RootBinDir%\%__TestIntermediateDirDir%\Native" +set "__ManagedTestIntermediatesDir=%__RootBinDir%\%__TestIntermediateDir%\Managed" :: Generate path to be set for CMAKE_INSTALL_PREFIX to contain forward slash set "__CMakeBinDir=%__TestBinDir%" |