Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc9d7c43

Browse files
forkilatkin
authored andcommitted
Build and run compiler unit tests in appveyor-build
closesdotnet#215
1 parentaaa8f4b commitc9d7c43

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

‎appveyor-build.cmd‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ REM @if ERRORLEVEL 1 echo Error: library net20 build failed && goto :eof
4545
@if ERRORLEVEL1echo Error: library portable259 build failed&&goto :eof
4646

4747

48+
%_msbuildexe% src/fsharp-compiler-unittests-build.proj
49+
@if ERRORLEVEL1echo Error: compiler unittests debug build failed&&goto :eof
50+
51+
4852
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:Configuration=Release
4953
@if ERRORLEVEL1echo Error: library unittests build failed&&goto :eof
5054

@@ -80,6 +84,9 @@ REM Disabled while working out perl problem, see https://github.com/Microsoft/vi
8084
REM call RunTests.cmd release fsharpqa Smoke
8185
REM @if ERRORLEVEL 1 echo Error: 'RunTests.cmd release fsharpqa Smoke' failed && goto :eof
8286

87+
call RunTests.cmd release compilerunit
88+
@if ERRORLEVEL1echo Error: 'RunTests.cmd release compilerunit' failed&&goto :eof
89+
8390
call RunTests.cmd release coreunit
8491
@if ERRORLEVEL1echo Error: 'RunTests.cmd release coreunit' failed&&goto :eof
8592

‎src/fsharp/FSharp.Compiler.Unittests/FSharp.Compiler.Unittests.fsproj‎

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@
2020
<Optimize>false</Optimize>
2121
<Tailcalls>false</Tailcalls>
2222
<TargetProfileCondition=" '$(TargetFramework)' == 'portable7' or '$(TargetFramework)' == 'portable78' or '$(TargetFramework)' == 'portable259'">netcore</TargetProfile>
23-
<!-- workaround for msbuild narrowing the assembly search paths when building portable libs-->
24-
<AssemblySearchPathsCondition="$(TargetFramework.Contains('portable'))">
25-
{CandidateAssemblyFiles};
26-
{TargetFrameworkDirectory};
27-
{Registry:Software\Microsoft\.NETFramework,v4.5,AssemblyFoldersEx};
28-
</AssemblySearchPaths>
2923
</PropertyGroup>
3024
<PropertyGroup>
3125
<DefineConstantsCondition=" '$(TargetFramework)' == 'sl5'">$(DefineConstants);SILVERLIGHT</DefineConstants>
@@ -50,8 +44,9 @@
5044
</PropertyGroup>
5145
<ItemGroup>
5246
<!-- need full name and SpecificVersion = true in order to convince msbuild to allow this reference when targeting portable47-->
53-
<ReferenceInclude="nunit.framework, Version=2.6.3.13283, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77"Condition="'$(TargetFramework)' != 'sl5' AND '$(TargetFramework)' != 'sl3-wp'">
54-
<SpecificVersion>true</SpecificVersion>
47+
<ReferenceInclude="nunit.framework, Version=2.6.3.13283, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77"Condition="'$(TargetFramework)' != 'sl5' AND '$(TargetFramework)' != 'sl3-wp'" >
48+
<SpecificVersion>true</SpecificVersion>
49+
<HintPath>$(FSharpSourcesRoot)\..\packages\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
5550
</Reference>
5651
<ReferenceInclude="NUnitFramework"Condition="'$(TargetFramework)' == 'sl5' OR '$(TargetFramework)' == 'sl3-wp'" />
5752
</ItemGroup>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp