mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-21 18:00:37 +01:00
test: don't use ck_abort_msg outside of test runs
This function used to be called inside a test run a long time ago but moved to a pre-setup stage without switching to the more generic litest_abort_msg. The only error message we got is "check_msg.c:80: No messaging setup". https://github.com/libcheck/check/issues/18#issuecomment-301217615 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
235001ce0b
commit
2c818ec267
1 changed files with 4 additions and 4 deletions
|
|
@ -1190,13 +1190,13 @@ litest_init_udev_rules(struct list *created_files)
|
|||
|
||||
rc = mkdir(UDEV_RULES_D, 0755);
|
||||
if (rc == -1 && errno != EEXIST)
|
||||
ck_abort_msg("Failed to create udev rules directory (%s)\n",
|
||||
strerror(errno));
|
||||
litest_abort_msg("Failed to create udev rules directory (%s)\n",
|
||||
strerror(errno));
|
||||
|
||||
rc = mkdir(UDEV_HWDB_D, 0755);
|
||||
if (rc == -1 && errno != EEXIST)
|
||||
ck_abort_msg("Failed to create udev hwdb directory (%s)\n",
|
||||
strerror(errno));
|
||||
litest_abort_msg("Failed to create udev hwdb directory (%s)\n",
|
||||
strerror(errno));
|
||||
|
||||
litest_install_model_quirks(created_files);
|
||||
litest_init_all_device_udev_rules(created_files);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue