Skip to content

Commit bc68e02

Browse files
Update api-diff tests (#2829)
1 parent 3eb9260 commit bc68e02

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

eng/pipelines/templates/jobs/sdk-diff-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ jobs:
161161
find artifacts/TestResults/ -type f -name "*.binlog" -exec cp {} --parents -t ${targetFolder} \;
162162
find artifacts/TestResults/ -type f -name "*.log" -exec cp {} --parents -t ${targetFolder} \;
163163
find artifacts/TestResults/ -type f -name "*.diff" -exec cp {} --parents -t ${targetFolder} \;
164+
find artifacts/TestResults/ -type f -name "*.suppression" -exec cp {} --parents -t ${targetFolder} \;
164165
find artifacts/TestResults/ -type f -name "Updated*.txt" -exec cp {} --parents -t ${targetFolder} \;
165166
displayName: Prepare BuildLogs staging directory
166167
continueOnError: true

test/Microsoft.DotNet.SourceBuild.Tests/assets/SdkContentTests/ApiDiff.suppression

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,6 @@
211211
<Left>/msft/sdk/x.y.z/DotnetTools/dotnet-user-jwts/x.y.z/tools/netx.y/any/Microsoft.IdentityModel.Tokens.dll</Left>
212212
<Right>/sb/sdk/x.y.z/DotnetTools/dotnet-user-jwts/x.y.z/tools/netx.y/any/Microsoft.IdentityModel.Tokens.dll</Right>
213213
</Suppression>
214-
<Suppression>
215-
<DiagnosticId>CP0002</DiagnosticId>
216-
<Target>M:System.ComponentModel.Composition.Primitives.ComposablePartException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)</Target>
217-
<Left>/msft/sdk/x.y.z/System.ComponentModel.Composition.dll</Left>
218-
<Right>/sb/sdk/x.y.z/System.ComponentModel.Composition.dll</Right>
219-
</Suppression>
220214
<Suppression>
221215
<DiagnosticId>CP0003</DiagnosticId>
222216
<Target>Humanizer, Version=x.y.z, Culture=neutral, PublicKeyToken=979442b78dfc278e</Target>
@@ -295,10 +289,4 @@
295289
<Left>/msft/sdk/x.y.z/Sdks/Microsoft.NET.Sdk.Razor/tools/Newtonsoft.Json.dll</Left>
296290
<Right>/sb/sdk/x.y.z/Sdks/Microsoft.NET.Sdk.Razor/tools/Newtonsoft.Json.dll</Right>
297291
</Suppression>
298-
<Suppression>
299-
<DiagnosticId>CP0008</DiagnosticId>
300-
<Target>T:System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo</Target>
301-
<Left>/msft/sdk/x.y.z/System.ComponentModel.Composition.dll</Left>
302-
<Right>/sb/sdk/x.y.z/System.ComponentModel.Composition.dll</Right>
303-
</Suppression>
304292
</Suppressions>

0 commit comments

Comments
 (0)