File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -238,9 +238,11 @@ if '%VisualStudioVersion%' == '' echo Error: Could not find an installation of V
238
238
if exist " %ProgramFiles(x86)% \MSBuild\%VisualStudioVersion% \Bin\MSBuild.exe" set _msbuildexe = " %ProgramFiles(x86)% \MSBuild\%VisualStudioVersion% \Bin\MSBuild.exe"
239
239
if exist " %ProgramFiles% \MSBuild\%VisualStudioVersion% \Bin\MSBuild.exe" set _msbuildexe = " %ProgramFiles% \MSBuild\%VisualStudioVersion% \Bin\MSBuild.exe"
240
240
if not exist %_msbuildexe% echo Error: Could not find MSBuild.exe. && goto :failure
241
+ set _nrswitch = /nr:false
241
242
242
243
rem uncomment to use coreclr msbuild not ready yet!!!!
243
244
rem set _msbuildexe=%~dp0Tools\CoreRun.exe %~dp0Tools\MSBuild.exe
245
+ rem set _nrswitch=
244
246
245
247
:: See <http://www.appveyor.com/docs/environment-variables>
246
248
if defined APPVEYOR (
@@ -250,7 +252,7 @@ if defined APPVEYOR (
250
252
set _msbuildexe = %_msbuildexe% /logger:" C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
251
253
)
252
254
)
253
- set msbuildflags = /maxcpucount /nr:false
255
+ set msbuildflags = /maxcpucount %_nrswitch%
254
256
set _ngenexe = " %SystemRoot% \Microsoft.NET\Framework\v4.0.30319\ngen.exe"
255
257
if not exist %_ngenexe% echo Error: Could not find ngen.exe. && goto :failure
256
258
@@ -318,10 +320,6 @@ call BuildTestTools.cmd %BUILD_CONFIG_LOWERCASE%
318
320
@ echo on
319
321
if '%TEST_FSHARP_SUITE% ' == '1' (
320
322
set FSHARP_TEST_SUITE_USE_NUNIT_RUNNER = true
321
-
322
- %_msbuildexe% %msbuildflags% fsharp\fsharp.tests.fsproj /p:Configuration=%BUILD_CONFIG%
323
- @ if ERRORLEVEL 1 echo Error: fsharp cambridge tests for nunit failed && goto :failed_tests
324
-
325
323
call RunTests.cmd %BUILD_CONFIG_LOWERCASE% fsharp %TEST_TAGS%
326
324
@ if ERRORLEVEL 1 (
327
325
type testresults\FSharpNunit_Error.log
You can’t perform that action at this time.
0 commit comments