File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 34
34
<Using Namespace =" System.Diagnostics" />
35
35
<Using Namespace =" System.IO.Pipes" />
36
36
<Code >
37
+ Log.LogMessage(MessageImportance.High, $"Collecting code coverage for {PipeName} .");
38
+
37
39
using var coverlet = Process.Start(
38
40
@"$(DotNetTool)",
39
41
$@"tool run coverlet ""{TestAssembly}"" " +
49
51
@"""");
50
52
CoverletId = coverlet.Id;
51
53
54
+ Log.LogMessage(MessageImportance.High, $"Collecting code coverage for {PipeName} ..");
55
+
52
56
using var client = new NamedPipeClientStream(PipeName);
53
57
client.Connect();
54
58
client.WriteByte(0);
59
+
60
+ Log.LogMessage(MessageImportance.High, $"Collecting code coverage for {PipeName} ...");
55
61
</Code >
56
62
</Task >
57
63
71
77
<Using Namespace =" System.Diagnostics" />
72
78
<Using Namespace =" System.IO.Pipes" />
73
79
<Code >
80
+ Log.LogMessage(MessageImportance.High, $"Collecting code coverage for {PipeName} ....");
81
+
74
82
using var client = new NamedPipeClientStream(PipeName);
75
83
client.Connect();
76
84
85
+ Log.LogMessage(MessageImportance.High, $"Collecting code coverage for {PipeName} .....");
86
+
77
87
using var coverlet = Process.GetProcessById(CoverletId);
78
88
coverlet.WaitForExit();
89
+
90
+ Log.LogMessage(MessageImportance.High, $"Collecting code coverage for {PipeName} ......");
79
91
</Code >
80
92
</Task >
81
93
You can’t perform that action at this time.
0 commit comments