Mir

Merge lp://qastaging/~alan-griffiths/mir/fix-1196987 into lp://qastaging/~mir-team/mir/trunk

Proposed by Alan Griffiths
Status: Merged
Approved by: Alan Griffiths
Approved revision: no longer in the source branch.
Merged at revision: 817
Proposed branch: lp://qastaging/~alan-griffiths/mir/fix-1196987
Merge into: lp://qastaging/~mir-team/mir/trunk
Diff against target: 102 lines (+14/-20)
5 files modified
CMakeLists.txt (+5/-10)
cross-compile-chroot.sh (+4/-0)
debian/control (+1/-0)
tests/CMakeLists.txt (+3/-10)
tools/setup-partial-armhf-chroot.sh (+1/-0)
To merge this branch: bzr merge lp://qastaging/~alan-griffiths/mir/fix-1196987
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Thomas Voß (community) Approve
Kevin DuBois (community) Approve
Review via email: mp+172798@code.qastaging.launchpad.net

Commit message

Make gmock and umockdev dependencies of the tests, clean up, and make not building tests an option.

Description of the change

Make gmock and umockdev dependencies of the tests, clean up, and make not building tests an option.

To post a comment you must log in.
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

This doesn't address the ugliness of needing LD_PRELOAD=libumockdev-preload.so for unit-tests - but it does address the bug report.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Kevin DuBois (kdub) wrote :

seems a useful option (provided its always set to ON by default)

review: Approve
Revision history for this message
Thomas Voß (thomas-voss) wrote :

lines 46-55: Why do we remove these options? They still are useful if we are building in a chroot with tests enabled and I think we shouldn't remove these options.

review: Needs Fixing
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

> lines 46-55: Why do we remove these options? They still are useful if we are
> building in a chroot with tests enabled and I think we shouldn't remove these
> options.

Because all they do is output messages?

Revision history for this message
Thomas Voß (thomas-voss) wrote :

> > lines 46-55: Why do we remove these options? They still are useful if we are
> > building in a chroot with tests enabled and I think we shouldn't remove
> these
> > options.
>
> Because all they do is output messages?

My bad :) LGTM, then.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Dammit, in the cross-build case libumockdev is loaded into the partial chroot, but not detected by pkg_check_modules() unless installed on the host system. And my google foo has failed me. :(

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches