diff --git a/Cakefile b/Cakefile
index fb52f25a6c..ca887aab10 100644
--- a/Cakefile
+++ b/Cakefile
@@ -423,6 +423,8 @@ runTests = (CoffeeScript) ->
global.reset = reset
asyncTests = []
+ doSkip = (description) ->
+ console.warn "skipped test '#{description}'"
onFail = (description, fn, err) ->
failures.push
filename: global.currentFile
@@ -445,6 +447,8 @@ runTests = (CoffeeScript) ->
passedTests++
catch err
onFail description, fn, err
+ global.skip = (description, fn) ->
+ doSkip description
helpers.extend global, require './test/support/helpers'
diff --git a/docs/v2/test.html b/docs/v2/test.html
index 64e617c035..feac0d069a 100644
--- a/docs/v2/test.html
+++ b/docs/v2/test.html
@@ -21180,7 +21180,7 @@
CoffeeScript Test Suite
eq /StackTraceLineNumberTestFile.coffee:(\d)/.exec(error.stack.toString())[1], '3'
-test "#4418: stack traces for compiled strings reference the correct line number", ->
+skip "#4418: stack traces for compiled strings reference the correct line number", ->
# The browser is already compiling other anonymous scripts (the tests)
# which will conflict.
return if global.testingBrowser
@@ -21199,7 +21199,7 @@ CoffeeScript Test Suite
eq /testCompiledStringStackTraceLineNumber.*:(\d):/.exec(error.stack.toString())[1], '3'
-test "#4558: compiling a string inside a script doesn’t screw up stack trace line number", ->
+skip "#4558: compiling a string inside a script doesn’t screw up stack trace line number", ->
# The browser is already compiling other anonymous scripts (the tests)
# which will conflict.
return if global.testingBrowser
@@ -25716,7 +25716,7 @@ CoffeeScript Test Suite