[GHC] #14913: testsuite driver does not honor `extra_run_opts` for the ghci way

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GHC] #14913: testsuite driver does not honor `extra_run_opts` for the ghci way

GHC - devs mailing list
#14913: testsuite driver does not honor `extra_run_opts` for the ghci way
-------------------------------------+-------------------------------------
           Reporter:  alpmestan      |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Test Suite     |           Version:  8.5
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 This causes the `stack004` test to fail in the ghci way.

 Test declaration:

 {{{
 test('stack004', [extra_run_opts('+RTS -K0 -RTS') ], compile_and_run,
 [''])
 }}}

 Actual command executed by the testsuite driver:

 {{{
 =====> stack004(ghci) 1 of 1 [0, 0, 0]
   cd "./rts/stack004.run" && "/home/alp/ghc/inplace/test   spaces/ghc-
 stage2" stack004.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts
 -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-
 color=never -fno-diagnostics-show-caret -dno-debug-output  --interactive
 -v0 -ignore-dot-ghci -fno-ghci-history +RTS -I0.1 -RTS <
 stack004.genscript
   Actual stdout output differs from expected:
   diff -uw "/dev/null" "./rts/stack004.run/stack004.run.stdout.normalised"
   --- /dev/null 2018-03-07 13:03:27.344000000 +0100
   +++ ./rts/stack004.run/stack004.run.stdout.normalised 2018-03-08
 11:53:55.339965000 +0100
   @@ -0,0 +1 @@
   +uh oh
   *** unexpected failure for stack004(ghci)
 }}}

 We can see that the extra `+RTS -K0 -RTS` options don't get passed to
 ghci. I'm marking `stack004` as broken for the ghci way for now, but we'll
 probably want to look into this at some point.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14913>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets