Skip to content

Commit

Permalink
Remove obsolete warnAsError suppression per Jeremy's PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
trylek committed Oct 4, 2021
1 parent fd1e82c commit e559efd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tests/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ REM ===
REM =========================================================================================

powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -Command "%__RepoRootDir%\eng\common\msbuild.ps1" %__ArcadeScriptArgs%^
%__RepoRootDir%\src\tests\build.proj -warnAsError:0 /t:TestBuild /nodeReuse:false^
%__RepoRootDir%\src\tests\build.proj /t:TestBuild /nodeReuse:false^
/p:RestoreDefaultOptimizationDataPackage=false /p:PortableBuild=true^
/p:UsePartialNGENOptimization=false /maxcpucount^
%__msbuildArgs%
Expand Down
3 changes: 1 addition & 2 deletions src/tests/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ build_Tests()
buildArgs+=("/p:NUMBER_OF_PROCESSORS=${__NumProc}")
buildArgs+=("${__UnprocessedBuildArgs[@]}")

# Disable warnAsError - https://github.com/dotnet/runtime/issues/11077
nextCommand="\"$__RepoRootDir/eng/common/msbuild.sh\" $__ArcadeScriptArgs --warnAsError false ${buildArgs[@]}"
nextCommand="\"$__RepoRootDir/eng/common/msbuild.sh\" $__ArcadeScriptArgs ${buildArgs[@]}"
echo "Building tests via $nextCommand"
eval $nextCommand

Expand Down

0 comments on commit e559efd

Please sign in to comment.