summaryrefslogtreecommitdiff
path: root/tests/debugger_tests
diff options
context:
space:
mode:
authorJacek Blaszczynski <biosciencenow@outlook.com>2017-11-22 17:00:00 +0100
committerJan Kotas <jkotas@microsoft.com>2017-11-22 08:00:00 -0800
commit5b1895dd0600b6536410b373d26baa604b88de90 (patch)
treed6dbe3006ec720bbcc833e467cf9782b74e1cab9 /tests/debugger_tests
parent776690aad2bf8f5ecf69ea7b26c66bcd17489637 (diff)
downloadcoreclr-5b1895dd0600b6536410b373d26baa604b88de90.tar.gz
coreclr-5b1895dd0600b6536410b373d26baa604b88de90.tar.bz2
coreclr-5b1895dd0600b6536410b373d26baa604b88de90.zip
Fix all powershell invocations in scripts, CI code and tests to include -NoProfile (#15164)
Code execution in several scripts and tests can be affected by powershell profile execution at startup. Adding -NoProfile option to all powershell invocations which may be affected by execution of profile startup code.
Diffstat (limited to 'tests/debugger_tests')
-rw-r--r--tests/debugger_tests/ConfigFilesGenerators/GenerateConfig.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/debugger_tests/ConfigFilesGenerators/GenerateConfig.cmd b/tests/debugger_tests/ConfigFilesGenerators/GenerateConfig.cmd
index 635df958c6..471637b40c 100644
--- a/tests/debugger_tests/ConfigFilesGenerators/GenerateConfig.cmd
+++ b/tests/debugger_tests/ConfigFilesGenerators/GenerateConfig.cmd
@@ -33,7 +33,7 @@ if exist %__ConfigFileName% (
)
:: powershell "Get-Content %__TemplateFileName% -replace (""##Insert_Runtime_Root##"", ""%__RuntimeRoot%"") | Output-File %__ConfigFileName% "
-powershell "(Get-Content \"%__TemplateFileName%\")`"^
+powershell "-NoProfile (Get-Content \"%__TemplateFileName%\")`"^
"-replace \"##Insert_Runtime_Root##\", \"%__RuntimeRoot%\" `"^
"|ForEach-Object{$_ -replace \"##Insert_Nuget_Cache_Root##\", \"%__NugetCacheDir%\"} `"^
"|ForEach-Object{$_ -replace \"##Cli_Path##\", \"%__CliPath%\"} `"^