How to install mir-test-tools
on Red Hat Enterprise Linux

mir-test-tools

Alan Griffiths (alangriffiths)

Mir test scripts and applications

Once installed the tests can be run in two modes:

  1. As an application on an X11 supporting desktop:

    $ mir-test-tools.<test>

  2. As "owner" of a virtual terminal:

    $ sudo mir-test-tools.<test>

mir-test-tools.qt-test runs a simple Qt client and reports if it fail

mir-test-tools.sdl2-test runs an SDL2 client and reports if it fail

mir-test-tools.gtk3-test runs a gtk3+ client and reports if it fail

mir-test-tools.performance-test runs the Mir performance tests and reports if any fail

mir-test-tools.basic-test a very simple test to prove that a Mir server and client can be started and connect to each other. (This is mostly legacy as it tests mirclient support, not Wayland.)

mir-test-tools.smoke-test runs each of the example Mir clients and reports any that fail. (This is mostly legacy as it tests mirclient support, not Wayland.)

mir-test-tools.stress-test runs the mir_stress client - adjust the length of the test with --test-timeout &lt;seconds&gt;. (This is mostly legacy as it tests mirclient support, not Wayland.)

mir-test-tools.bash is a debugging aid: it starts a bash session with the environment set up for the tests.

Details for mir-test-tools

License
GPL-3.0
Last updated
3 December 2019

Enable snaps on Red Hat Enterprise Linux and install mir-test-tools

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.

Enable snapd

Snap is available for Red Hat Enterprise Linux (RHEL) 7, from the 7.6 release onward, from the Extra Packages for Enterprise Linux (EPEL) repository.

It is not yet available in the EPEL 8 repository, and consequently, not yet available for RHEL 8 unless you build the RPM yourself.

The EPEL repository can be added to your system with the following command:

Adding the optional and extras repositories is also recommended:

sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms" sudo yum update

Snap can now be installed as follows:

Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:

To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap:

Either log out and back in again or restart your system to ensure snap’s paths are updated correctly.

Install mir-test-tools

To install mir-test-tools, simply use the following command:

Other popular snaps…

See more...
See more in Featured

More things to do…

Get the snap store

Browse and find snaps from the convenience of your desktop using the snap store snap.

Learn more about snaps

Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.