Hi Thorkil, On Fri, Sep 11, 2009 at 21:33:03 +0200, Thorkil Naur wrote: > Fri Sep 11 21:18:52 CEST 2009 Thorkil Naur <[email protected]> > * Make the running of tests more entertaining > With this change, the running of tests is less likely to strain your > patience.
I'd like to apply this (because it annoys me too), but it conflicts with our current repo. Would you mind amending and re-sending? Interestingly, this has to do with the fact that line-adjacent patches conflict, which I never really quite understood. More on that later. Make the running of tests more entertaining ------------------------------------------- > Thorkil Naur <[email protected]>**20090911191852 > With this change, the running of tests is less likely to strain your > patience. > ] hunk ./Setup.lhs 42 > doesDirectoryExist, doesFileExist, > getCurrentDirectory, getDirectoryContents, > removeDirectoryRecursive, removeFile, setCurrentDirectory) > -import System.IO (openFile, IOMode (..)) > +import System.IO (openFile, IOMode (..), stdout, hSetBuffering, BufferMode > (..)) > import System.Process (runProcess) > import System.IO.Error ( isDoesNotExistError ) > import Data.List( isSuffixOf, sort, partition ) > hunk ./Setup.lhs 279 > > execTests :: FilePath -> TestKind -> String -> [String] -> IO () > execTests darcs_path k fmt tests = do > + hSetBuffering stdout NoBuffering > let dir = (flat k) ++ "-" ++ fmt ++ ".dir" > rmRf dir > cloneTree (show k) dir > -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9
pgpGgmSuKKpEc.pgp
Description: PGP signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
