Systemd/src/machine
Zbigniew Jędrzejewski-Szmek 69e96427a2 meson: define tests
Tests can be run with 'ninja-build test' or using 'mesontest'.
'-Dtests=unsafe' can be used to include the "unsafe" tests in the
test suite, same as with autotools.

v2:
- use more conf.get guards are optional components
- declare deps on generated headers for test-{af,arphrd,cap}-list

v3:
- define environment for tests

  Most test don't need this, but to be consistent with autotools-based build, and
  to avoid questions which tests need it and which don't, set the same environment
  for all tests.

v4:
- rework test generation

  Use a list of lists to define each test. This way we can reduce the
  boilerplate somewhat, although the test listings are still pretty verbose. We
  can also move the definitions of the tests to the subdirs. Unfortunately some
  subdirs are included earlier than some of the libraries that test binaries
  are linked to.  So just dump all definitions of all tests that cannot be
  defined earlier into src/test. The `executable` definitions are still at the
  top level, so the binaries are compiled into the build root.

v5:
- tag test-dnssec-complex as manual

v6:
- fix HAVE_LIBZ typo
- add missing libgobject/libgio defs
- mark test-qcow2 as manual
2017-04-23 21:47:26 -04:00
..
.gitignore machined: introduce polkit for OpenLogin() call 2014-12-23 21:28:48 +01:00
image-dbus.c copy: change the various copy_xyz() calls to take a unified flags parameter 2017-02-17 10:22:28 +01:00
image-dbus.h machined: add API for querying the OS release of a machine image 2016-12-07 18:38:41 +01:00
machine-dbus.c machined: refuse bind mounts on containers that have user namespaces applied 2017-02-17 10:22:28 +01:00
machine-dbus.h machined: expose "UID shift" concept for containers 2017-02-17 10:22:28 +01:00
machine.c machined: expose "UID shift" concept for containers 2017-02-17 10:22:28 +01:00
machine.h machined: expose "UID shift" concept for containers 2017-02-17 10:22:28 +01:00
machinectl.c machinectl: don't return 1 in case we couldn't figure out container IP addresses (#5587) 2017-03-14 17:38:19 -04:00
machined-dbus.c machined: expose "UID shift" concept for containers 2017-02-17 10:22:28 +01:00
machined.c Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
machined.h machined: run clone operation asynchronously in the background 2016-05-02 11:15:30 +02:00
Makefile machined: split out machine registration stuff from logind 2013-07-02 03:47:23 +02:00
meson.build meson: define tests 2017-04-23 21:47:26 -04:00
operation.c machined: properly propagate long-running operation errors 2017-02-17 10:22:28 +01:00
operation.h machined: "machinectl clean" can take a while, do it asynchronously from a background process 2016-06-24 16:01:14 +02:00
org.freedesktop.machine1.conf machined: expose "UID shift" concept for containers 2017-02-17 10:22:28 +01:00
org.freedesktop.machine1.policy.in machine: policykit string fixes 2015-08-25 18:37:16 +02:00
org.freedesktop.machine1.service machined: split out machine registration stuff from logind 2013-07-02 03:47:23 +02:00
test-machine-tables.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00