Skip to content

tasty -Werror=deprecations of sequentialTestGroup #11901

Description

@philderbeast

I think we just got nailed by a new tasty release deprecating things we use, with -Werror=deprecations.

Originally posted by @geekosaur in #11637 (comment)

$ cabal build all --enable-tests --enable-benchmarks -j
...
tests/IntegrationTests2.hs:122:9: warning: [GHC-68441] [-Wdeprecations]
    In the use of ‘sequentialTestGroup’
    (imported from Test.Tasty, but defined in Test.Tasty.Core):
    Deprecated: "Use dependentTestGroup instead"
    |
122 |         sequentialTestGroup
    |         ^^^^^^^^^^^^^^^^^^^

tests/IntegrationTests2.hs:152:5: warning: [GHC-68441] [-Wdeprecations]
    In the use of ‘sequentialTestGroup’
    (imported from Test.Tasty, but defined in Test.Tasty.Core):
    Deprecated: "Use dependentTestGroup instead"
    |
152 |   [ sequentialTestGroup "Discovery and planning" AllFinish $
    |     ^^^^^^^^^^^^^^^^^^^

tests/IntegrationTests2.hs:157:5: warning: [GHC-68441] [-Wdeprecations]
    In the use of ‘sequentialTestGroup’
    (imported from Test.Tasty, but defined in Test.Tasty.Core):
    Deprecated: "Use dependentTestGroup instead"
    |
157 |   , sequentialTestGroup "Target selectors" AllFinish $
    |     ^^^^^^^^^^^^^^^^^^^

tests/IntegrationTests2.hs:174:5: warning: [GHC-68441] [-Wdeprecations]
    In the use of ‘sequentialTestGroup’
    (imported from Test.Tasty, but defined in Test.Tasty.Core):
    Deprecated: "Use dependentTestGroup instead"
    |
174 |   , sequentialTestGroup "Exceptions during building (local inplace)" AllFinish $
    |     ^^^^^^^^^^^^^^^^^^^

tests/IntegrationTests2.hs:183:5: warning: [GHC-68441] [-Wdeprecations]
    In the use of ‘sequentialTestGroup’
    (imported from Test.Tasty, but defined in Test.Tasty.Core):
    Deprecated: "Use dependentTestGroup instead"
    |
183 |     sequentialTestGroup "Successful builds" AllFinish $
    |     ^^^^^^^^^^^^^^^^^^^

tests/IntegrationTests2.hs:193:5: warning: [GHC-68441] [-Wdeprecations]
    In the use of ‘sequentialTestGroup’
    (imported from Test.Tasty, but defined in Test.Tasty.Core):
    Deprecated: "Use dependentTestGroup instead"
    |
193 |   , sequentialTestGroup "Regression tests" AllFinish $
    |     ^^^^^^^^^^^^^^^^^^^

tests/IntegrationTests2.hs:199:5: warning: [GHC-68441] [-Wdeprecations]
    In the use of ‘sequentialTestGroup’
    (imported from Test.Tasty, but defined in Test.Tasty.Core):
    Deprecated: "Use dependentTestGroup instead"
    |
199 |   , sequentialTestGroup "Flag tests" AllFinish $
    |     ^^^^^^^^^^^^^^^^^^^

tests/IntegrationTests2.hs:204:5: warning: [GHC-68441] [-Wdeprecations]
    In the use of ‘sequentialTestGroup’
    (imported from Test.Tasty, but defined in Test.Tasty.Core):
    Deprecated: "Use dependentTestGroup instead"
    |
204 |   , sequentialTestGroup
    | 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions