2016-01-23 12:55:03 -08:00
|
|
|
#
|
|
|
|
# Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
|
|
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
#
|
|
|
|
|
|
|
|
. "$PSScriptRoot\..\common\_common.ps1"
|
|
|
|
|
|
|
|
# Publish each test project
|
|
|
|
loadTestProjectList | foreach {
|
2016-02-02 12:17:56 -08:00
|
|
|
#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.
|
2016-02-04 18:03:33 -08:00
|
|
|
#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)"
|
2016-01-23 12:55:03 -08:00
|
|
|
if (!$?) {
|
2016-02-04 18:03:33 -08:00
|
|
|
Write-Host Command failed: dotnet build "$RepoRoot\test\$($_.ProjectName)"
|
2016-01-23 12:55:03 -08:00
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
}
|