Skip to content

Commit d874303

Browse files
Test both frameworks
Try testing both frameworks by just using dotnet test without the output path or framework.
1 parent 781359e commit d874303

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Build.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ function DotNetBuild { param([string]$Project, [string]$Configuration, [string]$
6464
}
6565
}
6666

67-
function DotNetTest { param([string]$Project, [string]$Framework)
68-
& $dotnet test $Project --output (Join-Path $OutputPath $Framework) --framework $Framework
67+
function DotNetTest { param([string]$Project)
68+
& $dotnet test $Project
6969
if ($LASTEXITCODE -ne 0) {
7070
throw "dotnet test failed with exit code $LASTEXITCODE"
7171
}
@@ -127,7 +127,7 @@ ForEach ($project in $projects) {
127127
if ($RunTests -eq $true) {
128128
Write-Host "Testing $($testProjects.Count) project(s)..." -ForegroundColor Green
129129
ForEach ($project in $testProjects) {
130-
DotNetTest $project "netcoreapp1.0"
130+
DotNetTest $project
131131
}
132132
}
133133

0 commit comments

Comments
 (0)