Disable JIT cache tests

This test fails since we've disabled the JIT cache entirely.
This commit is contained in:
Andrew Schwartzmeyer
2016-06-28 20:08:11 -07:00
parent 2360d1ef46
commit 4086644de7
+4 -2
View File
@@ -50,7 +50,8 @@ Describe "Configuration file locations" {
& $powershell -noprofile { (Get-PSReadlineOption).HistorySavePath } | Should Be $expectedReadline
}
It @ItArgs "JIT cache should be created correctly" {
# This feature (and thus test) has been disabled because of the AssemblyLoadContext scenario
It "JIT cache should be created correctly" -Skip {
Remove-Item -ErrorAction SilentlyContinue $expectedCache
& $powershell -noprofile { exit }
$expectedCache | Should Exist
@@ -105,7 +106,8 @@ Describe "Configuration file locations" {
& $powershell -noprofile { (Get-PSReadlineOption).HistorySavePath } | Should Be $expected
}
It @ItArgs "JIT cache should respect XDG_CACHE_HOME" {
# This feature (and thus test) has been disabled because of the AssemblyLoadContext scenario
It -Skip "JIT cache should respect XDG_CACHE_HOME" {
$env:XDG_CACHE_HOME = $TestDrive
$expected = [IO.Path]::Combine($TestDrive, "powershell", "StartupProfileData-NonInteractive")
Remove-Item -ErrorAction SilentlyContinue $expected