<div dir="ltr">You are running these commands from _within_ the 'testsuite' directory, right?</div><div class="gmail_extra"><br><div class="gmail_quote">On 28 April 2015 at 23:48, Jeremy Henty <span dir="ltr"><<a href="mailto:onepoint@starurchin.org" target="_blank">onepoint@starurchin.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I successfully built GHC-7.10.1 but I cannot run the tests (at least<br>
not when I follow the instructions at<br>
<a href="https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests" target="_blank">https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests</a>).<br>
<br>
"make fast" fails like this:<br>
<br>
    ===--- building phase 0<br>
    make -r --no-print-directory -f <a href="http://ghc.mk" target="_blank">ghc.mk</a> phase=0 phase_0_builds<br>
    make[1]: Nothing to be done for `phase_0_builds'.<br>
    ===--- building phase 1<br>
    make -r --no-print-directory -f <a href="http://ghc.mk" target="_blank">ghc.mk</a> phase=1 phase_1_builds<br>
    make[1]: Nothing to be done for `phase_1_builds'.<br>
    ===--- building final phase<br>
    make -r --no-print-directory -f <a href="http://ghc.mk" target="_blank">ghc.mk</a> phase=final fast<br>
    make[1]: *** No rule to make target `fast'.  Stop.<br>
    make: *** [fast] Error 2<br>
<br>
"make testfast" fails in exactly the  same way, except that the broken<br>
make target is "testfast" instead of fast.<br>
<br>
"make test" and "make fulltest" fail like this:<br>
<br>
    make -C testsuite/tests CLEANUP=1 OUTPUT_SUMMARY=../../testsuite_summary.txt fast<br>
    make[1]: Entering directory `/data/build.d/6.8/ghc-7.10.1/testsuite/tests'<br>
    ../mk/<a href="http://boilerplate.mk:168" target="_blank">boilerplate.mk:168</a>: ../mk/<a href="http://ghcconfig_data_build.d_6.8_ghc-7.10.1_inplace_bin_ghc-stage2.mk" target="_blank">ghcconfig_data_build.d_6.8_ghc-7.10.1_inplace_bin_ghc-stage2.mk</a>: No such file or directory<br>
    ../mk/ghc-config "/data/build.d/6.8/ghc-7.10.1/inplace/bin/ghc-stage2" >"../mk/<a href="http://ghcconfig_data_build.d_6.8_ghc-7.10.1_inplace_bin_ghc-stage2.mk" target="_blank">ghcconfig_data_build.d_6.8_ghc-7.10.1_inplace_bin_ghc-stage2.mk</a>"; if [ $? != 0 ]; then rm -f "../mk/<a href="http://ghcconfig_data_build.d_6.8_ghc-7.10.1_inplace_bin_ghc-stage2.mk" target="_blank">ghcconfig_data_build.d_6.8_ghc-7.10.1_inplace_bin_ghc-stage2.mk</a>"; exit 1; fi<br>
    /bin/sh: ../mk/ghc-config: cannot execute binary file<br>
    make[1]: *** [../mk/<a href="http://ghcconfig_data_build.d_6.8_ghc-7.10.1_inplace_bin_ghc-stage2.mk" target="_blank">ghcconfig_data_build.d_6.8_ghc-7.10.1_inplace_bin_ghc-stage2.mk</a>] Error 1<br>
    make[1]: Leaving directory `/data/build.d/6.8/ghc-7.10.1/testsuite/tests'<br>
    make: *** [test] Error 2<br>
<br>
Interestingly, for GHC-7.8.4  "make fast" and "make  testfast" fail in<br>
exactly the same way but "make test" and "make fulltest" both work.<br>
<br>
So, how do I test GHC-7.10.1 ?<br>
<br>
Regards,<br>
<br>
Jeremy Henty<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br></div>