Skip to content

Commit 7bd833c

Browse files
author
Cédric Belin
committed
Update the test settings
1 parent 5cecea9 commit 7bd833c

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

etc/runsettings.xml renamed to .runsettings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
</Parallelize>
66
</MSTest>
77
<RunConfiguration>
8-
<ResultsDirectory>../var/test</ResultsDirectory>
8+
<ResultsDirectory>var</ResultsDirectory>
99
</RunConfiguration>
1010
</RunSettings>

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Task("publish")
2727

2828
Task("test")
2929
.Description("Runs the test suite.")
30-
.Does(() => DotNetTest());
30+
.Does(() => DotNetTest("test/lcov.tests.csproj", new() { Settings = ".runsettings" }));
3131

3232
Task("version")
3333
.Description("Updates the version number in the sources.")

lcov.sln

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "doc", "doc", "{7C65D0F9-0D8
2929
README.md = README.md
3030
EndProjectSection
3131
EndProject
32+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "res", "res", "{7325B354-11FB-415C-BE04-CCBFF984F0F6}"
33+
ProjectSection(SolutionItems) = preProject
34+
res\lcov.info = res\lcov.info
35+
EndProjectSection
36+
EndProject
37+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "example", "example", "{38FB0C20-0228-4AE0-AC45-DB8DF64631A0}"
38+
ProjectSection(SolutionItems) = preProject
39+
example\format_report.cs = example\format_report.cs
40+
example\parse_report.cs = example\parse_report.cs
41+
EndProjectSection
42+
EndProject
3243
Global
3344
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3445
Debug|Any CPU = Debug|Any CPU

test/lcov.tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<ImplicitUsings>enable</ImplicitUsings>
1313
<Nullable>enable</Nullable>
1414
<OutDir>../bin</OutDir>
15-
<RunSettingsFilePath>../etc/runsettings.xml</RunSettingsFilePath>
1615
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
1716
<TargetFramework>net8.0</TargetFramework>
1817
</PropertyGroup>

0 commit comments

Comments
 (0)