Systemd/src
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
..
ac-power
activate tree-wide: set SA_RESTART for signal handlers we install 2016-12-01 12:41:17 +01:00
analyze meson: build systemd using meson 2017-04-23 21:47:26 -04:00
ask-password
backlight tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
basic meson: build systemd using meson 2017-04-23 21:47:26 -04:00
binfmt
boot Merge pull request #5708 from vcatechnology/arm-cross-compile 2017-04-17 15:49:06 +02:00
busctl Move busctl sources to src/busctl 2017-04-04 20:36:09 -04:00
cgls cgroup: change cg_unified() to possibly return errors again 2017-02-24 17:52:58 +01:00
cgroups-agent
cgtop cgtop: use PRIu64 to print uint64_t (#5544) 2017-03-07 07:47:18 +01:00
core meson: build systemd using meson 2017-04-23 21:47:26 -04:00
coredump meson: define tests 2017-04-23 21:47:26 -04:00
cryptsetup cryptsetup-generator: run cryptsetup service before swap unit (#5480) 2017-02-28 21:30:22 +01:00
dbus1-generator
debug-generator util-lib: various improvements to kernel command line parsing 2016-12-21 19:09:08 +01:00
delta tree-wide: replace all readdir cycles with FOREACH_DIRENT{,_ALL} (#4853) 2016-12-09 10:04:30 +01:00
detect-virt detect-virt: add --private-users switch to check if a userns is active 2016-10-26 20:12:51 -04:00
dissect dissect: generate friendly error messages for more error conditions 2017-02-21 21:41:32 +01:00
environment-d-generator environment-generator: new generator to peruse environment.d 2017-02-20 18:49:14 -05:00
escape tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
firstboot copy: change the various copy_xyz() calls to take a unified flags parameter 2017-02-17 10:22:28 +01:00
fsck util-lib: various improvements to kernel command line parsing 2016-12-21 19:09:08 +01:00
fstab-generator fstab-generator: quiesce false-positive -Werror=format-nonliteral (#5336) 2017-02-13 20:58:22 -05:00
getty-generator
gpt-auto-generator build-sys: correct blkid.h includes 2017-04-06 14:33:02 +01:00
hibernate-resume util-lib: various improvements to kernel command line parsing 2016-12-21 19:09:08 +01:00
hostname meson: build systemd using meson 2017-04-23 21:47:26 -04:00
hwdb tree-wide: standardize on $(PACKAGE_VERSION) for the version string 2017-04-04 20:36:09 -04:00
import meson: define tests 2017-04-23 21:47:26 -04:00
initctl Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
journal meson: build systemd using meson 2017-04-23 21:47:26 -04:00
journal-remote meson: build systemd using meson 2017-04-23 21:47:26 -04:00
kernel-install meson: build systemd using meson 2017-04-23 21:47:26 -04:00
libsystemd meson: define tests 2017-04-23 21:47:26 -04:00
libsystemd-network meson: build systemd using meson 2017-04-23 21:47:26 -04:00
libudev meson: build systemd using meson 2017-04-23 21:47:26 -04:00
locale meson: define tests 2017-04-23 21:47:26 -04:00
login meson: build systemd using meson 2017-04-23 21:47:26 -04:00
machine meson: define tests 2017-04-23 21:47:26 -04:00
machine-id-setup machine-id-setup: --print --commit respects the --root option 2016-12-13 13:03:13 +00:00
modules-load util-lib: various improvements to kernel command line parsing 2016-12-21 19:09:08 +01:00
mount mount-tools: silence gcc warning about uninit var 2017-02-21 11:15:50 -05:00
network meson: define tests 2017-04-23 21:47:26 -04:00
notify Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
nspawn meson: define tests 2017-04-23 21:47:26 -04:00
nss-myhostname nss: fix error to ERANGE for nss calls with too little buffer space (#5365) 2017-02-16 21:29:09 +01:00
nss-mymachines nss: fix error to ERANGE for nss calls with too little buffer space (#5365) 2017-02-16 21:29:09 +01:00
nss-resolve nss-resolve: Fix assertion in ifindex_to_scopeid. (#5360) 2017-02-16 11:00:49 +01:00
nss-systemd nss: fix error to ERANGE for nss calls with too little buffer space (#5365) 2017-02-16 21:29:09 +01:00
path
quotacheck qutoacheck,gpt-auto-generator: trivial coding style improvements 2016-12-21 19:09:28 +01:00
random-seed
rc-local-generator rc-local-generator: drop duplicate definitions for rc.local 2017-04-19 19:27:01 -04:00
remount-fs tree-wide: always invoke setmntent() with "re" mode 2016-12-20 20:00:09 +01:00
reply-password treewide: replace homegrown memory_erase with explicit_bzero 2017-02-05 21:07:55 -05:00
resolve meson: define tests 2017-04-23 21:47:26 -04:00
rfkill tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
run run: also pin unit when we we are in --pty mode 2017-02-28 18:35:05 +01:00
shared meson: define tests 2017-04-23 21:47:26 -04:00
sleep Merge pull request #5131 from keszybz/environment-generators 2017-02-21 11:11:44 +01:00
socket-proxy socket-proxyd: fix --connections-max help message and docs (#5044) 2017-01-10 08:55:50 +01:00
stdio-bridge
sulogin-shell units: simplify rescue.service and emergency.service (#5623) 2017-03-22 23:37:06 -04:00
sysctl sysctl: minor simplification 2016-11-02 11:39:48 -06:00
system-update-generator system-update-generator: warn if the command line blocks updates (#5173) 2017-02-01 21:50:03 +01:00
systemctl build-sys: use a single ENABLE_LOGIND conditional 2017-04-04 20:36:09 -04:00
systemd meson: build systemd using meson 2017-04-23 21:47:26 -04:00
sysusers copy: change the various copy_xyz() calls to take a unified flags parameter 2017-02-17 10:22:28 +01:00
sysv-generator sysv-generator: Provides: $network should also pull network.target to transaction (#5652) 2017-03-30 11:12:50 +02:00
test meson: define tests 2017-04-23 21:47:26 -04:00
timedate meson: build systemd using meson 2017-04-23 21:47:26 -04:00
timesync meson: build systemd using meson 2017-04-23 21:47:26 -04:00
tmpfiles tmpfiles: downgrade error message when operation is not supported (#5692) 2017-04-10 13:22:18 +02:00
tty-ask-password-agent treewide: replace homegrown memory_erase with explicit_bzero 2017-02-05 21:07:55 -05:00
udev meson: define tests 2017-04-23 21:47:26 -04:00
update-done tree-wide: add man: to manpage references (#5402) 2017-02-20 18:45:35 -05:00
update-utmp Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
user-sessions
vconsole meson: build systemd using meson 2017-04-23 21:47:26 -04:00
veritysetup tree-wide: remove consecutive duplicate words in comments (#5148) 2017-01-24 21:45:30 -05:00
volatile-root fstab-generator: add support for volatile boots 2016-12-21 19:09:29 +01:00
.gitignore
Makefile