Refactoring test scripts
_nuget needs some RepoRoots get the cats in line (d) spaces Fix Linux build breaks add execution permissions Pick up #999 Finish refactoring test scripts remove auth Reorder publishing to work! fix rebase errors fix more rebase errors small fixes
This commit is contained in:
parent
4e365921f7
commit
51eca0bcba
40 changed files with 443 additions and 216 deletions
18
scripts/test/build-tests.ps1
Normal file
18
scripts/test/build-tests.ps1
Normal file
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# 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 {
|
||||
dotnet publish --framework "dnxcore50" --runtime "$Rid" --output "$TestBinRoot" --configuration "$Configuration" "$RepoRoot\test\$($_.ProjectName)"
|
||||
if (!$?) {
|
||||
Write-Host Command failed: dotnet publish --framework "dnxcore50" --runtime "$Rid" --output "$TestBinRoot" --configuration "$Configuration" "$RepoRoot\test\$($_.ProjectName)"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
||||
# TODO: Remove this when publish paths change back
|
||||
cp -rec -Force "$TestBinRoot\Debug\dnxcore50\*" "$TestBinRoot"
|
Loading…
Add table
Add a link
Reference in a new issue