spot/wrap/python/tests
Alexandre Duret-Lutz 7b7a946485 Rework the timeout of the CGI script.
The previous implementation was fine to catch timeout of third-party
tools (like dot), but to good to catch timeout in Spot itself, because
Python will not deliver a SIGALRM while a native function (e.g. Spot's
translation) is running.  So we fork() the Python process, with a
parent that does nothing but wait for the termination of the child or
for an alarm.  On SIGALRM, the parent kills all children.

* wrap/python/ajax/spot.in: Adjust to fork.
* wrap/python/tests/alarm.py: New test file to test this
scenario in a more controled environment.
* wrap/python/tests/Makefile.am: Add it.
2012-06-04 18:41:36 +02:00
..
.cvsignore * configure.ac: Output wrap/python/tests/Makefile 2003-07-31 20:04:29 +00:00
.gitignore Add .gitignore files 2008-03-14 16:59:32 +01:00
alarm.py Rework the timeout of the CGI script. 2012-06-04 18:41:36 +02:00
bddnqueen.py Make all python code compatible with Python 2.x and Python 3.x. 2012-02-25 14:01:43 +01:00
interdep.py Make all python code compatible with Python 2.x and Python 3.x. 2012-02-25 14:01:43 +01:00
ltl2tgba.py Make all python code compatible with Python 2.x and Python 3.x. 2012-02-25 14:01:43 +01:00
ltl2tgba.test * COPYING: New file. 2003-11-21 15:54:25 +00:00
ltlparse.py Make all python code compatible with Python 2.x and Python 3.x. 2012-02-25 14:01:43 +01:00
ltlsimple.py Adjust Python tests to the new simplification rules. 2012-04-28 09:30:34 +02:00
Makefile.am Rework the timeout of the CGI script. 2012-06-04 18:41:36 +02:00
minato.py Make all python code compatible with Python 2.x and Python 3.x. 2012-02-25 14:01:43 +01:00
modgray.py Make all python code compatible with Python 2.x and Python 3.x. 2012-02-25 14:01:43 +01:00
optionmap.py Make all python code compatible with Python 2.x and Python 3.x. 2012-02-25 14:01:43 +01:00
parsetgba.py Export tgba_parse() to the python interface. 2012-05-23 11:59:58 +02:00
run.in Enable VERBOSE logs for nips, greatspn, and python tests. 2011-02-10 12:58:16 +01:00
setxor.py Fix two spurious segfaults in test cases for the Python interface. 2011-04-09 17:33:42 +02:00