Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,323
Issues
4,323
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
388
Merge Requests
388
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
cd0a88aa
Commit
cd0a88aa
authored
Jun 20, 2012
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tests following changes in base
parent
de246aad
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
14 additions
and
14 deletions
+14
-14
testsuite/tests/concurrent/should_run/3279.hs
testsuite/tests/concurrent/should_run/3279.hs
+0
-1
testsuite/tests/concurrent/should_run/conc073.hs
testsuite/tests/concurrent/should_run/conc073.hs
+0
-1
testsuite/tests/concurrent/should_run/mask002.hs
testsuite/tests/concurrent/should_run/mask002.hs
+0
-1
testsuite/tests/concurrent/should_run/throwto002.hs
testsuite/tests/concurrent/should_run/throwto002.hs
+0
-1
testsuite/tests/concurrent/should_run/throwto003.hs
testsuite/tests/concurrent/should_run/throwto003.hs
+0
-1
testsuite/tests/numeric/should_run/numrun013.hs
testsuite/tests/numeric/should_run/numrun013.hs
+0
-1
testsuite/tests/rename/should_fail/T5281.hs
testsuite/tests/rename/should_fail/T5281.hs
+3
-3
testsuite/tests/rename/should_fail/T5281.stderr
testsuite/tests/rename/should_fail/T5281.stderr
+3
-4
testsuite/tests/rename/should_fail/T5281A.hs
testsuite/tests/rename/should_fail/T5281A.hs
+7
-0
testsuite/tests/rename/should_fail/all.T
testsuite/tests/rename/should_fail/all.T
+1
-1
No files found.
testsuite/tests/concurrent/should_run/3279.hs
View file @
cd0a88aa
...
...
@@ -3,7 +3,6 @@
import
System.IO.Unsafe
import
GHC.Conc
import
Control.Exception
import
Prelude
hiding
(
catch
)
f
::
Int
f
=
(
1
+
)
.
unsafePerformIO
$
do
...
...
testsuite/tests/concurrent/should_run/conc073.hs
View file @
cd0a88aa
import
Control.Exception
import
Control.Concurrent
import
Prelude
hiding
(
catch
)
main
=
do
m1
<-
newEmptyMVar
...
...
testsuite/tests/concurrent/should_run/mask002.hs
View file @
cd0a88aa
import
Control.Exception
import
Control.Concurrent
import
Text.Printf
import
Prelude
hiding
(
catch
)
-- Test combinations of nesting mask/uninterruptibleMask with
-- forkIO/forkIOUnmask
...
...
testsuite/tests/concurrent/should_run/throwto002.hs
View file @
cd0a88aa
...
...
@@ -7,7 +7,6 @@ import System.Environment
import
Control.Monad
import
GHC.Conc
import
Data.IORef
import
Prelude
hiding
(
catch
)
main
=
do
r
<-
newIORef
0
...
...
testsuite/tests/concurrent/should_run/throwto003.hs
View file @
cd0a88aa
...
...
@@ -2,7 +2,6 @@
import
Control.Concurrent
import
Control.Exception
import
Control.Monad
import
Prelude
hiding
(
catch
)
main
=
do
m
<-
newMVar
1
...
...
testsuite/tests/numeric/should_run/numrun013.hs
View file @
cd0a88aa
...
...
@@ -3,7 +3,6 @@
import
Control.Exception
import
Data.Int
import
Prelude
hiding
(
catch
)
main
::
IO
()
main
=
do
print
((
minBound
::
Int
)
`
div
`
(
-
1
))
`
myCatch
`
print
...
...
testsuite/tests/rename/should_fail/T5281.hs
View file @
cd0a88aa
-- The issue here is getting an error message with a decent source location
module
T5281
where
x
=
catch
-- This use of catch
-- (a) comes from the implicitly imported Prelue
-- (b) this Prelude.catch is deprecated
import
T5281A
x
=
deprec
testsuite/tests/rename/should_fail/T5281.stderr
View file @
cd0a88aa
T5281.hs:4:5: Warning:
In the use of `catch'
(imported from Prelude, but defined in System.IO.Error):
Deprecated: "Please use the new exceptions variant, Control.Exception.catch"
T5281.hs:6:5: Warning:
In the use of `deprec' (imported from T5281A):
Deprecated: "This is deprecated"
testsuite/tests/rename/should_fail/T5281A.hs
0 → 100644
View file @
cd0a88aa
module
T5281A
where
{-# DEPRECATED deprec "This is deprecated" #-}
deprec
::
Int
deprec
=
5
testsuite/tests/rename/should_fail/all.T
View file @
cd0a88aa
...
...
@@ -82,7 +82,7 @@ test('mc13', normal, compile_fail, [''])
test
('
mc14
',
normal
,
compile_fail
,
[''])
test
('
T5211
',
normal
,
compile
,
[''])
# Warnings only
test
('
T1595a
',
normal
,
compile_fail
,
[''])
test
('
T5281
',
normal
,
compile
,
['
'])
# Warnings only
test
('
T5281
',
normal
,
multimod_compile
,
['
T5281
',
'
-v0
'])
# Warnings only
test
('
T5372
',
extra_clean
(['
T5372a.hi
',
'
T5372a.o
']),
multimod_compile_fail
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment