Skip to content
GitLab
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 5,259
    • Issues 5,259
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 566
    • Merge requests 566
  • 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 CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #17728
Closed
Open
Issue created Jan 22, 2020 by Vladislav Zavialov@int-indexDeveloper

Hadrian skips Haddock tests by default

In the CI pipeline https://gitlab.haskell.org/ghc/ghc/pipelines/14835 Hadrian jobs pass but make jobs fail. Why? The patch introduces a bug that breaks the haddockHypsrcTest test, but the Hadrian jobs do not run this test.

The test suite skips Haddock tests due to missing libraries. To reproduce locally, run hadrian/build.sh -j --flavour=Quick test --only="haddockHypsrcTest" on a fresh clone of GHC. You will see the following message after the test driver runs:

1 had missing libraries, 0 expected passes

Then, if you run hadrian/build.sh -j --flavour=Quick docs-haddock, it will build the required library, and this time running the haddockHypsrcTest test will report:

0 had missing libraries, 1 expected passes

We must make sure that this is what happens on CI, or we won't catch similar issues if we get rid of make jobs as suggested in #17527 (closed)

Edited Jan 22, 2020 by Vladislav Zavialov
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking