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,869
    • Issues 4,869
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 456
    • Merge requests 456
  • 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
  • #20555
Closed
Open
Created Oct 25, 2021 by Douglas Wilson@duogDeveloper

Test driver rejects valid ways passed on the command line

running

hadrian test --only=T367_letnoescape --test-way=optllvm 

should run the given test in the given way.

However, the commandline parsing rejects optllvm, as it has not been recorded as a valid way yet.

optllvm is added to compile_ways in get_compiler_info.

I can confirm this by adding

    print("DOUGRULZ-adding-ways")

to get_compiler_info and observing that optllvm is rejected before the above trace is printed.

WARNING: Unknown WAY optllvm in --way
DOUGRULZ-added-ways
Timeout is 300

I have not investigated whether this affects other ways.

Edited Oct 25, 2021 by Douglas Wilson
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking