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:

[EMAIL PROTECTED] 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
[EMAIL PROTECTED]



_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to