Skip to content

Instantly share code, notes, and snippets.

@artemp
Created April 23, 2013 17:24
Show Gist options
  • Select an option

  • Save artemp/5445615 to your computer and use it in GitHub Desktop.

Select an option

Save artemp/5445615 to your computer and use it in GitHub Desktop.
make test
make test
*** Running visual tests...
......................................................................................................................................................................
Visual rendering: 2 failed / 164 passed
1) 40000 different pixels:
/tmp/mapnik-visual-images/tiff-alpha-gdal-600-400-1.0-agg.png (actual)
tests/visual_tests/images/tiff-alpha-gdal-600-400-1.0-agg-reference.png (expected)
2) 40000 different pixels:
/tmp/mapnik-visual-images/tiff-alpha-gdal-600-400-2.0-agg.png (actual)
tests/visual_tests/images/tiff-alpha-gdal-600-400-2.0-agg-reference.png (expected)
*** Running C++ tests...
C++ AGG blending: ✓
C++ clipping: ✓
C++ type conversions: ✓
C++ CSV parse: ✓
C++ exceptions: ✓
C++ fonts registration: ✓
C++ fontset runtime: ✓
C++ geometry conversions: ✓
C++ image i/o: ✓
C++ label algorithms: ✓
C++ Map Request rendering hook: ✓
C++ parameters: ✓
*** Running python tests...
Notice: skipping postgis tests (createdb/dropdb)
...........................T....................................................T...............................TT.....................................................................................................FFFFFF.............................F...................................................................................................................................................................................................................................................T..............................
======================================================================
FAIL: python_tests.mapnik_config_test.test_mapnik_config_no_args
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/artem/projects/mapnik/tests/python_tests/mapnik_config_test.py", line 12, in test_mapnik_config_no_args
eq_(process.returncode,1)
File "/usr/lib/python2.7/dist-packages/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: 127 != 1
======================================================================
FAIL: python_tests.mapnik_config_test.test_mapnik_config_help
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/artem/projects/mapnik/tests/python_tests/mapnik_config_test.py", line 19, in test_mapnik_config_help
eq_(process.returncode,0)
File "/usr/lib/python2.7/dist-packages/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: 127 != 0
======================================================================
FAIL: python_tests.mapnik_config_test.test_mapnik_config_help_short
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/artem/projects/mapnik/tests/python_tests/mapnik_config_test.py", line 26, in test_mapnik_config_help_short
eq_(process.returncode,0)
File "/usr/lib/python2.7/dist-packages/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: 127 != 0
======================================================================
FAIL: python_tests.mapnik_config_test.test_mapnik_config_valid_opts
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/artem/projects/mapnik/tests/python_tests/mapnik_config_test.py", line 55, in test_mapnik_config_valid_opts
eq_(process.returncode,0)
File "/usr/lib/python2.7/dist-packages/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: 127 != 0
======================================================================
FAIL: python_tests.mapnik_config_test.test_mapnik_config_invalid_option
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/artem/projects/mapnik/tests/python_tests/mapnik_config_test.py", line 63, in test_mapnik_config_invalid_option
eq_(process.returncode,0)
File "/usr/lib/python2.7/dist-packages/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: 127 != 0
======================================================================
FAIL: python_tests.mapnik_config_test.test_mapnik_config_valid_and_invalid_option
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/artem/projects/mapnik/tests/python_tests/mapnik_config_test.py", line 71, in test_mapnik_config_valid_and_invalid_option
eq_(process.returncode,0)
File "/usr/lib/python2.7/dist-packages/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: 127 != 0
======================================================================
FAIL: python_tests.ogr_test.test_shapefile_properties
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/artem/projects/mapnik/tests/python_tests/ogr_test.py", line 41, in test_shapefile_properties
eq_(f['NOM_FR'], u'Qu\xe9bec')
File "/usr/lib/python2.7/dist-packages/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: u'Qu\ufffdbec' != u'Qu\xe9bec'
----------------------------------------------------------------------
Ran 525 tests in 9.023s
FAILED (TODO=5, failures=7)
make: *** [test] Error 2
@springmeyer

Copy link
Copy Markdown

the mapnik-config test failures are odd - never seen anything like that. perhaps something to do with WEXITSTATUS handling being different across systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment