[GHC] #15088: Test T3234 is fragile
GHC
ghc-devs at haskell.org
Sat May 19 16:45:26 UTC 2018
#15088: Test T3234 is fragile
-------------------------------------+-------------------------------------
Reporter: mpickering | Owner: RolandSenn
Type: task | Status: patch
Priority: lowest | Milestone: 8.6.1
Component: Compiler | Version: 8.2.2
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case: T3234
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by RolandSenn):
* testcase: => T3234
* status: new => patch
Comment:
To fix this issue,I sent a [https://github.com/ghc/ghc/pull/138 pull-
request] to the Github repository.
As mentioned in the original ticket #3234, the issue was that the rule
`fold/build` no longer fired.
Hence it's sufficient to check only on the availability of this rule in
the output.
A more sophisticated test could check on:
{{{
5 RuleFired
1 ++
1 augment/build
1 foldr/single
1 unpack
1 unpack-list
}}}
However this would nedd the grep alternative `grep 'foo\|bar` which is
part of ''extended'' grep.
Please feel free to request any needed changes to this PR.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15088#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list