weston/tests
Pekka Paalanen 585c27c717 tests: make signal other than ABRT a hard failure
We handle FAIL_TEST tests by simply inverting the success flag. The
problem with this is, that if a FAIL_TEST fails by a SIGSEGV, it will be
interpreted as passed. However, no code should ever cause a SEGV, or any
other signal than ABRT. And even ABRT only in the case of an assert()
that is meant to fail. We would probably need more sophistication for the
FAIL_TEST cases.

For now, just interpret any other signal than ABRT as a hard failure,
regardless whether it is a TEST or FAIL_TEST. At least segfaults do not
cause false passes anymore.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2013-01-24 16:24:22 -05:00
..
.gitignore
button-test.c
event-test.c
keyboard-test.c
Makefile.am tests: remove test logs on 'make clean' 2012-12-13 13:10:06 -05:00
matrix-test.c
setbacklight.c tests/setbacklight: Close filedescriptor on return paths 2013-01-10 16:07:08 -05:00
surface-global-test.c
surface-test.c
text-test.c
weston-test-client-helper.c
weston-test-client-helper.h
weston-test-runner.c tests: make signal other than ABRT a hard failure 2013-01-24 16:24:22 -05:00
weston-test-runner.h
weston-test.c
weston-tests-env tests: Pass --backend so the test suite runs with the right modules 2012-12-14 16:34:00 -05:00