mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
lib/drmtest: Don't run the rude interruptor when just listing subtests
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
878ac4c3ab
commit
629f48fa0e
@ -637,6 +637,9 @@ void igt_fork_signal_helper(void)
|
|||||||
pid_t pid;
|
pid_t pid;
|
||||||
sighandler_t oldsig;
|
sighandler_t oldsig;
|
||||||
|
|
||||||
|
if (igt_only_list_subtests())
|
||||||
|
return;
|
||||||
|
|
||||||
igt_install_exit_handler(signal_helper_exit_handler);
|
igt_install_exit_handler(signal_helper_exit_handler);
|
||||||
|
|
||||||
signal(SIGUSR1, sig_handler);
|
signal(SIGUSR1, sig_handler);
|
||||||
@ -658,7 +661,8 @@ void igt_stop_signal_helper(void)
|
|||||||
if (signal_helper != -1) {
|
if (signal_helper != -1) {
|
||||||
kill(signal_helper, SIGQUIT);
|
kill(signal_helper, SIGQUIT);
|
||||||
wait(&exitcode);
|
wait(&exitcode);
|
||||||
}
|
} else
|
||||||
|
return;
|
||||||
|
|
||||||
if (sig_stat)
|
if (sig_stat)
|
||||||
fprintf(stdout, "signal handler called %llu times\n", sig_stat);
|
fprintf(stdout, "signal handler called %llu times\n", sig_stat);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user