Ticket #11553: fixed_reporting_error.diff
| File fixed_reporting_error.diff, 0.6 kB (added by kjeldahl, 3 months ago) |
|---|
-
lib/javascript_test.rb
old new 152 164 153 165 @server = WEBrick::HTTPServer.new(:Port => 4711) # TODO: make port configurable 154 166 @server.mount_proc("/results") do |req, res| 155 @queue.push(req.query['result']) 167 if ((req.query['failures'] == '0') and (req.query['errors'] == '0')) 168 @queue.push('SUCCESS') 169 else 170 @queue.push('FAILED') 171 end 156 172 res.body = "OK" 157 173 end 158 174 yield self if block_given?