How to test master after breaking changes

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#Addition... 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 https://github.com/ghc/ghc/commit/af9b744bbf1c39078e561b19edd3c5234b361b27 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 https://github.com/haskell/primitive/commit/a2af610c08c5f5afc496f907bf6b2a4b...). But what should I do to actually test master branch of GHC now? -- Best wishes, Artem

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
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#Addition...
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 ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
participants (2)
-
Artem Pelenitsyn
-
Ömer Sinan Ağacan