Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump tasty upper bound to <1.6 & release tasty-dejafu #400

Merged
merged 2 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ There are a few different packages under the Déjà Fu umbrella:
| [concurrency][h:conc] | 1.11.0.3 | Typeclasses, functions, and data types for concurrency and STM. |
| [dejafu][h:dejafu] | 2.4.0.5 | Systematic testing for Haskell concurrency. |
| [hunit-dejafu][h:hunit] | 2.0.0.6 | Deja Fu support for the HUnit test framework. |
| [tasty-dejafu][h:tasty] | 2.1.0.0 | Deja Fu support for the Tasty test framework. |
| [tasty-dejafu][h:tasty] | 2.1.0.1 | Deja Fu support for the Tasty test framework. |

Each package has its own README and CHANGELOG in its subdirectory.

Expand Down
7 changes: 6 additions & 1 deletion dejafu-tests/exe/MainBench.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ main = C.defaultMain (T.foldTestTree mkBench mempty tests)

-- | Turn a test tree into a list of benchmarks.
mkBench :: T.TreeFold [C.Benchmark]
#if MIN_VERSION_tasty(1,4,0)
#if MIN_VERSION_tasty(1,5,0)
mkBench = T.trivialFold
{ T.foldSingle = \opts lbl t -> [C.bench lbl (benchTest opts t)]
, T.foldGroup = \_ lbl bs -> map (C.bgroup lbl) bs
}
#elif MIN_VERSION_tasty(1,4,0)
mkBench = T.trivialFold
{ T.foldSingle = \opts lbl t -> [C.bench lbl (benchTest opts t)]
, T.foldGroup = \_ lbl bs -> [C.bgroup lbl bs]
Expand Down
2 changes: 1 addition & 1 deletion doc/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ There are a few different packages under the Déjà Fu umbrella:
":hackage:`concurrency`", "1.11.0.3", "Typeclasses, functions, and data types for concurrency and STM"
":hackage:`dejafu`", "2.4.0.5", "Systematic testing for Haskell concurrency"
":hackage:`hunit-dejafu`", "2.0.0.6", "Déjà Fu support for the HUnit test framework"
":hackage:`tasty-dejafu`", "2.1.0.0", "Déjà Fu support for the tasty test framework"
":hackage:`tasty-dejafu`", "2.1.0.1", "Déjà Fu support for the tasty test framework"


Installation
Expand Down
12 changes: 12 additions & 0 deletions tasty-dejafu/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ standard Haskell versioning scheme.
.. _PVP: https://pvp.haskell.org/


2.1.0.1 (2023-09-11)
--------------------

* Git: :tag:`tasty-dejafu-2.1.0.1`
* Hackage: :hackage:`tasty-dejafu-2.1.0.1`

Miscellaneous
~~~~~~~~~~~~~

* The upper bound on :hackage:`tasty` is <1.6.


2.1.0.0 (2022-08-31)
--------------------

Expand Down
6 changes: 3 additions & 3 deletions tasty-dejafu/tasty-dejafu.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- documentation, see http://haskell.org/cabal/users-guide/

name: tasty-dejafu
version: 2.1.0.0
version: 2.1.0.1
synopsis: Deja Fu support for the Tasty test framework.

description:
Expand Down Expand Up @@ -30,7 +30,7 @@ source-repository head
source-repository this
type: git
location: https://github.com/barrucadu/dejafu.git
tag: tasty-dejafu-2.1.0.0
tag: tasty-dejafu-2.1.0.1

library
exposed-modules: Test.Tasty.DejaFu
Expand All @@ -40,6 +40,6 @@ library
, dejafu >=2.0 && <2.5
, random >=1.0 && <1.3
, tagged >=0.8 && <0.9
, tasty >=0.10 && <1.5
, tasty >=0.10 && <1.6
-- hs-source-dirs:
default-language: Haskell2010