Annotation of wikisrc/projects/project/pkgsrc-test-depends.mdwn, revision 1.1

1.1     ! dholland    1: [[!template id=project
        !             2: 
        !             3: title="Separate test depends for pkgsrc"
        !             4: 
        !             5: contact="""
        !             6: [tech-pkg](mailto:tech-pkg@NetBSD.org)
        !             7: """
        !             8: 
        !             9: category="pkgsrc"
        !            10: difficulty="medium"
        !            11: duration="3-6 weeks"
        !            12: 
        !            13: description="""
        !            14: 
        !            15: Right now the pkgsrc packaging for many things does not support
        !            16: running those things' native test suites.
        !            17: One of the reasons for this is that those test suites often depend on
        !            18: additional packages for test infrastructure or test automation.
        !            19: Sometimes those additional depends cause cycles; sometimes they're
        !            20: "only" heavyweight; but fairly often adding them as unconditional
        !            21: BUILD_DEPENDS (or worse, full DEPENDS) has undesirable consequences.
        !            22: 
        !            23: It ought to be possible to have a separate set of TEST_DEPENDS that's
        !            24: brought in only when one is actually intending to run a test suite.
        !            25: This is not entirely trivial (or it would have been done long ago)
        !            26: because it doesn't fit well into the sequence of phases pkgsrc builds
        !            27: happen in.
        !            28: Should there be a separate (and late) phase for TEST_DEPENDS, or a
        !            29: (per-package?) switch in mk.conf to enable test material, or some
        !            30: other scheme?
        !            31: What about packages that need to be installed first before their tests
        !            32: will run?
        !            33: (Yes, ideally these wouldn't exist...)
        !            34: 
        !            35: The first part of this project is: decide how it should work and sell
        !            36: the community on it, er, I mean, reach consensus with the community on
        !            37: the best approach.
        !            38: This (including sorting through all the requirements and miscellaneous
        !            39: desiderata, which are by no means listed completely above) is at least
        !            40: half the work.
        !            41: 
        !            42: The second part of this project is to implement what you've designed,
        !            43: and add support to three or four packages with nontrivial test suites.
        !            44: 
        !            45: (Note: this project description was partly based on loose talk on the
        !            46: subject appearing in PR 50645.)
        !            47: 
        !            48: """
        !            49: ]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb