Commit 34424138 authored by Thomas Wood's avatar Thomas Wood

lib/tests: add a test for igt_set_timeout

Signed-off-by: default avatarThomas Wood <thomas.wood@intel.com>
parent 6ee3337b
......@@ -5,3 +5,4 @@ igt_no_exit
igt_no_exit_list_only
igt_no_subtest
igt_simulation
igt_timeout
......@@ -5,6 +5,7 @@ check_PROGRAMS = \
igt_list_only \
igt_no_subtest \
igt_simulation \
igt_timeout \
$(NULL)
check_SCRIPTS = \
......@@ -22,4 +23,5 @@ XFAIL_TESTS = \
igt_no_exit \
igt_no_exit_list_only \
igt_no_subtest \
igt_timeout \
$(NULL)
#include "igt_core.h"
#include <unistd.h>
igt_simple_main
{
igt_set_timeout(1);
sleep(5);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment