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 update git ignores 2012-12-12 10:38:45 -05:00
Makefile.am tests: remove test logs on 'make clean' 2012-12-13 13:10:06 -05:00
button-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
event-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
keyboard-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
matrix-test.c Move matrix.[ch] to shared 2012-12-06 15:53:03 -05:00
setbacklight.c tests/setbacklight: Close filedescriptor on return paths 2013-01-10 16:07:08 -05:00
surface-global-test.c tests: Convert remaining module tests to not use test-runner.c 2012-12-11 23:22:16 -05:00
surface-test.c tests: Convert remaining module tests to not use test-runner.c 2012-12-11 23:22:16 -05:00
text-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
weston-test-client-helper.c tests: set client log handler 2012-12-12 10:38:48 -05:00
weston-test-client-helper.h tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
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 tests: Convert keyboard-test to new test extension 2012-12-11 15:30:25 -05:00
weston-test.c tests: Define and implement a test protocol extension. 2012-12-11 15:29:52 -05:00
weston-tests-env tests: Pass --backend so the test suite runs with the right modules 2012-12-14 16:34:00 -05:00