Skip to content

Instantly share code, notes, and snippets.

@agrimm
Created April 4, 2010 10:31
Show Gist options
  • Save agrimm/355301 to your computer and use it in GitHub Desktop.
Save agrimm/355301 to your computer and use it in GitHub Desktop.
Note: This is based on the following zombie-chaser commit:
commit 20173f84a936fb41109c765d8ea080fb0793b403
Author: Andrew Grimm <[email protected]>
Date: Sun Apr 4 17:34:52 2010 +1000
Failed attempt at collision avoidance.
C:\Documents and Settings\Andrew\Desktop\code\zombie-chaser>ruby test\integration.rb
Loaded suite test/integration
Started
.......
Finished in 74.171875 seconds.
7 tests, 7 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
C:\Documents and Settings\Andrew\Desktop\code\zombie-chaser>ruby test\integration.rb
Loaded suite test/integration
Started
<internal:prelude>:6:in `lock': deadlock; recursive locking (ThreadError)
from <internal:prelude>:6:in `synchronize'
from c:/ruby19/lib/ruby/1.9.1/thread.rb:148:in `push'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/test_unit_handler.rb:32:in `ensure in run'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/test_unit_handler.rb:32:in `run'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:42:in `run_tests'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/world.rb:77:in `run_next_zombie'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:129:in `zombie_survives?'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:110:in `run_tests'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:125:in `block in validate'
from c:/ruby19/lib/ruby/1.9.1/timeout.rb:52:in `timeout'
from c:/ruby19/lib/ruby/1.9.1/timeout.rb:82:in `timeout'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:125:in `validate'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:102:in `block (3 levels) in validate'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:101:in `each'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:101:in `block (2 levels) in validate'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:96:in `each'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:96:in `block in validate'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:133:in `block in while_world_running'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/world.rb:56:in `while_world_running'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:133:in `while_world_running'
from C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:70:in `validate'
from bin/zombie-chaser:79:in `<main>'
F......
1) Failure:
test_class_methods_dont_cause_errors(TestIntegration) [test/integration.rb:34]:
Error raised during test due to class methods.
<"gosu gem not available! Using fake implementations of Gosu.\n\n@\n.@\n..@\n...@\n....@\n.....@\n......@\n.......@\n........
@\n.........@\n..........@\n...........@\n............@\n.............@\n..............@\n...............@\n................@
\n.................@\n..................@\n...................@\n....................@\n.....................@\n.............
.........@\n.......................@\n........................@\n.........................@\n..........................@\n...
........................@\n............................@\n.............................@\n..............................@\n..
.............................@\n................................@\n.................................@\n......................
............@\n...................................@\n....................................@\n.................................
....@\n......................................@\n.......................................@\n...................................
.....@\n.........................................@\n..........................................@\n............................
...............@\n............................................@\n.............................................@\n............
..................................@\n...............................................@\n......................................
..........@\nTimeout set to 7 seconds.\nInitial tests pass. Let's rumble.\n\n************************************************
**********************\n*** Bio::Sequence::NA#at_content loaded\n***********************************************************
***********\n\n\nZ...............................................@\nThe mutant didn't survive. Cool!\n\n*********************
*************************************************\n*** Bio::Sequence::NA#at_skew loaded\n***********************************
***********************************\n\nThe mutant didn't survive. Cool!\n\n**************************************************
********************\n*** Bio::Sequence::NA#codon_usage loaded\n************************************************************
**********\n\n\nZ...............................................@\nThe mutant didn't survive. Cool!\n\n\nZZ..................
............................@\n**********************************************************************\n*** Bio::Sequence::NA
#complement loaded\n**********************************************************************\n\n\nZZ...........................
...................@\nZZ..............................................@\n\nThe affected method didn't cause test failures.\n\
n**********************************************************************\n*** Bio::Sequence::NA#complement! loaded\n*********
*************************************************************\n\n\nZ*..............................................@\n\nThe a
ffected method didn't cause test failures.\n\n**********************************************************************\n*** Bi
o::Sequence::NA#cut_with_enzyme loaded\n**********************************************************************\n\n\nZ*.......
.......................................@\nZ*..............................................@\nZ*..............................
................@"> expected to be =~
</Chaser Results/>.
Finished in 3037.3125 seconds.
7 tests, 7 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
85.7143% passed
C:\Documents and Settings\Andrew\Desktop\code\zombie-chaser>
C:\Documents and Settings\Andrew\Desktop\code\zombie-chaser>ruby --version
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment