diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-28 20:56:33 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-28 21:10:30 +0100 |
commit | 758a18b354cefca841536c7d91f8f5758456f72f (patch) | |
tree | 62eb0d4276053bfa736da453fb267bca0a6f797c /build | |
parent | f7021d8f3e59d1f7fa77135366bbbd6845dff684 (diff) |
[test] Timeout support for tests
Enforce that each test must render within 60 seconds or be considered to
have hit an infinite loop and be reported as a CRASH. The timeout value is
adjustable via CAIRO_TEST_TIMEOUT -- a value of 0 will disable.
Diffstat (limited to 'build')
-rw-r--r-- | build/configure.ac.system | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/configure.ac.system b/build/configure.ac.system index 30bcb8e3..c75460d7 100644 --- a/build/configure.ac.system +++ b/build/configure.ac.system @@ -74,6 +74,9 @@ AC_CHECK_TYPES([uint64_t, uint128_t]) dnl Check for socket support for any2ppm daemon AC_CHECK_HEADERS([fcntl.h unistd.h signal.h sys/stat.h sys/socket.h sys/poll.h sys/un.h]) +dnl Check for infinite loops +AC_CHECK_FUNCS([alarm]) + dnl check for CPU affinity support AC_CHECK_HEADERS([sched.h], [AC_CHECK_FUNCS([sched_getaffinity])]) |