mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 21:40:40 +01:00
test: check for verbosity immediately in main()
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1062>
This commit is contained in:
parent
75ce537342
commit
cb0575b473
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue