testsuite not in GHC 8.2.1-rc1 source tarball ?
George Colpitts
george.colpitts at gmail.com
Thu Apr 6 13:39:48 UTC 2017
Thanks Brandon
After downloading the source tarball and doing a build successfully I
wanted to run the testsuite.
You write
- As far as I know, the test suite is normally run from ghc/testsuite.
That directory doesn't exist for me:
- pwd
- /Users/gcolpitts/Downloads/ghc-8.2.0.20170404/ghc
- bash-3.2$ ls testsuite
- ls: testsuite: No such file or directory
- bash-3.2$
so I guess the source tarball doesn't contain it and those who do a build
can't test their build with the testsuite. I was hoping I could do that.
I didn't think the libffi directories were the right place to run from but
they were only testsuite directories that the find command gave me.
Thanks again
George
On Thu, Apr 6, 2017 at 2:10 AM David Feuer <david at well-typed.com> wrote:
I'm not sure why you're trying to run things from the libffi directory. As
far as I know, the test suite is normally run from ghc/testsuite.
David Feuer
Well-Typed, LLP
-------- Original message --------
From: George Colpitts <george.colpitts at gmail.com>
Date: 4/5/17 9:17 PM (GMT-05:00)
To: Jens Petersen <juhpetersen at gmail.com>, Ben Gamari <ben at well-typed.com>
Cc: GHC developers <ghc-devs at haskell.org>
Subject: Re: GHC 8.2.1-rc1 source tarball availability
I'd like to run the testsuite on macOS but I am having trouble following
the documentation at
https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running
Do I need to download something in addition to the source tarball or am I
making some mistake?
Following is what I tried:
pwd
/Users/gcolpitts/Downloads/ghc-8.2.0.20170404/libffi
# doc says: The commands on this page can all be executed from the
testsuite directory.
bash-3.2$ find . -name testsuite
./libffi/build/testsuite
./libffi/build/x86_64-apple-darwin/testsuite
bash-3.2$ pushd libffi/build/x86_64-apple-darwin/testsuite
~/Downloads/ghc-8.2.0.20170404/libffi/build/x86_64-apple-darwin/testsuite
~/Downloads/ghc-8.2.0.20170404
bash-3.2$ make test
make: *** No rule to make target `test'. Stop.
bash-3.2$ popd
~/Downloads/ghc-8.2.0.20170404
bash-3.2$ pushd libffi/build/testsuite
~/Downloads/ghc-8.2.0.20170404/libffi/build/testsuite
~/Downloads/ghc-8.2.0.20170404
bash-3.2$ make test
make: *** No rule to make target `test'. Stop.
bash-3.2$ popd
~/Downloads/ghc-8.2.0.20170404
bash-3.2$ make test
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C testsuite/tests
CLEANUP=1 SUMMARY_FILE=../../testsuite_summary.txt
make: *** testsuite/tests: No such file or directory. Stop.
make: *** [test] Error 2
Thanks
George
On Wed, Apr 5, 2017 at 9:43 PM Jens Petersen <juhpetersen at gmail.com> wrote:
On 4 April 2017 at 13:21, Ben Gamari <ben at well-typed.com> wrote:
I am happy to announce the release of the 8.2.1-rc1 source distribution
to binary packagers.
It seems to build okay for me on Fedora 26 so far.
But the testsuite completely failed in timeout: see
https://ghc.haskell.org/trac/ghc/ticket/13534
Cheers, Jens
_______________________________________________
ghc-devs mailing list
ghc-devs at haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170406/612ced61/attachment.html>
More information about the ghc-devs
mailing list