HTF 0.10.0.6 → 0.10.0.7
raw patch · 3 files changed
+12/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- HTF.cabal +1/−1
- Test/Framework/Diff.hs +1/−2
- run-all-tests-for-all-compilers.sh +10/−1
HTF.cabal view
@@ -1,5 +1,5 @@ Name: HTF-Version: 0.10.0.6+Version: 0.10.0.7 License: LGPL License-File: LICENSE Copyright: (c) 2005-2012 Stefan Wehr
Test/Framework/Diff.hs view
@@ -32,7 +32,6 @@ import Control.Exception (catch, finally, IOException) import qualified Data.List as List import Data.Char-import Data.Algorithm.Diff hiding (First) import qualified Data.Algorithm.Diff as D import Test.Framework.Colors @@ -124,7 +123,7 @@ singleLineDiff dc s1 s2 | s1 == s2 = "" | otherwise =- let groups = getGroupedDiff s1 s2+ let groups = D.getGroupedDiff s1 s2 in foldr (\(group, pos) string -> (showDiffGroup pos group) ++ (if not (isLast pos) then dc_sep dc else "") ++
run-all-tests-for-all-compilers.sh view
@@ -11,7 +11,16 @@ echo "Could not switch to GHC version $x as requested, version is now $ghc_version" exit 1 fi- echo "Running tests for GHC version $ghc_version"+ echo+ echo+ echo "============================================================"+ echo "============================================================"+ echo "==> Running tests for GHC version $ghc_version <=="+ echo "==> Running tests for GHC version $ghc_version <=="+ echo "==> Running tests for GHC version $ghc_version <=="+ echo "============================================================"+ echo "============================================================"+ echo ./run-all-tests.sh ecode=$? if [ $ecode -eq 0 ]