Fail if the benchmarks fail

This commit is contained in:
Corey Johnson 2012-05-15 16:59:16 -07:00
parent d9dbca122f
commit aed346cfcf
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ describe "editor.", ->
beforeEach ->
editor.setCursorScreenPosition([editor.getLastVisibleScreenRow(), 0])
fbenchmark "move-down-and-scroll", 300, ->
benchmark "move-down-and-scroll", 300, ->
editor.trigger 'move-down'
describe "at-eof.", ->

View File

@ -10,6 +10,6 @@ system 'ssh',
'-o', 'StrictHostKeyChecking=no',
'-p', '6000',
'atom.githubapp.com',
"cd /Users/github/code/atom && git fetch -q origin && git reset -q --hard #{sha} && rake test && ( rake benchmark || echo 'benchmark failed' )"
"cd /Users/github/code/atom && git fetch -q origin && git reset -q --hard #{sha} && rake test && rake benchmark"
exit $?.exitstatus