projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75ce537
)
test: check for verbosity immediately in main()
author
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 16 Oct 2024 01:14:11 +0000
(11:14 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 16 Oct 2024 08:03:04 +0000
(18:03 +1000)
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1062>
test/litest.c
patch
|
blob
|
history
diff --git
a/test/litest.c
b/test/litest.c
index 6c3438f7d66502353545d0431b24807c84f31fcd..e759e81a5c761a0a28770bbf4f1580f34c0eee0b 100644
(file)
--- a/
test/litest.c
+++ b/
test/litest.c
@@
-1313,9
+1313,6
@@
litest_run(struct list *tests)
list_init(&created_files_list);
- if (getenv("LITEST_VERBOSE"))
- verbose = true;
-
if (run_deviceless) {
litest_setup_quirks(&created_files_list,
QUIRKS_SETUP_USE_SRCDIR);
@@
-5025,6
+5022,9
@@
main(int argc, char **argv)
jobs *= 2;
}
+ if (getenv("LITEST_VERBOSE"))
+ verbose = true;
+
mode = litest_parse_argv(argc, argv);
if (mode == LITEST_MODE_ERROR)
return EXIT_FAILURE;