[libxml-devel] running tests from svn

Sean Chittenden sean at chittenden.org
Fri Jul 11 12:52:10 EDT 2008


>> Ha!  I just committed something nearly identical to this because I  
>> couldn't
>> run the tests using ./setup.rb test.  I didn't use the constant,  
>> however and
>> did the File.join(...) for each open call.  Anyway, let me know if  
>> trunk
>> works for the tests for you now.  -sc
>
> The tests still do not work from setup.rb.  When I try to run the test
> suite from the root directory, I get an error loading libxml_ruby.
>
> I typically run the tests like this:
>
> [][aaron at amac libxml]$ ruby -I lib:ext:test test/test_suite.rb

Can you try with just `./setup.rb test` ?  I'm cautious about updating  
lib/libxml.rb simply because it's included by everything and I'm still  
not up to speed post-gem'ification re: path/packaging.

I'll commit it for now, but I'm not entirely sure of its complete  
correctness (unit tests work for me).  If this breaks anything for  
anyone, scream.  -sc

--
Sean Chittenden
sean at chittenden.org





More information about the libxml-devel mailing list