[commit: testsuite] master: Fix library way detection; fixes the ImpSafeOnly* tests when BINDIST=YES (b32d38a)

Ian Lynagh ian at well-typed.com
Sun May 12 13:32:25 CEST 2013


On Sun, May 12, 2013 at 11:27:10AM +0200, Páli Gábor János wrote:
> On Fri, May 10, 2013 at 3:40 PM, Ian Lynagh <igloo at earth.li> wrote:
> >     Fix library way detection; fixes the ImpSafeOnly* tests when BINDIST=YES
> >
> >     We were checking paths with
> >         if [ -f '"/path/to/Prelude"' ]
> >     i.e. the " quotes were being quoted by the ' quotes. Now we just
> >     use " quotes (which come from the ghc-pkg output).
> 
> This does not work (again) on the FreeBSD builder clients.  Any
> suggestions where else to fix this problem for them then?

I'm confused. What does
    make show VALUE=BASE_LIBDIR
say in testsuite/tests?

What command is being run to cause the error?

Does this work on FreeBSD?:
    [ -f "foo bar"baz ] && echo yes


Thanks
Ian




More information about the ghc-devs mailing list