Skip to content

Commit abbd4a6

Browse files
committed
emit binlogs for rid-specific tool pack tests
1 parent 6e651a6 commit abbd4a6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/Microsoft.DotNet.PackageInstall.Tests/TestToolBuilder.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
6-
using System.Text;
7-
84
namespace Microsoft.DotNet.PackageInstall.Tests
95
{
106
[CollectionDefinition(nameof(TestToolBuilderCollection))]
@@ -105,15 +101,15 @@ public string CreateTestTool(ITestOutputHelper log, TestToolSettings toolSetting
105101
{
106102
new DotnetPackCommand(log)
107103
.WithWorkingDirectory(targetDirectory)
108-
.Execute()
104+
.Execute($"/bl:{toolSettings.GetIdentifier()}-{{}}")
109105
.Should().Pass();
110106

111107
if (toolSettings.NativeAOT)
112108
{
113109
// For Native AOT tools, we need to repack the tool to include the runtime-specific files that were generated during publish
114110
new DotnetPackCommand(log, "-r", RuntimeInformation.RuntimeIdentifier)
115111
.WithWorkingDirectory(targetDirectory)
116-
.Execute()
112+
.Execute($"/bl:{toolSettings.GetIdentifier()}-{RuntimeInformation.RuntimeIdentifier}-{{}}")
117113
.Should().Pass();
118114
}
119115

0 commit comments

Comments
 (0)