Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
'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 de602e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/src/core/CMakeLists.txt
Expand Up @@ -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)
Expand Down Expand Up @@ -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 )
Expand Down

5 comments on commit de602e7

@luipir
Copy link
Contributor

@luipir luipir commented on de602e7 Nov 25, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@luipir
Copy link
Contributor

@luipir luipir commented on de602e7 Nov 25, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nyalldawson I'll try

@SebDieBln
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Contributor

@luipir luipir commented on de602e7 Nov 25, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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.