
Improved test diagnostics Providing diagnostics about failed process. Workaround for https://github.com/NuGet/Home/issues/1977 get past crossgen errors!
29 lines
1 KiB
PowerShell
29 lines
1 KiB
PowerShell
#
|
|
# 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\_utility.ps1
|
|
|
|
$Rid = "win7-x64"
|
|
$Tfm = "dnxcore50"
|
|
$RepoRoot = Resolve-Path "$PSScriptRoot\..\.."
|
|
$OutputDir = "$RepoRoot\artifacts\$Rid"
|
|
$DnxDir = "$OutputDir\dnx"
|
|
$DnxRoot = "$DnxDir\bin"
|
|
$Stage1Dir = "$OutputDir\stage1"
|
|
$Stage1CompilationDir = "$OutputDir\stage1compilation"
|
|
$Stage2Dir = "$OutputDir\stage2"
|
|
$Stage2CompilationDir = "$OutputDir\stage2compilation"
|
|
$HostDir = "$OutputDir\corehost"
|
|
$PackageDir = "$RepoRoot\artifacts\packages\dnvm"
|
|
$env:ReleaseSuffix = "beta"
|
|
$env:Channel = "$env:ReleaseSuffix"
|
|
$env:TEST_ROOT = "$OutputDir\tests"
|
|
$env:TEST_ARTIFACTS = "$env:TEST_ROOT\artifacts"
|
|
|
|
# Set reasonable defaults for unset variables
|
|
setEnvIfDefault "DOTNET_INSTALL_DIR" "$(Convert-Path "$PSScriptRoot\..")\.dotnet_stage0\win7-x64"
|
|
setEnvIfDefault "DOTNET_CLI_VERSION" "0.1.0.0"
|
|
setPathAndHomeIfDefault "$Stage2Dir"
|
|
setVarIfDefault "Configuration" "Debug"
|