Disabling unit tests for OSX
This commit is contained in:
parent
0c7cbc1667
commit
ee7356e36e
1 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ Describe "DSC MOF Compilation" -tags "CI" {
|
||||||
$env:PSMODULEPATH = join-path ([io.path]::GetDirectoryName($powershellexe)) Modules
|
$env:PSMODULEPATH = join-path ([io.path]::GetDirectoryName($powershellexe)) Modules
|
||||||
}
|
}
|
||||||
|
|
||||||
It "Should be able to compile a MOF from a basic configuration" -Skip:$IsWindows {
|
It "Should be able to compile a MOF from a basic configuration" -Skip:($IsOSX -or $IsWindows) {
|
||||||
[Scriptblock]::Create(@"
|
[Scriptblock]::Create(@"
|
||||||
configuration DSCTestConfig
|
configuration DSCTestConfig
|
||||||
{
|
{
|
||||||
|
@ -29,7 +29,7 @@ Describe "DSC MOF Compilation" -tags "CI" {
|
||||||
Remove-Item -Force -Recurse -Path DSCTestConfig
|
Remove-Item -Force -Recurse -Path DSCTestConfig
|
||||||
}
|
}
|
||||||
|
|
||||||
It "Should be able to compile a MOF from another basic configuration" -Skip:$IsWindows {
|
It "Should be able to compile a MOF from another basic configuration" -Skip:($IsOSX -or $IsWindows) {
|
||||||
[Scriptblock]::Create(@"
|
[Scriptblock]::Create(@"
|
||||||
configuration DSCTestConfig
|
configuration DSCTestConfig
|
||||||
{
|
{
|
||||||
|
@ -51,7 +51,7 @@ Describe "DSC MOF Compilation" -tags "CI" {
|
||||||
Remove-Item -Force -Recurse -Path DSCTestConfig
|
Remove-Item -Force -Recurse -Path DSCTestConfig
|
||||||
}
|
}
|
||||||
|
|
||||||
It "Should be able to compile a MOF from a complex configuration" -Skip:$IsWindows {
|
It "Should be able to compile a MOF from a complex configuration" -Skip:($IsOSX -or $IsWindows) {
|
||||||
[Scriptblock]::Create(@"
|
[Scriptblock]::Create(@"
|
||||||
Configuration WordPressServer{
|
Configuration WordPressServer{
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue