[Tile-serving] [osm2pgsql] regression tests fail for optional Lua tag processing (#552)
mtmail
notifications at github.com
Fri Mar 4 16:48:37 UTC 2016
I'm running `osm2pgsql/tests/regression-test.py` on Ubuntu 14.04 with `osm2pgsql SVN version 0.89.0-dev (64bit id space)` (latest version from github).
```
======================================================================
ERROR: runTest (__main__.MultipolygonSlimTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/Nominatim/osm2pgsql/tests/regression-test.py", line 452, in setUp
self.setUpGeneric(self.parameters, multipoly_import_file)
File "/home/vagrant/Nominatim/osm2pgsql/tests/regression-test.py", line 383, in setUpGeneric
self.assertEqual (proc.returncode, 0, "Execution of osm2pgsql --slim with options: '%s' failed:\n%s\n%s\n" % (str(parameters), outp, outerr))
AssertionError: Execution of osm2pgsql --slim with options: '['--tag-transform-script', 'style.lua', '-k']' failed:
osm2pgsql SVN version 0.89.0-dev (64bit id space)
Using lua based tag processing pipeline with script style.lua
Error: Could not init lua tag transform, as lua support was not compiled into this version
Error: Failed to initialise tag processing.
Error occurred, cleaning up
```
According to the README lua support is optional. I argue those 8 tests should be skipped or issue warnings only if lua was not compiled.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/552
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160304/e4a7d9ed/attachment.html>
More information about the Tile-serving
mailing list