summaryrefslogtreecommitdiff
path: root/testsuite/timeout
Commit message (Collapse)AuthorAgeFilesLines
* Fix the timeout program following the changes to baseIan Lynagh2012-06-201-2/+0
|
* Don't read boilerplate.mk on 'make maintainer-clean'Simon Peyton Jones2012-01-201-0/+2
|
* cleaning of testsuiteDavid Terei2011-11-154-11/+7
|
* Fix passing spaces to tests on Windows, and add a test for itIan Lynagh2011-10-181-2/+6
|
* Fix quoting in MakefileIan Lynagh2010-04-161-1/+1
|
* Use ${PYTHON} instead of relying on #!/usr/bin/env pythonMatthias Kilian2010-04-161-1/+3
|
* Always use the python timeout program on non-WindowsIan Lynagh2009-10-251-1/+6
| | | | | | | | | Use a python timeout program, so that we don't have to worry about whether or not the compiler we're testing has built the timeout program correctly The python timeout program doesn't work on mingw, so we still use the Haskell program on Windows
* Complete timeout.py's unix supportIan Lynagh2009-10-251-2/+19
|
* Fix quoting in the testsuite timeout program's MakefileIan Lynagh2009-10-131-7/+7
|
* Add some diagnostics to timeoutIan Lynagh2009-10-131-3/+9
|
* Use /usr/bin/env to find PythonSimon Marlow2009-07-232-2/+2
| | | | Contributed by: Krister Walfridsson <krister.walfridsson@gmail.com>
* make maintainer-clean workSimon Marlow2009-05-141-1/+1
|
* Tell Cabal where hsc2hs; fixes trac #3147Ian Lynagh2009-04-101-0/+1
| | | | Patch from gwright.
* Do not use System.Process on Posix systemsSimon Marlow2008-12-221-27/+27
| | | | | | We were using System.Process.Internals, which isn't safe in general. Also, when the child process dies with a signal, we now raise the same signal ourselves.
* Hack to find gcc for an in-place ghcIan Lynagh2009-01-161-1/+7
|
* Also canonicalise the install prefix for the timeout programIan Lynagh2009-01-161-1/+4
|
* Move the Makefile changes around so they don't cause test failuresIan Lynagh2009-01-141-0/+12
| | | | | Our "make clean" detection was causing problems for tests which had their own local clean target.
* Fix timeout's clean targetIan Lynagh2009-01-091-1/+2
|
* Disentangle the testsuite from the compiler's build systemIan Lynagh2009-01-083-51/+17
|
* Make the testsuite work with the new build systemSimon Marlow2008-12-171-0/+41
|
* follow library changesIan Lynagh2008-09-031-1/+1
|
* We now depend on concurrent (split off from base)Ian Lynagh2008-08-241-1/+1
|
* Change the timeout program to use exceptions properlyIan Lynagh2008-08-031-19/+30
| | | | We now don't eat any type of exception, e.g. the user pressing ^C
* Follow extensible exception changesIan Lynagh2008-06-231-6/+7
|
* Don't fail when cleaning if cabal-bin doesn't existIan Lynagh2008-07-291-1/+1
|
* We need to tell Cabal that WinCBindings is a module of the timeout programIan Lynagh2008-07-241-0/+1
|
* Build the timeout program with CabalIan Lynagh2008-07-232-32/+51
|
* FIX boottestsuite build failureSimon Marlow2008-07-111-0/+3
|
* FIX BUILDSimon Marlow2008-07-071-0/+2
|
* Avoid using deprecated flags in the testsuite testsIan Lynagh2008-06-161-1/+1
|
* Add WinCBindings.hsc, not WinCBindings.hs!Ian Lynagh2008-01-202-193/+144
|
* Fix #1599: Improve timeout on WindowsIan Lynagh2008-01-203-44/+248
| | | | | We now run programs in a Job, which means that we can kill a process and all of its children when a timeout happens.
* small tidyups to thie MakefileSimon Marlow2007-11-161-5/+8
|
* Stop the timeout calibration ever returning 0Ian Lynagh2007-08-211-1/+4
|
* Fix calibrate python script for non-UNIX machinesIan Lynagh2007-07-071-1/+8
|
* Calibrate == calibrate on Windows...Ian Lynagh2007-04-063-4/+4
|
* Use $(PYTHON) to run calibrate, rather than relying on it finding python itselfIan Lynagh2007-04-051-2/+1
|
* Calibrate the testsuite timeout if a value of -1 is givenIan Lynagh2007-04-053-0/+33
|
* Print something to stderr when a timeout happensIan Lynagh2007-03-042-109/+112
| | | | Also fixes whitespace.
* Allow testsuite to run under MSYS/MinGW using native Python (not Cygwin Python).brianlsmith2006-09-171-2/+5
| | | | | | | | | | | | | This patch is based on a similar one "Enable timeout in Windows and don't require cygwin python" by Esa Ilari Vuokko. It seems like timeout is always built on Windows so I rearranged the logic there to make the code clearer, Esa's patch required the user to uncomment the MinGW-specific logic in order for it to work; this patch does not have the MinGW-specific logic commented out. I tested this on the trunk in Ubuntu 6.06 on i686 (VMWare). I tested this on the trunk and ghc-6.6 branch on Windows i686.
* Use a python timeout for the testsuite when we don't have a threaded RTSIan Lynagh2006-09-072-0/+36
|
* attempt to work around restrictions with fork() & pthreadsSimon Marlow2006-03-231-5/+12
| | | | | | | | | In the child process, call exec() directly instead of using System.Cmd.system, which involves another fork()/exec() and a non-blocking wait. The problem is that in a forked child of a threaded process, it isn't safe to do much except exec() according to POSIX. In fact calling pthread_create() in the child causes the pthread library to fail with an error on FreeBSD.
* [project @ 2005-11-23 11:47:16 by simonmar]simonmar2005-11-231-10/+11
| | | | Fix up to compile after recent changes to System.Process.Internals
* [project @ 2005-11-11 12:02:40 by simonmar]simonmar2005-11-111-5/+34
| | | | Make it work on Windows again.
* [project @ 2005-08-04 12:22:17 by simonmar]simonmar2005-08-042-25/+73
| | | | | | | | | | | | A better timeout. This one starts a new session for the child process, and attempts to kill the entire group when the time expires (previously we only killed the direct child, if the child itself had spawned more processes these would continue to run). The new scheme is only for Unix, presumably we have to do something different on Windows. Code partly from Ian Lynagh.
* [project @ 2005-02-04 10:59:55 by simonmar]simonmar2005-02-042-0/+37
Add a timeout to test runs, using a wrapper program (written in Haskell, using System.Process of course!).