[GHC] #8721: Testsuite not reporting errors for DYN way on OS X

GHC ghc-devs at haskell.org
Fri Jan 31 09:41:09 UTC 2014


#8721: Testsuite not reporting errors for DYN way on OS X
-------------------------------+------------------------------------
        Reporter:  darchon     |            Owner:
            Type:  bug         |           Status:  new
        Priority:  normal      |        Milestone:
       Component:  Test Suite  |          Version:  7.6.3
      Resolution:              |         Keywords:  dynamic linking
Operating System:  MacOS X     |     Architecture:  Unknown/Multiple
 Type of failure:  Other       |       Difficulty:  Unknown
       Test Case:              |       Blocked By:
        Blocking:              |  Related Tickets:
-------------------------------+------------------------------------

Comment (by darchon):

 I guess I can answer my own question, the testsuite sets up a correct
 `DYLD_LIBRARY_PATH`.
 Indeed:
 {{{
 /opt/ghc/7.6.3/src/ghc/testsuite (ghc-7.6)$ export
 DYLD_LIBRARY_PATH=/opt/ghc/7.6.3/src/ghc/libraries/base/dist-
 install/build/:/opt/ghc/7.6.3/src/ghc/libraries/integer-gmp/dist-
 install/build/:/opt/ghc/7.6.3/src/ghc/libraries/ghc-prim/dist-
 install/build/:/opt/ghc/7.6.3/src/ghc/rts/dist/build/;
 tests/programs/10queens/10queens
 724
 }}}
 runs the executable without problems.

 Of course, `DYLD_LIBRARY_PATH` was never set for executables that ran
 "outside" of the testsuite.
 So in a way, the testsuite and an installed GHC were "misaligned".
 Seeing how as of 7.8 the testsuite and an installed GHC are "aligned", I
 guess the status of this ticket should be turned to either `solved` or
 `wontfix`?

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


More information about the ghc-tickets mailing list