From 7fff477b9a2eb8e394f7ad9cab185566fd6e46a3 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Tue, 5 Sep 2017 16:55:09 -0700 Subject: [PATCH] Temporarily disable extension unit tests on non-Windows platforms The VS Code extension test runner is failing consistently on Linux and MacOS so we are disabling it for now until we can diagnose the issue. Tracked by issue #1024. --- vscode-powershell.build.ps1 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/vscode-powershell.build.ps1 b/vscode-powershell.build.ps1 index 4ba4e4481e..43b4c20693 100644 --- a/vscode-powershell.build.ps1 +++ b/vscode-powershell.build.ps1 @@ -93,8 +93,13 @@ task BuildEditorServices { task BuildAll BuildEditorServices, Build -Before Package task Test Build, { - Write-Host "`n### Running extension tests" -ForegroundColor Green - exec { & npm run test } + if (!$global:IsLinux -and !$global:IsOSX) { + Write-Host "`n### Running extension tests" -ForegroundColor Green + exec { & npm run test } + } + else { + Write-Host "`n### Skipping extension tests on non-Windows platform" -ForegroundColor Yellow + } } task Package {