[Git][ghc/ghc][wip/angerman/cross-test-suite] Cross Test Suite

Moritz Angermann gitlab at gitlab.haskell.org
Tue Jul 21 13:53:48 UTC 2020



Moritz Angermann pushed to branch wip/angerman/cross-test-suite at Glasgow Haskell Compiler / GHC


Commits:
3e387045 by Moritz Angermann at 2020-07-21T21:35:55+08:00
Cross Test Suite

This introduces the ability to test cross compilers agains the
testsuite as well.  This is achieved by disabling some tests that make
no sense in a cross compilation setting, or simply can not be made to
cross compile proplery.

The fundamental idea is that we can run produced binaries through
a TEST_WRAPPER, if provided.  This could be qemu in user mode, or
wine, or nodejs, or anything that could transparrently run the
executable build product on the build machine.

- - - - -


30 changed files:

- libraries/base/tests/IO/Makefile
- libraries/base/tests/IO/T12010/Makefile
- libraries/base/tests/Numeric/all.T
- libraries/base/tests/all.T
- testsuite/config/ghc
- + testsuite/driver/id
- testsuite/driver/runtests.py
- testsuite/driver/testglobals.py
- testsuite/driver/testlib.py
- testsuite/mk/boilerplate.mk
- testsuite/mk/ghc-config.hs
- testsuite/mk/test.mk
- testsuite/tests/annotations/should_fail/all.T
- testsuite/tests/annotations/should_run/all.T
- testsuite/tests/backpack/cabal/T14304/Makefile
- testsuite/tests/backpack/cabal/T15594/Makefile
- testsuite/tests/backpack/cabal/T16219/Makefile
- testsuite/tests/backpack/cabal/bkpcabal01/Makefile
- testsuite/tests/backpack/cabal/bkpcabal02/Makefile
- testsuite/tests/backpack/cabal/bkpcabal03/Makefile
- testsuite/tests/backpack/cabal/bkpcabal04/Makefile
- testsuite/tests/backpack/cabal/bkpcabal05/Makefile
- testsuite/tests/backpack/cabal/bkpcabal06/Makefile
- testsuite/tests/backpack/cabal/bkpcabal07/Makefile
- testsuite/tests/cabal/T12733/Makefile
- testsuite/tests/cabal/cabal01/Makefile
- testsuite/tests/cabal/cabal01/all.T
- testsuite/tests/cabal/cabal03/Makefile
- testsuite/tests/cabal/cabal04/Makefile
- testsuite/tests/cabal/cabal04/all.T


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3e3870455683fe98f4155404f4fb95e04b9f9620

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3e3870455683fe98f4155404f4fb95e04b9f9620
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200721/7550de16/attachment.html>


More information about the ghc-commits mailing list