[Tile-serving] [osm2pgsql] test-output-multi-tags failing because of comments in JSON (#481)
alex85k
notifications at github.com
Wed Oct 28 16:11:14 UTC 2015
For a long time I had failing test on Windows (and, if I remember correctly, on other OSes too):
```
`test 14
Start 14: test-output-multi-tags
14: Test command: D:\winbuilds_d\osm2pgsql\build\tests\Debug\test-output-multi-tags.exe
14: Test timeout computed to be: 1200
14: WARNING: osm2pgsql was compiled without fork, only using one process!
14: ERROR: Unable to parse multi config file `tests/test_output_multi_tags.json': tests/test_output_multi_tags.json(1): expected value
```
After debugging I founded that parser means exactly what it prints: it can not read line 1 of this file:
https://github.com/openstreetmap/osm2pgsql/blob/master/tests/test_output_multi_tags.json
because it is a comment and it seems that boost does not support it. After removing the comments, the tests pass.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/481
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151028/70b768d0/attachment.html>
More information about the Tile-serving
mailing list