From 18543e3e5ac3a9e960a7b0f30f697ddb505c3613 Mon Sep 17 00:00:00 2001 From: Bruce Forstall Date: Wed, 1 Aug 2018 22:27:56 -0700 Subject: [PATCH] Revert "Build managed tests with dotnet (#19230)" This reverts commit 763142a210d858289d30365dd1d4f2772e48f30d. --- build-test.cmd | 4 ++-- tests/build.proj | 4 ++-- tests/dir.sdkbuild.props | 1 - tests/src/dir.props | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/build-test.cmd b/build-test.cmd index e956f04c18b8..17f67c1b8f5d 100644 --- a/build-test.cmd +++ b/build-test.cmd @@ -118,7 +118,7 @@ if defined __BuildAgainstPackagesArg ( set __RunArgs=-BuildOS=%__BuildOS% -BuildType=%__BuildType% -BuildArch=%__BuildArch% REM As we move from buildtools to arcade, __RunArgs should be replaced with __msbuildArgs -set __msbuildArgs=/p:__BuildOS=%__BuildOS% /p:__BuildType=%__BuildType% /p:__BuildArch=%__BuildArch% /nologo /verbosity:minimal /clp:Summary +set __msbuildArgs=/p:__BuildOS=%__BuildOS% /p:__BuildType=%__BuildType% /p:__BuildArch=%__BuildArch% if defined __ToolsetDir ( rem arm64 builds currently use private toolset which has not been released yet @@ -321,7 +321,7 @@ for /l %%G in (1, 1, %__BuildLoopCount%) do ( set __msbuildErr=/flp2:ErrorsOnly;LogFile="%__BuildErr%";Append=!__AppendToLog! set TestBuildSlice=%%G - call %__DotnetHost% msbuild %__ProjectDir%\tests\build.proj !__msbuildLog! !__msbuildWrn! !__msbuildErr! %__msbuildArgs% %__BuildAgainstPackagesMsbuildArg% %__PriorityArg% %__PassThroughArg% %__unprocessedBuildArgs% + call "%__ProjectDir%\run.cmd" build -Project=%__ProjectDir%\tests\build.proj -MsBuildLog=!__msbuildLog! -MsBuildWrn=!__msbuildWrn! -MsBuildErr=!__msbuildErr! %__RunArgs% %__BuildAgainstPackagesArg% %__PriorityArg% %__PassThroughArg% %__unprocessedBuildArgs% if errorlevel 1 ( echo %__MsgPrefix%Error: build failed. Refer to the build log files for details: diff --git a/tests/build.proj b/tests/build.proj index 6bdc8690bfa0..a421b130b605 100644 --- a/tests/build.proj +++ b/tests/build.proj @@ -51,8 +51,8 @@ - - + + diff --git a/tests/dir.sdkbuild.props b/tests/dir.sdkbuild.props index bc5bed9b3fbf..c4cc31ec9f90 100644 --- a/tests/dir.sdkbuild.props +++ b/tests/dir.sdkbuild.props @@ -10,7 +10,6 @@ $(MicrosoftNETCoreAppPackageVersion) false false - AnyCPU 99.0 diff --git a/tests/src/dir.props b/tests/src/dir.props index c5cc702882df..27300734357f 100644 --- a/tests/src/dir.props +++ b/tests/src/dir.props @@ -1,7 +1,7 @@ - + @@ -37,7 +37,7 @@ $(__TestRootDir) $(BaseOutputPath)\$(OSPlatformConfig)\ $(BaseOutputPathWithConfig) - $(ProjectDir)..\bin\tests\obj\$(OSPlatformConfig)\Managed\ + $(ProjectDir)\..\bin\tests\obj\$(OSPlatformConfig)\Managed\ $(__ManagedTestIntermediatesDir)\ <__NativeTestIntermediatesDir Condition="'$(__NativeTestIntermediatesDir)' == ''">$([System.IO.Path]::GetFullPath($(BaseOutputPathWithConfig)..\obj\$(BuildOS).$(Platform).$(Configuration)\Native\)) $(MSBuildProjectName)\