Permalink
Browse files

Oops. Add clucumber_setup.rb file.

Now a fresh checkout should run features correctly.
  • Loading branch information...
1 parent 14fb140 commit a5759969417e8a39d25580d60090e823af3bef6a @antifuchs antifuchs committed May 2, 2010
Showing with 17 additions and 2 deletions.
  1. +1 −2 self_test/.gitignore
  2. +16 −0 self_test/clucumber_setup/clucumber_setup.rb
View
@@ -1,2 +1 @@
-*
-!.gitignore
+tmp
@@ -0,0 +1,16 @@
+require "../../clucumber.rb"
+
+begin
+ @main_clucumber = ClucumberSubprocess.new(File.expand_path("../", File.dirname(__FILE__)),
+ :port => 42427)
+ at_exit do
+ @main_clucumber.kill
+ end
+
+ @main_clucumber.start <<-LISP
+ (asdf:oos 'asdf:load-op :clucumber)
+ (setf clucumber::*print-backtraces* nil)
+ LISP
+rescue PTY::ChildExited
+ puts(@main_clucumber && @main_clucumber.output)
+end

0 comments on commit a575996

Please sign in to comment.