ntel-gpu-tools/lib/tests/Makefile.sources
Daniel Vetter 93824f0cd0 lib: Unit test for exit handler
Checks that
- exit handlers are run only once, even when registered multiple
  times.
- run in reverse order
- actually run for all ways a test could exit.

This is prep work to extend exit handlers to also work in a subtest
aware way.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
2016-03-08 17:12:04 +01:00

37 lines
665 B
Makefile

check_PROGRAMS = \
igt_no_exit \
igt_no_exit_list_only \
igt_fork_helper \
igt_list_only \
igt_no_subtest \
igt_simulation \
igt_simple_test_subtests \
igt_stats \
igt_timeout \
igt_invalid_subtest_name \
igt_segfault \
igt_assert \
igt_exit_handler \
$(NULL)
check_SCRIPTS = \
igt_command_line.sh \
$(NULL)
TESTS = \
$(check_PROGRAMS) \
$(check_SCRIPTS) \
$(NULL)
# 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 \
igt_no_subtest \
igt_simple_test_subtests \
igt_timeout \
igt_invalid_subtest_name \
$(NULL)