More CLI update follow up fixes (#3990)

* Fix TFS build break

* Pass CoreRT_BuildOS to tests

Fixes #3982
This commit is contained in:
Jan Kotas 2017-06-27 08:16:10 -07:00 коммит произвёл GitHub
Родитель bead80c60b
Коммит 79f64c17f8
3 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -28,6 +28,7 @@
<FileToInclude Include="System.Runtime.Extensions" />
<FileToInclude Include="System.Collections" />
<FileToInclude Include="System.Console" />
<FileToInclude Include="System.IO" />
<FileToInclude Include="System.Private.Reflection.Metadata.Ecma335" />
</ItemGroup>

Просмотреть файл

@ -20,6 +20,7 @@
<ReferencePath Include="$(AotPackageReferencePath)\System.Runtime.Extensions.dll" />
<ReferencePath Include="$(AotPackageReferencePath)\System.Collections.dll" />
<ReferencePath Include="$(AotPackageReferencePath)\System.Console.dll" />
<ReferencePath Include="$(AotPackageReferencePath)\System.IO.dll" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -56,7 +56,7 @@ run_test_dir()
local __msbuild_dir=${CoreRT_TestRoot}/../Tools
echo ${__msbuild_dir}/dotnetcli/dotnet ${__msbuild_dir}/MSBuild.dll /ds /m /p:IlcPath=${CoreRT_ToolchainDir} /p:Configuration=${CoreRT_BuildType} /p:Platform=${CoreRT_BuildArch} /p:RepoLocalBuild=true "/p:FrameworkLibPath=${CoreRT_TestRoot}/../bin/${CoreRT_BuildOS}.${CoreRT_BuildArch}.${CoreRT_BuildType}/lib" "/p:FrameworkObjPath=${CoreRT_TestRoot}/../bin/obj/${CoreRT_BuildOS}.${CoreRT_BuildArch}.${CoreRT_BuildType}/Framework" ${__extra_args} "${__extra_cxxflags}" "${__extra_linkflags}" ${__dir_path}/${__filename}.csproj
${__msbuild_dir}/dotnetcli/dotnet ${__msbuild_dir}/MSBuild.dll /ds /m /p:IlcPath=${CoreRT_ToolchainDir} /p:Configuration=${CoreRT_BuildType} /p:Platform=${CoreRT_BuildArch} /p:RepoLocalBuild=true "/p:FrameworkLibPath=${CoreRT_TestRoot}/../bin/${CoreRT_BuildOS}.${CoreRT_BuildArch}.${CoreRT_BuildType}/lib" "/p:FrameworkObjPath=${CoreRT_TestRoot}/../bin/obj/${CoreRT_BuildOS}.${CoreRT_BuildArch}.${CoreRT_BuildType}/Framework" ${__extra_args} "${__extra_cxxflags}" "${__extra_linkflags}" ${__dir_path}/${__filename}.csproj
${__msbuild_dir}/dotnetcli/dotnet ${__msbuild_dir}/MSBuild.dll /ds /m /p:IlcPath=${CoreRT_ToolchainDir} /p:Configuration=${CoreRT_BuildType} /p:Platform=${CoreRT_BuildArch} /p:OSGroup=${CoreRT_BuildOS} /p:RepoLocalBuild=true "/p:FrameworkLibPath=${CoreRT_TestRoot}/../bin/${CoreRT_BuildOS}.${CoreRT_BuildArch}.${CoreRT_BuildType}/lib" "/p:FrameworkObjPath=${CoreRT_TestRoot}/../bin/obj/${CoreRT_BuildOS}.${CoreRT_BuildArch}.${CoreRT_BuildType}/Framework" ${__extra_args} "${__extra_cxxflags}" "${__extra_linkflags}" ${__dir_path}/${__filename}.csproj
local __exitcode=$?