Skip to content
Permalink
Browse files

'fix' build with Ubuntu 15.10

Avoid totally bizarre fontutils test moc error by renaming to
'typographicstylingutils'.

(Pretty sure Ubuntu 15.10 is haunted by ghosts)
  • Loading branch information
nyalldawson committed Nov 25, 2015
1 parent 77526bd commit de602e7b2dd44c1845ea27685f84f8f885233879
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/src/core/CMakeLists.txt
@@ -119,7 +119,6 @@ ADD_QGIS_TEST(fieldstest testqgsfields.cpp)
ADD_QGIS_TEST(fieldtest testqgsfield.cpp)
ADD_QGIS_TEST(filewritertest testqgsvectorfilewriter.cpp)
ADD_QGIS_TEST(fontmarkertest2 testqgsfontmarker.cpp)
ADD_QGIS_TEST(fontutils testqgsfontutils.cpp)
ADD_QGIS_TEST(geometryimporttest testqgsgeometryimport.cpp)
ADD_QGIS_TEST(geometrytest testqgsgeometry.cpp)
ADD_QGIS_TEST(geometryutilstest testqgsgeometryutils.cpp)
@@ -169,6 +168,8 @@ ADD_QGIS_TEST(stringutilstest testqgsstringutils.cpp)
ADD_QGIS_TEST(stylev2test testqgsstylev2.cpp)
ADD_QGIS_TEST(svgmarkertest testqgssvgmarker.cpp)
ADD_QGIS_TEST(symbolv2test testqgssymbolv2.cpp)
#for some obscure reason calling this test "fontutils" kills the build on Ubuntu 15.10
ADD_QGIS_TEST(typographicstylingutils testqgsfontutils.cpp)
ADD_QGIS_TEST(vectordataprovidertest testqgsvectordataprovider.cpp)
ADD_QGIS_TEST(vectorlayercachetest testqgsvectorlayercache.cpp )
ADD_QGIS_TEST(vectorlayerjoinbuffer testqgsvectorlayerjoinbuffer.cpp )

5 comments on commit de602e7

@luipir

This comment has been minimized.

Copy link
Contributor

@luipir luipir replied Nov 25, 2015

I had another error
tests/src/core/testqgsinvertedpolygonrenderer.cpp:196:46: fatal error: testqgsinvertedpolygonrenderer.moc

obviously on Ubuntu 15.10... do you need more info?

@nyalldawson

This comment has been minimized.

Copy link
Contributor Author

@nyalldawson nyalldawson replied Nov 25, 2015

@luipir can you try renaming that test too? This is getting ridiculous...

@luipir

This comment has been minimized.

Copy link
Contributor

@luipir luipir replied Nov 25, 2015

@nyalldawson I'll try

@SebDieBln

This comment has been minimized.

Copy link
Contributor

@SebDieBln SebDieBln replied Nov 25, 2015

I currently do not have an Ubuntu available, but this looks like the actual problem is more subtle and you are only experiencing weird symptoms.
@nyalldawson note that you did not just rename the test but also repositioned it within the list.

I really have to setup a VM running Ubuntu, these are the puzzles I like 😃

@luipir

This comment has been minimized.

Copy link
Contributor

@luipir luipir replied Nov 25, 2015

@SebDieBln wonderful that there peaplo pasioned in this stuffs :)
btw @nyalldawson compilation terminated successfully renaming the following tests:

  • invertedpolygontest
  • maptopixeltest
  • rasterfilltest

and without changing their position

Please sign in to comment.
You can’t perform that action at this time.