File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/Microsoft.DotNet.PackageInstall.Tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ public void InstallAndRunToolFromAnyRid()
267
267
{
268
268
IncludeAnyRid = true // will make one package with the "any" RID
269
269
} ;
270
- string toolPackagesPath = ToolBuilder . CreateTestTool ( Log , toolSettings ) ;
270
+ string toolPackagesPath = ToolBuilder . CreateTestTool ( Log , toolSettings , collectBinlogs : true ) ;
271
271
var packages = Directory . GetFiles ( toolPackagesPath , "*.nupkg" ) . Select ( p => Path . GetFileName ( p ) ) . ToArray ( ) ;
272
272
packages . Should ( ) . BeEquivalentTo ( [
273
273
$ "{ toolSettings . ToolPackageId } .{ toolSettings . ToolPackageVersion } .nupkg",
@@ -295,7 +295,7 @@ public void InstallAndRunToolFromAnyRidWhenOtherRidsArePresentButIncompatible()
295
295
} ;
296
296
List < string > expectedRids = [ .. ToolsetInfo . LatestRuntimeIdentifiers . Split ( ';' ) . Where ( rid => rid != RuntimeInformation . RuntimeIdentifier ) , "any" ] ;
297
297
298
- string toolPackagesPath = ToolBuilder . CreateTestTool ( Log , toolSettings ) ;
298
+ string toolPackagesPath = ToolBuilder . CreateTestTool ( Log , toolSettings , collectBinlogs : true ) ;
299
299
var packages = Directory . GetFiles ( toolPackagesPath , "*.nupkg" ) . Select ( p => Path . GetFileName ( p ) ) . ToArray ( ) ;
300
300
packages . Should ( ) . BeEquivalentTo ( [
301
301
$ "{ toolSettings . ToolPackageId } .{ toolSettings . ToolPackageVersion } .nupkg",
You can’t perform that action at this time.
0 commit comments