cmake .. -DCMAKE_BUILD_TYPE=Coverage && make && make test && make coverage fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
High
|
Sam Spilsbury | ||
compiz (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When trying to build COMPIZ_TESTING with this command:
cmake .. -DCMAKE_
make && make test && make coverage
I get these errors:
/usr/lib/
gtest-all.
gtest-all.
/usr/lib/
gtest-all.
gtest-all.
/usr/lib/
gtest-all.
gtest-all.
/usr/lib/
gtest-all.
/usr/lib/
gtest-all.
/usr/lib/
gtest-all.
gtest-all.
collect2: error: ld returned 1 exit status
make[2]: *** [gtk/window-
make[1]: *** [gtk/window-
make: *** [all] Error 2
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- MC Return: Approve
- Sam Spilsbury: Pending requested
-
Diff: 768 lines (+34/-123)40 files modifiedcmake/FindGoogleTest.cmake (+5/-1)
compizconfig/integration/gnome/gsettings/tests/CMakeLists.txt (+0/-1)
compizconfig/integration/gnome/tests/CMakeLists.txt (+0/-1)
compizconfig/libcompizconfig/tests/CMakeLists.txt (+0/-9)
compizconfig/mocks/libcompizconfig/CMakeLists.txt (+1/-12)
gtk/window-decorator/tests/CMakeLists.txt (+0/-3)
plugins/composite/src/pixmapbinding/tests/CMakeLists.txt (+1/-3)
plugins/decor/src/clip-groups/tests/CMakeLists.txt (+1/-3)
plugins/decor/src/pixmap-requests/tests/CMakeLists.txt (+1/-3)
plugins/decor/src/pixmap-requests/tests/integration/xorg-gtest/CMakeLists.txt (+0/-1)
plugins/expo/src/click_threshold/tests/CMakeLists.txt (+1/-3)
plugins/expo/src/wall_offset/tests/CMakeLists.txt (+1/-3)
plugins/grid/src/grabhandler/tests/CMakeLists.txt (+1/-3)
plugins/opengl/src/doublebuffer/tests/CMakeLists.txt (+1/-3)
plugins/opengl/src/glxtfpbind/tests/CMakeLists.txt (+1/-3)
plugins/place/src/constrain-to-workarea/tests/CMakeLists.txt (+1/-3)
plugins/place/src/screen-size-change/tests/CMakeLists.txt (+1/-3)
plugins/place/src/smart/tests/CMakeLists.txt (+1/-3)
plugins/resize/src/logic/tests/CMakeLists.txt (+1/-3)
plugins/wall/src/offset_movement/tests/CMakeLists.txt (+1/-3)
src/option/tests/CMakeLists.txt (+0/-1)
src/plugin/tests/CMakeLists.txt (+0/-1)
src/pluginclasshandler/tests/CMakeLists.txt (+0/-3)
src/point/tests/CMakeLists.txt (+1/-3)
src/privatescreen/tests/CMakeLists.txt (+0/-1)
src/rect/tests/CMakeLists.txt (+2/-6)
src/region/tests/CMakeLists.txt (+0/-1)
src/servergrab/tests/CMakeLists.txt (+1/-3)
src/string/tests/CMakeLists.txt (+0/-1)
src/timer/tests/CMakeLists.txt (+4/-12)
src/window/constrainment/tests/CMakeLists.txt (+1/-3)
src/window/extents/tests/CMakeLists.txt (+1/-3)
src/window/geometry-saver/tests/CMakeLists.txt (+1/-3)
src/window/geometry/tests/CMakeLists.txt (+1/-3)
src/wrapsystem/tests/CMakeLists.txt (+0/-1)
tests/acceptance-tests/xorg-gtest/tests/CMakeLists.txt (+0/-1)
tests/integration/glib/CMakeLists.txt (+1/-3)
tests/shared/src/CMakeLists.txt (+1/-2)
tests/system/xorg-gtest/tests/CMakeLists.txt (+1/-2)
tests/xorg-gtest/CMakeLists.txt (+0/-3)
Changed in compiz: | |
status: | Fix Committed → Fix Released |
I can't reproduce this but I have an idea of how to force pthread to be linked to all the gtest stuff