Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,866
    • Issues 4,866
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 457
    • Merge requests 457
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #21292
Closed
Open
Created Mar 24, 2022 by Sylvain Henry@hsyl20Developer1 of 5 tasks completed1/5 tasks

Hadrian: running the testsuite with cross-compilers

Hadrian fails to run the testsuite when GHC is built as a cross-compiler.

>./configure --target=aarch64-linux-gnu
> ./hadrian/build-stack --flavour=quick --bignum=native --docs=none test
| Run Testsuite GetExtraDeps: none
Unknown program "_build/stage1/lib/bin/aarch64-linux-gnu-ghc-iserv"
Build failed.

Expected

  • Support running the testsuite as shown above !7850 (closed)
  • Automatically switch off Haddock tests so that we don't have to pass --docs=none
  • Skip tests requiring to run built test programs (they won't as we are cross-compiling)
  • Add an option to run built test programs through a user-specified wrapper (qemu-*, nodejs...)
  • Add an option to specify the iserv program to use and its options
Edited Mar 29, 2022 by Sylvain Henry
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking