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

Paul Norman notifications at github.com
Mon Nov 2 20:04:23 UTC 2015


> Sorry for misunderstanding. I can reproduce only when calling from build folder without ctest:
> ```
 ./tests/test-output-pgsql-tablespace 
```

It's important to be able to do this, otherwise it's a huge pain to attach a debugger to the process.

This was also with `tests/test-output-pgsql`, but the problem probably applies to any tests that use default.style

Perhaps as part of the build process we could copy default.style to the build directory?

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

My testing VM has 2.8.12.2.

Doing a full `git clean -xfd && git reset --hard HEAD` fixed this particular test failing in ctest, but we still need to be able to run a single test in isolation.

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


More information about the Tile-serving mailing list