Skip to content

Commit c4ee688

Browse files
crummellbussell
authored andcommitted
Update poison baseline. (dotnet#14345)
* Update poison baseline. * Fix RIDs by replacing with placeholders. * Exclude a few more non-binary file types from poison checking. * Ignore empty files when checking for poison. * Update baseline with new exclusions. * Poison report can have both portable and non-portable RIDs in it, remove both.
1 parent 9ec42ce commit c4ee688

File tree

3 files changed

+534
-442
lines changed

3 files changed

+534
-442
lines changed

src/SourceBuild/tarball/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/PoisonTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public void VerifyUsage()
2424
string currentPoisonReport = File.ReadAllText(Config.PoisonReportPath);
2525
currentPoisonReport = RemoveHashes(currentPoisonReport);
2626
currentPoisonReport = BaselineHelper.RemoveRids(currentPoisonReport);
27+
currentPoisonReport = BaselineHelper.RemoveRids(currentPoisonReport, true);
2728
currentPoisonReport = BaselineHelper.RemoveVersions(currentPoisonReport);
2829

2930
BaselineHelper.CompareContents("PoisonUsage.txt", currentPoisonReport, OutputHelper, Config.WarnOnPoisonDiffs);

0 commit comments

Comments
 (0)