Merge pull request #1238 from livarcocc/test_release_fix
Making the tests build without tfm, rid or configuration
This commit is contained in:
commit
8269faf954
1 changed files with 3 additions and 2 deletions
|
@ -8,9 +8,10 @@
|
|||
# Publish each test project
|
||||
loadTestProjectList | foreach {
|
||||
#we should use publish to an output path, we will once issue #1183 has been fixed and we can point dotnet test do a dll.
|
||||
dotnet build --framework "dnxcore50" --runtime "$Rid" --configuration "$Configuration" "$RepoRoot\test\$($_.ProjectName)"
|
||||
#we need to add back tfm, rid and configuration, but dotnet test need to be made aware of those as well. Tracked at issue #1237.
|
||||
dotnet build "$RepoRoot\test\$($_.ProjectName)"
|
||||
if (!$?) {
|
||||
Write-Host Command failed: dotnet publish --framework "dnxcore50" --runtime "$Rid" --configuration "$Configuration" "$RepoRoot\test\$($_.ProjectName)"
|
||||
Write-Host Command failed: dotnet build "$RepoRoot\test\$($_.ProjectName)"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue