Permalink
Browse files

fix conformance tests not finding lib dir

  • Loading branch information...
1 parent 96875c8 commit cbf7a391a52381e252e4233c5627f9a5d6161439 @rtomayko rtomayko committed Jan 25, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 Rakefile
View
@@ -61,8 +61,9 @@ desc 'Run conformance tests (MARKDOWN_TEST_VER=1.0)'
task 'test:conformance' => [:build] do |t|
script = "#{pwd}/bin/rdiscount"
test_version = ENV['MARKDOWN_TEST_VER'] || '1.0.3'
+ lib_dir = "#{pwd}/lib"
chdir("test/MarkdownTest_#{test_version}") do
- sh "./MarkdownTest.pl --script='#{script}' --tidy"
+ sh "RUBYLIB=#{lib_dir} ./MarkdownTest.pl --script='#{script}' --tidy"
end
end

0 comments on commit cbf7a39

Please sign in to comment.