[Tile-serving] [osm2pgsql] Regression tests missing default.style (#490)

alex85k notifications at github.com
Mon Nov 2 15:55:50 UTC 2015


Sorry for misunderstanding. I can reproduce only when calling from build folder without ctest:
```
 ./tests/test-output-pgsql-tablespace 
```
ctest explicitly says to use working directory:
```
 add_test(NAME ${test_name} COMMAND ${test_name}
    WORKING_DIRECTORY ${osm2pgsql_SOURCE_DIR})
 ``` 

However, I am not sure if osm2pgsql_SOURCE_DIR is set correctly on old cmake. Which version do you use?

Maybe replacing  ${osm2pgsql_SOURCE_DIR} with  ${PROJECT_SOURCE_DIR} or absolute path can help (then the changes will be needed).

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/490#issuecomment-153060831
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151102/2214c518/attachment.html>


More information about the Tile-serving mailing list