Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions eng/dogfood.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function Print-Usage() {
Write-Host "if it is set, will be used."
}

function Global:prompt {"(dogfood) PS $PWD> "}
function Global:prompt { "(dogfood) PS $PWD> " }

if ($help -or (($command -ne $null) -and ($command.Contains("/help") -or $command.Contains("/?")))) {
Print-Usage
Expand All @@ -35,7 +35,7 @@ if ($help -or (($command -ne $null) -and ($command.Contains("/help") -or $comman

try {
$toolsetBuildProj = InitializeToolset
. $PSScriptroot\restore-toolset.ps1
. $PSScriptRoot\restore-toolset.ps1

$env:SDK_REPO_ROOT = $RepoRoot

Expand All @@ -62,6 +62,7 @@ try {
$Host.UI.RawUI.WindowTitle = "SDK Test ($RepoRoot) ($configuration)"
& $command[0] $command[1..($command.Length-1)]
}
Set-Location "$PSScriptRoot\..\artifacts\tmp\Debug\testing"
}
catch {
Write-Host $_
Expand Down
3 changes: 2 additions & 1 deletion eng/dogfood.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ export PATH=$testDotnetRoot:$PATH
export DOTNET_ROOT=$testDotnetRoot
export DOTNET_ADD_GLOBAL_TOOLS_TO_PATH=0
export PS1="(dogfood) $PS1"
export DOTNET_SYSTEM_NET_SECURITY_NOREVOCATIONCHECKBYDEFAULT="true"
export DOTNET_SYSTEM_NET_SECURITY_NOREVOCATIONCHECKBYDEFAULT="true"
cd "$scriptroot/../artifacts/tmp/Debug/testing"
Loading