summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnna Gabutero <amdg@lavabit.com>2009-01-22 06:07:53 +0000
committerAnna Gabutero <amdg@lavabit.com>2009-01-22 06:07:53 +0000
commit9c21d75adda0d2a7b1677f9e50ac217619c950cb (patch)
tree7661870ab4dba41c49fad7c14fea2b5bf0a5ff55
parentfa05fce6548336a989b82709a94154aa6a6a7181 (diff)
downloadbacon-9c21d75adda0d2a7b1677f9e50ac217619c950cb.tar.gz
bacon-9c21d75adda0d2a7b1677f9e50ac217619c950cb.tar.xz
bacon-9c21d75adda0d2a7b1677f9e50ac217619c950cb.zip
Add libs to include path when invoking Test::Unit
-rw-r--r--lib/autotest/bacon.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/autotest/bacon.rb b/lib/autotest/bacon.rb
index a0640bb..3de8753 100644
--- a/lib/autotest/bacon.rb
+++ b/lib/autotest/bacon.rb
@@ -31,6 +31,6 @@ class Autotest::Bacon < Autotest
     args = files_to_test.keys.flatten.join(' ')
     args = '-a' if args.empty?
     # TODO : make regex to pass to -n using values
-    "#{ruby} -S bacon -o TestUnit #{args}"
+    "#{ruby} -S bacon -I#{libs} -o TestUnit #{args}"
   end
-end
\ No newline at end of file
+end