diff options
author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2020-02-25 18:55:10 +0200 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2020-03-23 15:47:34 +0200 |
commit | cf80b710838c2bdb48c629ab85cd295ed74423c6 (patch) | |
tree | 9bd4ba75898fdbb743d79de90e1df53a68e0526f /tests/prime_mmap_coherency.c | |
parent | dc8911099bbf2894da2f04a6dcfe0499320666d9 (diff) |
lib: Make it possible to abort the whole execution from inside of a test
igt_abort_on_f() is introduced which does very little cleanup and causes
a hard exit() of the test binary with a unique exit code
(IGT_EXIT_ABORT).
The exit code informs the monitoring process that there is a critical
issue with the testing environment which may have an impact on the
results if testing continues.
v2: Add a meta_test
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tests/prime_mmap_coherency.c')
0 files changed, 0 insertions, 0 deletions