tasty 1.5.1 → 1.5.2
raw patch · 4 files changed
+22/−5 lines, 4 filesdep ~base
Dependency ranges changed: base
Files
- CHANGELOG.md +13/−0
- README.md +4/−2
- Test/Tasty/Ingredients/ConsoleReporter.hs +3/−1
- tasty.cabal +2/−2
CHANGELOG.md view
@@ -1,6 +1,19 @@ Changes ======= +Version 1.5.2+--------------++_2024-11-03_++* Partially revert [#393](https://github.com/UnkindPartition/tasty/pull/393)+ to fix progress reporting outside of Emacs.+* Do not depend on `unbounded-delays` on `ppc64`, `s390x` and `riscv64`+ ([#371](https://github.com/UnkindPartition/tasty/pull/371),+ [#422](https://github.com/UnkindPartition/tasty/pull/422),+ [#423](https://github.com/UnkindPartition/tasty/pull/423)).++ Version 1.5.1 --------------
README.md view
@@ -113,10 +113,12 @@ * [tasty-program](https://hackage.haskell.org/package/tasty-program) — run external program and test whether it terminates successfully * [tasty-wai](https://hackage.haskell.org/package/tasty-wai) —- for testing [wai](https://hackage.haskell.org/package/wai) endpoints.+ for testing [wai](https://hackage.haskell.org/package/wai) endpoints * [tasty-inspection-testing](https://hackage.haskell.org/package/tasty-inspection-testing) — for compile-time testing of code properties- (based on [inspection-testing](http://hackage.haskell.org/package/inspection-testing)).+ (based on [inspection-testing](http://hackage.haskell.org/package/inspection-testing))+* [tasty-flaky](https://hackage.haskell.org/package/tasty-flaky) — add delay and+ retry logic to any test that is known to fail intermittently [tasty-golden]: https://hackage.haskell.org/package/tasty-golden
Test/Tasty/Ingredients/ConsoleReporter.hs view
@@ -169,9 +169,10 @@ ("", pct) -> printf "%.0f%% " pct (txt, 0.0) -> printf "%s" txt (txt, pct) -> printf "%s: %.0f%% " txt pct+ putChar '\r' -- A new progress message may be shorter than the previous one -- so we must clean whole line and print anew.- putChar '\r'+ clearLine putStr testNamePadded infoOk msg hFlush stdout@@ -190,6 +191,7 @@ when getAnsiTricks $ do putChar '\r'+ clearLine putStr testNamePadded printFn (resultShortDescription result)
tasty.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: tasty-version: 1.5.1+version: 1.5.2 synopsis: Modern and extensible testing framework description: Tasty is a modern testing framework for Haskell. It lets you combine your unit tests, golden@@ -68,7 +68,7 @@ ansi-terminal >= 0.9 && < 1.2 -- No reason to depend on unbounded-delays on 64-bit architecture- if(!arch(x86_64) && !arch(aarch64))+ if(!arch(x86_64) && !arch(aarch64) && !arch(ppc64) && !arch(s390x) && !arch(riscv64)) build-depends: unbounded-delays >= 0.1 && < 0.2