Skip to content

Commit ee7356e

Browse files
author
John Kordich
committed
Disabling unit tests for OSX
1 parent 0c7cbc1 commit ee7356e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/powershell/Modules/PSDesiredStateConfiguration/MOF-Compilation.Tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Describe "DSC MOF Compilation" -tags "CI" {
1010
$env:PSMODULEPATH = join-path ([io.path]::GetDirectoryName($powershellexe)) Modules
1111
}
1212

13-
It "Should be able to compile a MOF from a basic configuration" -Skip:$IsWindows {
13+
It "Should be able to compile a MOF from a basic configuration" -Skip:($IsOSX -or $IsWindows) {
1414
[Scriptblock]::Create(@"
1515
configuration DSCTestConfig
1616
{
@@ -29,7 +29,7 @@ Describe "DSC MOF Compilation" -tags "CI" {
2929
Remove-Item -Force -Recurse -Path DSCTestConfig
3030
}
3131

32-
It "Should be able to compile a MOF from another basic configuration" -Skip:$IsWindows {
32+
It "Should be able to compile a MOF from another basic configuration" -Skip:($IsOSX -or $IsWindows) {
3333
[Scriptblock]::Create(@"
3434
configuration DSCTestConfig
3535
{
@@ -51,7 +51,7 @@ Describe "DSC MOF Compilation" -tags "CI" {
5151
Remove-Item -Force -Recurse -Path DSCTestConfig
5252
}
5353

54-
It "Should be able to compile a MOF from a complex configuration" -Skip:$IsWindows {
54+
It "Should be able to compile a MOF from a complex configuration" -Skip:($IsOSX -or $IsWindows) {
5555
[Scriptblock]::Create(@"
5656
Configuration WordPressServer{
5757

0 commit comments

Comments
 (0)