Permalink
Browse files

Commented out Core CLR/Linux only setup stuff.

  • Loading branch information...
brywang-msft committed Jan 10, 2017
1 parent c7ec6a2 commit edd9f11e9f1f7c6f0050ba1cd0d13243396c17ff
Showing with 4 additions and 6 deletions.
  1. +2 −5 Test/run-tests.ps1
  2. +2 −1 tools/download.sh
View
@@ -29,9 +29,6 @@ function New-DirectoryIfNotExist {
if(-not (Test-Path $dir)){
$null = New-Item -Path $dir -ItemType Directory -Force
- $true
- } else {
- $false
}
}
@@ -262,7 +259,7 @@ if ($testframework -eq "coreclr")
$powershellFolder = "$Env:ProgramFiles\PowerShell\$powershellVersion"
Write-host ("PowerShell Folder '{0}'" -f $powershellFolder)
-
+ <# Note: Disabled while Core CLR/Linux is disabled for DSC testing
# Setup MMI for Core CLR
Write-Host "Setting up Microsoft Management Infrastructure for Core CLR"
$mmiDownloadLocation = "https://powershell.myget.org/F/powershell-core/api/v2/package/Microsoft.Management.Infrastructure/1.0.0-alpha05"
@@ -276,7 +273,7 @@ if ($testframework -eq "coreclr")
Install-Package System.Runtime.Serialization.Xml -Source "TestNugetSource"
Install-Package System.Threading.ThreadPool -Source "TestNugetSource"
Install-Package System.Security.SecureString -Source "TestNugetSource"
- Install-Package Microsoft.Management.Infrastructure -Source "TestBinPackages"
+ Install-Package Microsoft.Management.Infrastructure -Source "TestBinPackages"#>
}
else
{
View
@@ -125,6 +125,7 @@ if [[ "$success" != 0 ]]; then
exit "$success"
fi
+: '
case "$OSTYPE" in
linux*)
# Install OMI and DSC for Linux
@@ -250,4 +251,4 @@ case "$OSTYPE" in
;;
darwin*)
# TODO: Need to do anything here?
-esac
+esac'

0 comments on commit edd9f11

Please sign in to comment.