diff options
author | Jiyoung Yun <jy910.yun@samsung.com> | 2016-11-23 19:09:09 +0900 |
---|---|---|
committer | Jiyoung Yun <jy910.yun@samsung.com> | 2016-11-23 19:09:09 +0900 |
commit | 4b4aad7217d3292650e77eec2cf4c198ea9c3b4b (patch) | |
tree | 98110734c91668dfdbb126fcc0e15ddbd93738ca /tests/src/dir.common.props | |
parent | fa45f57ed55137c75ac870356a1b8f76c84b229c (diff) | |
download | coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.gz coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.bz2 coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.zip |
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'tests/src/dir.common.props')
-rw-r--r-- | tests/src/dir.common.props | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/tests/src/dir.common.props b/tests/src/dir.common.props new file mode 100644 index 0000000000..f1700f5e7d --- /dev/null +++ b/tests/src/dir.common.props @@ -0,0 +1,68 @@ +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="..\dir.props" /> + + <!-- Set default Configuration and Platform --> + <PropertyGroup> + <__BuildArch Condition="'$(__BuildArch)' == ''">x64</__BuildArch> + <__BuildType Condition="'$(__BuildType)' == ''">Debug</__BuildType> + <__BuildOS Condition="'$(__BuildOS)' == ''">Windows_NT</__BuildOS> + <BuildArch>$(__BuildArch)</BuildArch> + <BuildType>$(__BuildType)</BuildType> + <BuildOS>$(__BuildOS)</BuildOS> + <Configuration Condition="'$(Configuration)' ==''">$(BuildType)</Configuration> + <Platform Condition="'$(Platform)'==''">$(BuildArch)</Platform> + </PropertyGroup> + + <!-- Setup Default symbol and optimization for Configuration --> + <PropertyGroup Condition="'$(Configuration)' == 'Debug'"> + <DebugSymbols Condition="'$(DebugSymbols)' == ''">true</DebugSymbols> + <Optimize Condition="'$(Optimize)' == ''">false</Optimize> + <DebugType Condition="'$(DebugType)' == ''">full</DebugType> + <DefineConstants>$(DefineConstants);DEBUG;TRACE;XUNIT_PERF</DefineConstants> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)' == 'Release'"> + <DebugSymbols Condition="'$(DebugSymbols)' == ''">true</DebugSymbols> + <Optimize Condition="'$(Optimize)' == ''">true</Optimize> + <DebugType Condition="'$(DebugType)' == ''">pdbonly</DebugType> + <DefineConstants>$(DefineConstants);TRACE;XUNIT_PERF</DefineConstants> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)' == 'Checked'"> + <DebugSymbols Condition="'$(DebugSymbols)' == ''">true</DebugSymbols> + <Optimize Condition="'$(Optimize)' == ''">true</Optimize> + <DebugType Condition="'$(DebugType)' == ''">full</DebugType> + <DefineConstants>$(DefineConstants);DEBUG;TRACE;XUNIT_PERF</DefineConstants> + </PropertyGroup> + +<!-- Setup the default output and intermediate paths --> + <PropertyGroup> + <OSPlatformConfig>$(BuildOS).$(Platform).$(Configuration)</OSPlatformConfig> + <BaseOutputPath>$(ProjectDir)\..\bin\tests</BaseOutputPath> + <BaseOutputPath Condition="'$(__TestRootDir)' != ''">$(__TestRootDir)\</BaseOutputPath> + <BaseOutputPathWithConfig>$(BaseOutputPath)\$(OSPlatformConfig)\</BaseOutputPathWithConfig> + <BinDir>$(BaseOutputPathWithConfig)</BinDir> + <BaseIntermediateOutputPath>$(ProjectDir)\..\bin\tests\obj\$(OSPlatformConfig)\Managed</BaseIntermediateOutputPath> + <BaseIntermediateOutputPath Condition="'$(__ManagedTestIntermediatesDir)' != ''">$(__ManagedTestIntermediatesDir)\</BaseIntermediateOutputPath> + <__NativeTestIntermediatesDir Condition="'$(__NativeTestIntermediatesDir)' == ''">$([System.IO.Path]::GetFullPath($(BaseOutputPathWithConfig)..\obj\$(BuildOS).$(Platform).$(Configuration)\Native\))</__NativeTestIntermediatesDir> + <BuildProjectRelativeDir>$(MSBuildProjectName)\</BuildProjectRelativeDir> + <BuildProjectRelativeDir Condition="'$(MSBuildProjectDirectory.Contains($(SourceDir)))'">$([System.String]::Copy('$(MSBuildProjectDirectory)').Replace($(SourceDir),''))\$(MSBuildProjectName)</BuildProjectRelativeDir> + <IntermediateOutputPath>$(BaseIntermediateOutputPath)$(BuildProjectRelativeDir)</IntermediateOutputPath> + <OutputPath>$(BaseOutputPathWithConfig)$(BuildProjectRelativeDir)\</OutputPath> + <TestWorkingDir Condition="'$(TestWorkingDir)'==''">$(BaseOutputPath)\testStagingDir\</TestWorkingDir> + <TestPath Condition="'$(TestPath)'==''">$(TestWorkingDir)$(OSPlatformConfig)\$(MSBuildProjectName)/</TestPath> + </PropertyGroup> + + <!-- Setup the output location for the project.json generated for the local CoreCLR build. --> + <PropertyGroup> + <TestRuntimeProjectJsonDir>$(BaseOutputPath)\test_runtime</TestRuntimeProjectJsonDir> + <TestRuntimeProjectJson>$(TestRuntimeProjectJsonDir)\project.json</TestRuntimeProjectJson> + <TestRuntimeProjectLockJson>$(TestRuntimeProjectJsonDir)\project.lock.json</TestRuntimeProjectLockJson> + </PropertyGroup> + + <!-- Default priority building values. --> + <PropertyGroup> + <CLRTestKind Condition="'$(CLRTestKind)' == ' '">BuildAndRun</CLRTestKind> + <CLRTestPriority Condition="'$(CLRTestPriority)' == ''">0</CLRTestPriority> + </PropertyGroup> + +</Project> + |