How to test master after breaking changes

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

How to test master after breaking changes

Artem Pelenitsyn
Hello devs,

Wiki page on testing says that in order to run all tests you have to install additional packages:


and kindly provides a command to do this:

cabal install --with-compiler=`pwd`/inplace/bin/ghc-stage2 --package-db=`pwd`/inplace/lib/package.conf.d mtl parallel parsec primitive QuickCheck random regex-compat syb stm utf8-string vector

After the af9b744bb one of the packages, primitive, does not build anymore. At least, its last released version on Hackage. I see that the problem has been fixed on primitive's master (a2af610). But what should I do to actually test master branch of GHC now?

--
Best wishes,
Artem


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: How to test master after breaking changes

Ömer Sinan Ağacan
Hi Artem,

I think currently the best you could do is to clone primitive's git repo
locally and install it from there, using `cd primitive; cabal install
--with-ghc=...`.

Note that you can run the test suite without these dependencies. The driver
skips the test if a dependency is not found. See also #15137.

(I wonder what CI is doing about this, I'm guessing it doesn't install
dependencies so some of the tests are not run on CI)

Ömer

Artem Pelenitsyn <[hidden email]>, 4 Ağu 2018 Cmt, 20:51
tarihinde şunu yazdı:

>
> Hello devs,
>
> Wiki page on testing says that in order to run all tests you have to install additional packages:
>
> https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running#AdditionalPackages
>
> and kindly provides a command to do this:
>
> cabal install --with-compiler=`pwd`/inplace/bin/ghc-stage2 --package-db=`pwd`/inplace/lib/package.conf.d mtl parallel parsec primitive QuickCheck random regex-compat syb stm utf8-string vector
>
> After the af9b744bb one of the packages, primitive, does not build anymore. At least, its last released version on Hackage. I see that the problem has been fixed on primitive's master (a2af610). But what should I do to actually test master branch of GHC now?
>
> --
> Best wishes,
> Artem
>
> _______________________________________________
> ghc-devs mailing list
> [hidden email]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs