Skip to content
This repository was archived by the owner on Aug 2, 2020. It is now read-only.
This repository was archived by the owner on Aug 2, 2020. It is now read-only.

Improve test coverage of the build system #197

Open

Description

@snowleopard

The selftest target is currently too limited to be useful. More tests need to be added.

Activity

  1. added this to the ghc-quake milestone on Jan 28, 2016
  2. chitrak7 commented on Mar 22, 2018

    @chitrak7
    Contributor

    Hi @snowleopard, @izgzhen,
    Can you please give me an idea of more tests that we can perform.
    Also, currently all tests are hardcoded, but I think we can introduce a bit of randomization to make the tests more effective.

  3. snowleopard commented on Mar 23, 2018

    @snowleopard
    OwnerAuthor

    @chitrak7 We already use QuickCheck. What other randomisation do you have in mind?

  4. chitrak7 commented on Mar 25, 2018

    @chitrak7
    Contributor

    Eg: The rule testModuleName currently has hardcoded ‘Data.Functor.Identity“. We can instead pick up any Module Randomly and test for that. @snowleopard

  5. snowleopard commented on Mar 25, 2018

    @snowleopard
    OwnerAuthor

    Right, I see.

    I'd say this whole issue is fairly low priority. It's great to have thorough tests to help maintain Hadrian in the long term, but we still have a lot of work before Hadrian becomes the default build system for GHC.

  6. chitrak7 commented on Mar 25, 2018

    @chitrak7
    Contributor

    @snowleopard Giving it 3-4 days in my proposal. My proposal currently aims at making Hadrian more robust by implementing good test coverage, both from test suite as well as internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions