Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,320
    • Issues 4,320
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 359
    • Merge Requests 359
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #18924

Closed
Open
Opened Nov 03, 2020 by Simon Peyton Jones@simonpjDeveloper

Testsuite using stage=1 compiler

I sometimes do

make stage=1

in the testsuite directory. Usually because I've broken GHC and the stage-2 compiler won't build. Rather than debug GHC itself I want to run the testsuite to see if I can expose the bug in a smaller program.

I can do this, but the failures I'm looking for are concealed in a cloud of failures from tests that simply can't be run with stage-1. Notably Template Haskell.

It'd be great if

  • I could flag tests in all.T as "stage 2 only"
  • The testsuite runner would skip such tests when stage=1

Can't be hard! We don't need to modify all the all.T files immediately.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#18924