systemd/src
Zbigniew Jędrzejewski-Szmek 55be961f48 test_ukify: rework how --flakes argument is appended
The usual approach is to put 'addopts = --flakes' in setup.cfg. Unfortunately
this fails badly when pytest-flakes is not installed:
  ERROR: usage: test_ukify.py [options] [file_or_dir] [file_or_dir] [...]
  test_ukify.py: error: unrecognized arguments: --flakes

pytest-flakes is not packaged everywhere, and this test is not very important,
so let's just do it only if pytest-flakes is available. We now detect if
pytest-flakes is available and only add '--flakes' conditionally. This
unfortunately means that when invoked via 'pytest' or directly as
'src/ukify/test/test_ukify.py', '--flakes' will not be appended automatically.
But I don't see a nice way to achieve previous automatic behaviour.

(I first considered making 'setup.cfg' templated. But then it is created
in the build directory, but we would need it in the source directory for
pytest to load it automatically. So to load the file, we'd need to give an
argument to pytest anyway, so we don't gain anything with this more complex
approach.)
2023-05-05 18:42:37 +02:00
..
ac-power
activate tree-wide: reset optind to 0 when GNU extensions in optstring are used 2023-03-29 10:34:41 +09:00
analyze image-policy: introduce parse_image_policy_argument() helper 2023-04-13 11:17:28 +02:00
ask-password Merge pull request #26887 from yuwata/proc-cmdline-filter-arguments 2023-04-07 10:55:30 +02:00
backlight
basic missing_fs: also define struct file_clone_range 2023-04-29 07:03:09 +02:00
binfmt
boot test/60-ukify: override stub location in tests 2023-05-05 18:42:37 +02:00
busctl busctl: add --xml-interface to the help message 2023-04-11 11:45:26 +09:00
cgls tree-wide: reset optind to 0 when GNU extensions in optstring are used 2023-03-29 10:34:41 +09:00
cgroups-agent
cgtop cgtop: drop counterproductive bitfields 2023-03-14 18:00:08 +01:00
core core: check for SERVICE_RELOAD_NOTIFY in manager_dbus_is_running 2023-05-03 00:14:35 +09:00
coredump Merge pull request #27254 from poettering/cmsg-align-check 2023-04-14 13:49:04 +09:00
creds creds: make --pretty behave in a slightly more expected manner 2023-04-25 18:34:49 +02:00
cryptenroll various: simplify calls to parse_boolean_argument() 2023-04-05 13:06:26 +08:00
cryptsetup cryptsetup: fix build without TPM2 2023-04-04 22:35:04 +01:00
debug-generator
delta chase-symlinks: Rename chase_symlinks() to chase() 2023-03-24 13:43:51 +01:00
detect-virt
dissect tree-wide: code spelling fixes 2023-04-20 21:54:59 +02:00
environment-d-generator
escape
firstboot image-policy: introduce parse_image_policy_argument() helper 2023-04-13 11:17:28 +02:00
fsck fsck: use execv_p_ and execl_p_ 2023-04-17 19:56:06 +01:00
fstab-generator fstab-generator: add missing phrase in comment 2023-04-18 11:55:03 +02:00
fundamental Merge pull request #27113 from keszybz/variable-expansion-rework 2023-04-24 22:03:06 +02:00
fuzz compress: replace compress_blob() with compress_blob_explicit() 2023-04-11 09:14:34 +02:00
getty-generator Revert "getty-generator: Use device hotplug to instantiate virtualizer consoles" 2023-04-18 10:38:38 +02:00
gpt-auto-generator gpt-auto-generator: "translate" errno codes into proper messages 2023-04-18 11:58:33 +02:00
hibernate-resume
home Merge pull request #27424 from dtardon/auto-cleanup 2023-04-28 18:46:36 +09:00
hostname basic: add RuntimeScope enum 2023-03-10 09:47:39 +01:00
hwdb
id128
import copy: rename reflink_full() -> reflink_range() 2023-04-28 14:06:00 +09:00
initctl initctl: use _cleanup_ 2023-04-27 21:42:38 +02:00
integritysetup
journal journal: handle EADDRNOTAVAIL in two more cases gracefully 2023-05-03 00:13:40 +09:00
journal-remote tree-wide: Handle EADDRNOTAVAIL as journal corruption 2023-05-02 12:17:41 +02:00
kernel-install test/60-ukify: override stub location in tests 2023-05-05 18:42:37 +02:00
libsystemd Revert "sd-journal: introduce simple loop detection for entry array objects" 2023-05-03 06:41:25 +09:00
libsystemd-network networkd: fallback to chaddr for static lease lookup when not found 2023-04-20 19:18:50 +09:00
libudev test: also test all _public_ functions are listed in .sym files 2023-05-01 15:40:18 +09:00
locale locale: when no xvariant match select the entry with an empty xvariant 2023-04-26 08:15:17 +02:00
login Merge pull request #27424 from dtardon/auto-cleanup 2023-04-28 18:46:36 +09:00
machine Merge pull request #25608 from poettering/dissect-moar 2023-04-12 13:46:08 +02:00
machine-id-setup image-policy: introduce parse_image_policy_argument() helper 2023-04-13 11:17:28 +02:00
modules-load
mount chase-symlinks: Rename chase_symlinks() to chase() 2023-03-24 13:43:51 +01:00
network network-generator: shorten code a bit 2023-04-28 18:50:47 +09:00
notify notify: add support for sending fds with notification messages 2023-03-29 19:09:10 +02:00
nspawn nspawn: port over to /supervisor/ subcgroup being delegated to nspawn 2023-04-27 12:18:32 +02:00
nss-myhostname nss-myhostname: do not return empty result with NSS_STATUS_SUCCESS 2023-02-09 06:07:16 +09:00
nss-mymachines
nss-resolve
nss-systemd Include <threads.h> if possible to get thread_local definition 2023-03-06 10:04:39 +09:00
oom oomd: add inline comments with param names 2023-03-27 10:18:55 +02:00
partition repart: Add Minimize= support for verity hash partitions 2023-04-26 14:15:16 +02:00
path sd-path: export env. generators paths 2023-01-21 11:27:40 +00:00
portable Merge pull request #25608 from poettering/dissect-moar 2023-04-12 13:46:08 +02:00
pstore pstore: avoid opening the dmesg.txt file if not requested 2023-04-28 12:00:42 +02:00
quotacheck
random-seed random-seed: drop extraneous "we" 2023-03-08 16:28:37 +01:00
rc-local-generator
remount-fs
reply-password
resolve resolved: adjust message about credentials 2023-04-25 18:08:15 +02:00
rfkill
rpm core: split system/user job timeouts and make them configurable 2023-02-01 11:52:29 +00:00
run Merge pull request #27113 from keszybz/variable-expansion-rework 2023-04-24 22:03:06 +02:00
run-generator
shared Merge pull request #27492 from poettering/base-filesystem-000 2023-05-02 20:53:35 +08:00
shutdown shutdown: paranoia – close all fds we might get passed in 2023-04-27 17:56:24 +01:00
sleep tre-wide: use FORMAT_DEVNUM() a bit more 2023-04-21 12:45:49 +02:00
socket-proxy socket-proxyd: support Type=notify 2023-02-21 22:59:04 +00:00
stdio-bridge basic: add RuntimeScope enum 2023-03-10 09:47:39 +01:00
sulogin-shell sulogin-shell: Start initrd.target on exit in the initrd 2023-04-21 16:46:06 +02:00
sysctl
sysext tre-wide: use FORMAT_DEVNUM() a bit more 2023-04-21 12:45:49 +02:00
system-update-generator Support /etc/system-update for OSTree systems 2023-04-25 17:40:41 +02:00
systemctl core/systemctl: when switching root default to /sysroot/ 2023-04-28 23:26:20 +01:00
systemd sd-daemon: add sd_pid_notifyf_with_fds() 2023-04-25 17:38:57 +02:00
sysupdate process-util: make safe_fork() unset $NOTIFY_SOCKET 2023-04-17 05:46:32 +08:00
sysusers image-policy: introduce parse_image_policy_argument() helper 2023-04-13 11:17:28 +02:00
sysv-generator basic: add RuntimeScope enum 2023-03-10 09:47:39 +01:00
test generate-sym-test: only look in .c and .h files 2023-05-02 11:30:51 +02:00
timedate basic: add RuntimeScope enum 2023-03-10 09:47:39 +01:00
timesync tree-wide: copy timestamp data from cmsg 2023-04-16 13:26:58 +09:00
tmpfiles tmpfiles: add conditionalized execute bit (X) support 2023-04-27 15:15:09 +08:00
tty-ask-password-agent
udev udev: port to DelegateSubgroup= 2023-04-27 12:18:32 +02:00
ukify test_ukify: rework how --flakes argument is appended 2023-05-05 18:42:37 +02:00
update-done
update-utmp
user-sessions user-sessions: do not remove /etc/nologin 2023-04-03 12:32:56 +02:00
userdb tree-wide: reset optind to 0 when GNU extensions in optstring are used 2023-03-29 10:34:41 +09:00
vconsole shared/creds-util: return 0 for missing creds in read_credential_strings_many 2023-04-25 18:08:15 +02:00
veritysetup veritysetup: add support for fec options 2023-04-13 05:39:49 +02:00
version
volatile-root chase-symlinks: Rename chase_symlinks() to chase() 2023-03-24 13:43:51 +01:00
xdg-autostart-generator xdg-autostart-service: handle gnome autostart phase better on other desktops 2023-04-28 12:32:53 +08:00