summaryrefslogtreecommitdiff
path: root/testsuite/tests/rebindable
diff options
context:
space:
mode:
authorPhil Ruffwind <rf@rufflewind.com>2017-01-30 11:49:58 -0500
committerBen Gamari <ben@smart-cactus.org>2017-01-30 14:00:23 -0500
commit2ec1c834ca1129b69f4dd3e2586d9f318cbb3fa6 (patch)
tree7f6f091b7a5a0c061f42f8f89115cafe35c98123 /testsuite/tests/rebindable
parentd2cf5dea70acbffb6039dc5eda31c8ff03b8f43e (diff)
downloadhaskell-2ec1c834ca1129b69f4dd3e2586d9f318cbb3fa6.tar.gz
Fix broken tests
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
Diffstat (limited to 'testsuite/tests/rebindable')
-rw-r--r--testsuite/tests/rebindable/DoParamM.stderr20
1 files changed, 10 insertions, 10 deletions
diff --git a/testsuite/tests/rebindable/DoParamM.stderr b/testsuite/tests/rebindable/DoParamM.stderr
index 6328d086b6..8d3764067e 100644
--- a/testsuite/tests/rebindable/DoParamM.stderr
+++ b/testsuite/tests/rebindable/DoParamM.stderr
@@ -11,12 +11,12 @@ DoParamM.hs:286:28: error:
Actual type: LIO Unlocked Locked ()
• In a stmt of a 'do' block: tlock2_do
In the expression:
- do { tlock2_do;
- tlock2_do }
+ do tlock2_do
+ tlock2_do
In an equation for ‘tlock4_do’:
tlock4_do
- = do { tlock2_do;
- tlock2_do }
+ = do tlock2_do
+ tlock2_do
DoParamM.hs:302:37: error:
• Couldn't match type ‘Locked’ with ‘Unlocked’
@@ -24,11 +24,11 @@ DoParamM.hs:302:37: error:
Actual type: LIO Locked Unlocked ()
• In a stmt of a 'do' block: unlock
In the expression:
- do { tlock2_do;
- unlock;
- unlock }
+ do tlock2_do
+ unlock
+ unlock
In an equation for ‘tlock4'_do’:
tlock4'_do
- = do { tlock2_do;
- unlock;
- unlock }
+ = do tlock2_do
+ unlock
+ unlock