Sven Tennie pushed to branch wip/romes/hadrian-cross-stage2-rebase_SVEN_FINAL at Glasgow Haskell Compiler / GHC Commits: ba1bae18 by Sven Tennie at 2026-06-06T21:57:10+02:00 Execute subset of testsuite for cross-compilers This gives us more confidence that the compiler works. And could be used as starting point to support CROSS_EMULATOR by the whole testsuite. - - - - - 1 changed file: - .gitlab/ci.sh Changes: ===================================== .gitlab/ci.sh ===================================== @@ -697,6 +697,18 @@ function test_hadrian() { # --- # > main = putStrLn "hello world" run diff -w expected actual + + # Run a subset of tests as not all tests are compatible to CROSS_EMULATOR + # execution and emulation is pretty slow. + EXTRA_HC_OPTS="-fexternal-interpreter" run_hadrian \ + test \ + --test-have-intree-files \ + --test-compiler="${test_compiler}" \ + --test-root-dirs=testsuite/tests/codeGen \ + "runtest.opts+=${RUNTEST_ARGS:-}" \ + "runtest.opts+=--unexpected-output-dir=$TOP/unexpected-test-output" \ + || fail "hadrian cross codeGen test" + elif [[ -n "${REINSTALL_GHC:-}" ]]; then run_hadrian \ test \ View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ba1bae187eaa324f8e7f6e12c4e8a775... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ba1bae187eaa324f8e7f6e12c4e8a775... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Sven Tennie (@supersven)