[Tile-serving] [openstreetmap/osm2pgsql] add DB travis test with tablespaces, clang, gcc versions ( #699 ) (#852)

ImreSamu notifications at github.com
Sat Jun 9 14:38:31 UTC 2018


First proposal for better .Travis testing.

Now with this patch - all 27 test is running
```
....
100% tests passed, 0 tests failed out of 27
Label Time Summary:
FlatNodes    =  20.97 sec (2 tests)
NoDB         =  14.57 sec (8 tests)
Total Test time (real) = 170.34 sec
...
```

I have added some examples for
- clang3.8, clang4.0, clang5.0, clang6.0  -  with different Postgres version (pg9.2, pg9.3, pg9.4, pg9.6)
- gcc4.8, gcc4.9, gcc6, gcc7, gcc8   - with pg9.6

Current travis testcases  :
```
clang38_pg92_dbtest
clang40_pg93_dbtest
clang50_pg94_dbtest_luajit
clang50_pg94_dbtest
clang60_pg96_asan_dbtest_luajit
clang60_pg96_asan_dbtest
clang60_pg96_dbtest
gcc48_pg96_asan_NoDB
gcc49_pg96_asan_dbtest_luajit
gcc49_pg96_asan_dbtest
gcc6_pg96_dbtest_luajit
gcc7_pg96_dbtest_luajit
gcc8_pg96_dbtest_luajit_noCCXFLAGS
gcc8_pg96_dbtest_luajit
gcc8_pg96_dbtest_noCCXFLAGS
osx_clang_NoDB
```
// `asan` = -fsanitize=address"
// `dbtest` = `cmake -VV`     : **27 testcases**
// `NoDB` = `cmake -VV -L NoDB`   :  **8 testcases**

Testcases with error - added to the "allow_failures" category - so ready to merge this code.

Some issues  (  I can't resolve this problems )
- gcc8 warning: (related #850)  [ see `gcc8_pg96_dbtest_luajit` ]
- luajit: [ see `*_luajit*` testcases ]   `93% tests passed, 2 tests failed out of 27`
- leaks: (related #731)   [  see `*asan_dbtest*` testcases ]  

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/852

-- Commit Summary --

  * add DB travis test with tablespaces, clang, gcc versions ( #699 )

-- File Changes --

    M .travis.yml (306)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/852.patch
https://github.com/openstreetmap/osm2pgsql/pull/852.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/852
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180609/5514fa44/attachment.html>


More information about the Tile-serving mailing list