Mir

mir:more-test-fixing

Last commit made on 2020-06-02
Get this branch:
git clone -b more-test-fixing https://git.launchpad.net/mir

Branch merges

Branch information

Name:
more-test-fixing
Repository:
lp:mir

Recent commits

576c85f... by Chris Halse Rogers

cmake: Fix mir_discover_external_gtests.

We *were* stringifying command + arguments and passing that as the command
to execute. For example, "wlcs --gtest_filter=foo" was being treated
as a single argument, resulting in the test failing to find a binary called
`wlcs --gtest_filter=foo` rather than finding a `wlcs` binary and passing
`--gtest_filter=foo` as an argument.

366ecaf... by Chris Halse Rogers

cmake: Handle tests which also set LD_PRELOAD in their environment.

The umockdev tests work by LD_PRELOADing libumockdev-preload.so.0. Unfortunately, the
LD_PRELOAD of liblttng-ust-fork.so overrides this, causing the tests to fail.

Instead coalesce all the LD_PRELOADs in the environment into a single call, so
both libumockdev-preload.so.0 and liblttng-ust-fork.so get loaded.

94cf2b2... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1497

1497: Update Fedora builds r=RAOF a=AlanGriffiths

Fedora 30 builds are passing, and Fedora 32 is out

Co-authored-by: Alan Griffiths <email address hidden>

16f3b88... by Alan Griffiths

Fedora 30 is too old for us

f522846... by Alan Griffiths

Fedora 30 is too old for us

22a5b8b... by Alan Griffiths

Fedora 30 are passing, and Fedora 32 is out.

69786be... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1496

1496: Tests: Make LTTNG fork()-safe r=AlanGriffiths a=RAOF

[LTTNG documentation](https://lttng.org/man/3/lttng-ust/v2.12/#doc-_using_lttng_ust_with_daemons) makes it clear that using `fork()` without `exec()` in applications linked to `liblttng-ust` is unsafe unless you preload `liblttng-ust-fork.so`. Do so! (Fixes #1405)

This fixes a test failure where running `ThreadedDispatcherSignalTest` immediately after the `Logind` tests would fail.

Co-authored-by: Christopher James Halse Rogers <email address hidden>

72e7334... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1495

1495: Add missing GMock include for EXPECT_THAT r=wmww a=RAOF

Fixes my build on Groovy.

Co-authored-by: Christopher James Halse Rogers <email address hidden>

266aa80... by Chris Halse Rogers

Tests: Make LTTNG fork()-safe.

[LTTNG documentation](https://lttng.org/man/3/lttng-ust/v2.12/#doc-_using_lttng_ust_with_daemons) makes it clear that
using `fork()` without `exec()` in applications linked to `liblttng-ust` is unsafe unless you preload
`liblttng-ust-fork.so`. Do so!

16e8081... by Chris Halse Rogers

Add missing GMock include for EXPECT_THAT