diff options
author | Thomas Wood <thomas.wood@intel.com> | 2015-04-09 09:27:54 +0100 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2015-04-14 17:43:05 +0100 |
commit | cff102ebb264eb86554651c7cbf259b4342b76c3 (patch) | |
tree | 0310b44d3e1aa5ea618602a36c49342f40d71df7 /lib/tests | |
parent | b47032e191f0afb8d2dabf90889eee6dac8fc0e1 (diff) |
lib: use test failure status for igt_set_timeout
Use a failure status code for timeout to avoid confusion between tests
that take too long to execute versus a failure due to an operation
taking longer than expected.
v2: Add a "timed out" message before exiting. (Daniel Vetter)
Fix the timeout library check by disabling hard errors in xfail
tests, since these share the same exit status as test failure.
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib/tests')
-rw-r--r-- | lib/tests/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tests/Makefile.sources b/lib/tests/Makefile.sources index ecd73ae7..10e06174 100644 --- a/lib/tests/Makefile.sources +++ b/lib/tests/Makefile.sources @@ -21,6 +21,7 @@ TESTS = \ # Test that exercise specific asserts in the test framework library and are # hence expected to fail. +DISABLE_HARD_ERRORS=1 XFAIL_TESTS = \ igt_no_exit \ igt_no_exit_list_only \ |