From: Cheng Zhao Date: Mon, 19 May 2014 02:00:59 +0000 (+0000) Subject: Skip the webgl spec on Linux. X-Git-Tag: v0.12.5~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b89ef80481cc33a40b7fac3c5e37473e07ce34fc;p=electron.git Skip the webgl spec on Linux. WebGL just usually don't work on Linux in virtual machines. --- diff --git a/spec/chromium-spec.coffee b/spec/chromium-spec.coffee index f7d56e71..5e5d3759 100644 --- a/spec/chromium-spec.coffee +++ b/spec/chromium-spec.coffee @@ -68,5 +68,6 @@ describe 'chromium feature', -> describe 'webgl', -> it 'can be get as context in canvas', -> + return if process.platform is 'linux' webgl = document.createElement('canvas').getContext 'webgl' assert.notEqual webgl, null