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
1 changed file:
Changes:
| ... | ... | @@ -697,6 +697,18 @@ function test_hadrian() { |
| 697 | 697 | # ---
|
| 698 | 698 | # > main = putStrLn "hello world"
|
| 699 | 699 | run diff -w expected actual
|
| 700 | + |
|
| 701 | + # Run a subset of tests as not all tests are compatible to CROSS_EMULATOR
|
|
| 702 | + # execution and emulation is pretty slow.
|
|
| 703 | + EXTRA_HC_OPTS="-fexternal-interpreter" run_hadrian \
|
|
| 704 | + test \
|
|
| 705 | + --test-have-intree-files \
|
|
| 706 | + --test-compiler="${test_compiler}" \
|
|
| 707 | + --test-root-dirs=testsuite/tests/codeGen \
|
|
| 708 | + "runtest.opts+=${RUNTEST_ARGS:-}" \
|
|
| 709 | + "runtest.opts+=--unexpected-output-dir=$TOP/unexpected-test-output" \
|
|
| 710 | + || fail "hadrian cross codeGen test"
|
|
| 711 | + |
|
| 700 | 712 | elif [[ -n "${REINSTALL_GHC:-}" ]]; then
|
| 701 | 713 | run_hadrian \
|
| 702 | 714 | test \
|