summaryrefslogtreecommitdiff
path: root/test-suite/tests/signals.test
Commit message (Collapse)AuthorAgeFilesLines
* Disable test for current value of setitimer on CygwinMichael Gran2019-05-231-3/+12
| | | | | * test-suite/tests/signals.test ("current itimers are 0"): throws unresolved for cygwin
* Check for working profiling and virtual itimersMike Gran2017-03-061-32/+44
| | | | | | | | | | | * configure.ac (HAVE_USABLE_GETITIMER_PROF, HAVE_USABLE_GETITIMER_VIRTUAL): new tests * doc/ref/posix.texi (setitimer, getitimer): document provided? 'ITIMER_VIRTUAL and 'ITIMER_PROF * doc/ref/statprof.texi (statprof): document ITIMER_PROF requirements * libguile/scmsigs.c (scm_setitimer, scm_getitimer): document (provided? 'ITIMER_VIRTUAL) and (provided? 'ITIMER_PROF) (scm_init_scmsigs): add features ITIMER_VIRTUAL and ITIMER_PROF * test-suite/tests/asyncs.test ("prevention via sigprof"): throw when unsupported * test-suite/tests/signals.test: throw when not supported * test-suite/tests/statprof.test: throw when not supported
* Sloppier matching in setitimer testsAndy Wingo2014-03-261-5/+14
| | | | | | * test-suite/tests/signals.test: Update setitimer tests to sloppily match both times -- it seems that the interval can also be sloppy on some platforms, sadly.
* Fix setitimer documentation. Allow microseconds >= 1e6.Andy Wingo2014-02-281-1/+42
| | | | | | | | | | | * doc/ref/posix.texi (Signals): Fix the documentation for setitimer; it was wrong. * libguile/scmsigs.c (pack_tv): New helper. Allow usecs >= 1e6. (unpack_tv): New helper. (scm_setitimer): Use the new helpers. * test-suite/tests/signals.test: Add setitimer tests.
* Add define-module to signals.testNeil Jerram2009-10-011-1/+2
| | | | * test-suite/tests/signals.test (test-suite): Add define-module form.
* Change signals.test to LGPLv3+Neil Jerram2009-10-011-11/+10
| | | | * test-suite/tests/signals.test: Update licence statement.
* Avoid throw from critical section, given invalid sigaction callNeil Jerram2009-09-301-0/+29
* libguile/scmsigs.c (scm_sigaction_for_thread): Exit critical section before raising out-of-range error. * test-suite/Makefile.am (SCM_TESTS): Add signals.test. * test-suite/tests/signals.test: New file.