Added PORTABLE as define for debugging and reidented tests.

This commit is contained in:
v-alexjo 2016-06-10 10:15:33 -07:00 committed by Andrew Schwartzmeyer
parent f483429d11
commit acd9249fe2
3 changed files with 101 additions and 101 deletions

View file

@ -24,7 +24,7 @@
"netstandard1.5": { "netstandard1.5": {
"imports": [ "dnxcore50" ], "imports": [ "dnxcore50" ],
"buildOptions": { "buildOptions": {
"define": [ "CORECLR" ], "define": [ "CORECLR", "PORTABLE" ],
"compile": { "compile": {
"exclude": [ "exclude": [
"cimSupport/cmdletization/xml/cmdlets-over-objects.objectModel.autogen.cs", "cimSupport/cmdletization/xml/cmdlets-over-objects.objectModel.autogen.cs",

View file

@ -1427,7 +1427,7 @@ namespace System.Management.Automation
"SecurityMshSnapInResources,Description","SecurityMshSnapInResources,Vendor") "SecurityMshSnapInResources,Description","SecurityMshSnapInResources,Vendor")
}; };
#if !CORECLR //TODO:CORECLR - The 'Microsoft.WSMan.Management' module will be available on OneCore soon #if !LINUX
if (!Utils.IsWinPEHost()) if (!Utils.IsWinPEHost())
{ {
defaultMshSnapins.Add(new DefaultPSSnapInInformation("Microsoft.WSMan.Management", "Microsoft.WSMan.Management", null, defaultMshSnapins.Add(new DefaultPSSnapInInformation("Microsoft.WSMan.Management", "Microsoft.WSMan.Management", null,

View file

@ -3,7 +3,7 @@ using namespace System.Diagnostics
Describe "PowerShell Command Debugging"{ Describe "PowerShell Command Debugging"{
$powershell = Join-Path -Path $PsHome -ChildPath "powershell" $powershell = Join-Path -Path $PsHome -ChildPath "powershell"
function NewProcessStartInfo([string]$CommandLine, [switch]$RedirectStdIn) function NewProcessStartInfo([string]$CommandLine, [switch]$RedirectStdIn)
{ {
return [ProcessStartInfo]@{ return [ProcessStartInfo]@{
FileName = $powershell FileName = $powershell