mapnik / Ruby-Mapnik

Ruby Bindings for Mapnik
MIT License
66 stars 13 forks source link

Building Ruby-Mapnik fails running the tests #44

Open tomhughes opened 10 years ago

tomhughes commented 10 years ago

Most likely a minitest 5 compatibility issue:

/usr/bin/ruby -w -Ilib:bin:test:. -e 'require "rubygems"; require "minitest/autorun"; require "test/test_polygon_pattern_symbolizer.rb"; require "test/test_helper.rb"; require "test/test_mapnik_font_engine.rb"; require "test/test_mapnik_symbolizer.rb"; require "test/test_mapnik_expression.rb"; require "test/test_mapnik_line_symbolizer.rb"; require "test/test_mapnik_coord.rb"; require "test/test_mapnik_map.rb"; require "test/test_mapnik_markers_symbolizer.rb"; require "test/test_line_pattern_symbolizer.rb"; require "test/test_mapnik_datasource.rb"; require "test/test_mapnik_stroke.rb"; require "test/test_mapnik_raster_colorizer.rb"; require "test/test_mapnik_envelope.rb"; require "test/test_mapnik_style.rb"; require "test/test_mapnik_raster_symbolizer.rb"; require "test/test_mapnik_layer.rb"; require "test/test_mapnik_color.rb"; require "test/test_mapnik_rule.rb"; require "test/test_mapnik_shield_symbolizer.rb"; require "test/test_mapnik_point_symbolizer.rb"; require "test/test_mapnik_text_symbolizer.rb"; require "test/test_mapnik_feature.rb"; require "test/test_mapnik_polygon_symbolizer.rb"; require "test/test_mapnik_projection.rb"; require "test/test_ruby_mapnik.rb"' -- 
MiniTest::Unit::TestCase is now Minitest::Test. From /usr/share/ruby/test/unit/testcase.rb:8:in `<module:Unit>'
/usr/share/ruby/test/unit.rb:670:in `<class:Runner>': undefined method `_run_suite' for class `Test::Unit::Runner' (NameError)
    from /usr/share/ruby/test/unit.rb:255:in `<module:Unit>'
    from /usr/share/ruby/test/unit.rb:9:in `<module:Test>'
    from /usr/share/ruby/test/unit.rb:8:in `<top (required)>'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/tom/src/osm/Ruby-Mapnik/test/test_helper.rb:22:in `<top (required)>'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/tom/src/osm/Ruby-Mapnik/test/test_polygon_pattern_symbolizer.rb:1:in `<top (required)>'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
    from -e:1:in `<main>'
rake aborted!
Command failed with status (1): [/usr/bin/ruby -w -Ilib:bin:test:. -e 'requ...]
springmeyer commented 10 years ago

I'm seeing a crash running the tests: #46