ext/revdispatch/test.rb in evdispatch-0.1.5 vs ext/revdispatch/test.rb in evdispatch-0.2.0
- old
+ new
@@ -3,9 +3,10 @@
# to run this through valgrind run the server outside of this script
# i run this: valgrind --leak-check=full ~/project/ruby-valgrind-env/bin/ruby test.rb r
pid = nil
running_ebb_here = (ARGV[0] != 'r' and !`uname`.grep(/darwin/i))
if running_ebb_here
+ puts "starting ebb in this process"
pid = fork do
require 'server'
start_test_server
end
end