summaryrefslogtreecommitdiff
path: root/tests/src/dir.props
diff options
context:
space:
mode:
authorSven Boemer <sbomer@gmail.com>2018-07-24 08:22:31 -0700
committerJarret Shook <jashoo@microsoft.com>2018-07-24 08:22:31 -0700
commitad4df07bf2ea70334ada357d1240099e61b1d170 (patch)
tree5844cc8e92b15a9b8a9a2ac423871715dc7f5a32 /tests/src/dir.props
parent40286fc32e89c9eeda8b97d74cf0fb887469298b (diff)
downloadcoreclr-ad4df07bf2ea70334ada357d1240099e61b1d170.tar.gz
coreclr-ad4df07bf2ea70334ada357d1240099e61b1d170.tar.bz2
coreclr-ad4df07bf2ea70334ada357d1240099e61b1d170.zip
Work around cmd command length limit in xunit Exec task (#19095)
On Windows, the Exec task passes the command to cmd, so long commands run into the command length limit (see https://github.com/Microsoft/msbuild/issues/2530). This workaround shortens the xunit command line by replacing the path to the test binary directory with an environment variable.
Diffstat (limited to 'tests/src/dir.props')
-rw-r--r--tests/src/dir.props2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/dir.props b/tests/src/dir.props
index f3f229de9a..2730073435 100644
--- a/tests/src/dir.props
+++ b/tests/src/dir.props
@@ -33,7 +33,7 @@
<!-- Setup the default output and intermediate paths -->
<PropertyGroup>
- <BaseOutputPath>$(ProjectDir)\..\bin\tests</BaseOutputPath>
+ <BaseOutputPath>$(ProjectDir)..\bin\tests</BaseOutputPath>
<BaseOutputPath Condition="'$(__TestRootDir)' != ''">$(__TestRootDir)</BaseOutputPath>
<BaseOutputPathWithConfig>$(BaseOutputPath)\$(OSPlatformConfig)\</BaseOutputPathWithConfig>
<BinDir>$(BaseOutputPathWithConfig)</BinDir>