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,334
Issues
4,334
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
371
Merge Requests
371
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
9fd203ab
Commit
9fd203ab
authored
Sep 22, 2010
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip some more tests when the compiler is profiled
parent
71c1833b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
2 deletions
+13
-2
testsuite/config/ghc
testsuite/config/ghc
+1
-0
testsuite/tests/ghc-regress/annotations/should_compile/all.T
testsuite/tests/ghc-regress/annotations/should_compile/all.T
+2
-0
testsuite/tests/ghc-regress/annotations/should_run/all.T
testsuite/tests/ghc-regress/annotations/should_run/all.T
+1
-0
testsuite/tests/ghc-regress/ghc-e/should_run/all.T
testsuite/tests/ghc-regress/ghc-e/should_run/all.T
+2
-0
testsuite/tests/ghc-regress/ghci/should_run/all.T
testsuite/tests/ghc-regress/ghci/should_run/all.T
+3
-0
testsuite/tests/ghc-regress/layout/all.T
testsuite/tests/ghc-regress/layout/all.T
+2
-1
testsuite/tests/ghc-regress/typecheck/should_compile/all.T
testsuite/tests/ghc-regress/typecheck/should_compile/all.T
+2
-1
No files found.
testsuite/config/ghc
View file @
9fd203ab
...
...
@@ -136,6 +136,7 @@ def get_compiler_info():
if re.match(".*_p(_.*|$)", rtsInfoDict["RTS way"]):
config.compiler_profiled = True
config.run_ways = filter(lambda x: x != 'ghci', config.run_ways)
else:
config.compiler_profiled = False
testsuite/tests/ghc-regress/annotations/should_compile/all.T
View file @
9fd203ab
setTestOpts
(
if_compiler_profiled
(
skip
))
# Annotations, like Template Haskell, require runtime evaluation. In
# order for this to work with profiling, we would have to build the
# program twice and use -osuf p_o (see the TH_splitE5_prof test). For
...
...
testsuite/tests/ghc-regress/annotations/should_run/all.T
View file @
9fd203ab
setTestOpts
(
if_compiler_profiled
(
skip
))
# These tests are very slow due to their use of package GHC
setTestOpts
(
skip_if_fast
)
...
...
testsuite/tests/ghc-regress/ghc-e/should_run/all.T
View file @
9fd203ab
setTestOpts
(
if_compiler_profiled
(
skip
))
test
('
ghc-e001
',
normal
,
run_command
,
['
$MAKE --no-print-directory -s ghc-e001
'])
test
('
ghc-e002
',
normal
,
run_command
,
['
$MAKE --no-print-directory -s ghc-e002
'])
test
('
ghc-e003
',
normal
,
run_command
,
['
$MAKE --no-print-directory -s ghc-e003
'])
...
...
testsuite/tests/ghc-regress/ghci/should_run/all.T
View file @
9fd203ab
setTestOpts
(
if_compiler_profiled
(
skip
))
# We only want to run these tests with GHCi
def
just_ghci
(
opts
):
opts
.
only_ways
=
['
ghci
']
...
...
testsuite/tests/ghc-regress/layout/all.T
View file @
9fd203ab
...
...
@@ -37,7 +37,8 @@ test('layout006',
test
('
layout007
',
[
extra_clean
(['
layout007.hi
',
'
layout007.o
']),
only_compiler_types
(['
ghc
'])],
only_compiler_types
(['
ghc
']),
if_compiler_profiled
(
skip
)],
run_command
,
['
$MAKE -s --no-print-directory layout007
'])
...
...
testsuite/tests/ghc-regress/typecheck/should_compile/all.T
View file @
9fd203ab
...
...
@@ -302,7 +302,8 @@ test('T3342', normal, compile, [''])
test
('
T3346
',
normal
,
compile
,
[''])
# This is a TH test, which would require extra magic to make it work with
# profiling (see th/all.T).
test
('
T3391
',
omit_ways
(['
profc
','
profasm
']),
compile
,
[''])
test
('
T3391
',
[
omit_ways
(['
profc
','
profasm
']),
if_compiler_profiled
(
skip
)],
compile
,
[''])
test
('
T3409
',
normal
,
compile
,
[''])
test
('
T3955
',
normal
,
compile
,
[''])
test
('
PolyRec
',
normal
,
compile
,
[''])
...
...
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