summaryrefslogtreecommitdiff
path: root/testsuite/timeout/timeout.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken testsPhil Ruffwind2017-01-301-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | 1. DoParamM requires the FlexibleContexts pragma now. 2. topHandler02 and topHandler03 were broken as timeout.py failed to translate signals to exit codes. 3. topHandler03 does not produce a consistent stderr, as it depends on what the user has /bin/sh set to. dash writes "Terminated" whereas bash and zsh produce nothing in non-interactive mode. 4. The remaining tests are broken due to changes in the error message formatting. Test Plan: validate Reviewers: thomie, dfeuer, austin, hvr, bgamari Reviewed By: bgamari Subscribers: Phyx, dfeuer Differential Revision: https://phabricator.haskell.org/D2807
* Testsuite: only print msg when timeout kills process unexpectedlyThomas Miedema2015-09-041-2/+0
| | | | Differential Revision: https://phabricator.haskell.org/D1207
* testsuite: Show killed command line on timeoutBen Gamari2015-07-211-1/+2
|
* Python 3 support, second attempt (Trac #9184)Krzysztof Gogolewski2014-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Summary: This is a fixup of https://phabricator.haskell.org/D233 The only difference is in findTFiles (first commit), which previously broke Windows runner; now I translated literally instead attempting to improve it, and checked it works. Test Plan: I used validate under 2,3 on Linux and under 2 on msys2. On Windows I've seen a large number of failures, but they don't seem to be connected with the patch. Reviewers: hvr, simonmar, thomie, austin Reviewed By: austin Subscribers: thomie, carter, ezyang, simonmar Differential Revision: https://phabricator.haskell.org/D310 GHC Trac Issues: #9184
* Revert "Basic Python 3 support for testsuite driver (Trac #9184)"Krzysztof Gogolewski2014-10-031-1/+1
| | | | | | This reverts commit 084d241b316bfa12e41fc34cae993ca276bf0730. This is a possible culprit of Windows breakage reported at ghc-devs.
* Basic Python 3 support for testsuite driver (Trac #9184)Krzysztof Gogolewski2014-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Summary: Most of the changes is adaptation of old Python 2 only code. My priority was not breaking Python 2, and so I avoided bigger changes to the driver. In particular, under Python 3 the output is a str and buffering cannot be disabled. To test, define PYTHON=python3 in testsuite/mk/boilerplate.mk. Thanks to aspidites <emarshall85@gmail.com> who provided the initial patch. Test Plan: validate under 2 and 3 Reviewers: hvr, simonmar, thomie, austin Reviewed By: thomie, austin Subscribers: aspidites, thomie, simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D233 GHC Trac Issues: #9184
* Handle ^C better when threads are being used tooIan Lynagh2013-02-021-39/+46
|
* Complete timeout.py's unix supportIan Lynagh2009-10-251-2/+19
|
* Use /usr/bin/env to find PythonSimon Marlow2009-07-231-1/+1
| | | | Contributed by: Krister Walfridsson <krister.walfridsson@gmail.com>
* Print something to stderr when a timeout happensIan Lynagh2007-03-041-0/+1
| | | | Also fixes whitespace.
* Use a python timeout for the testsuite when we don't have a threaded RTSIan Lynagh2006-09-071-0/+28