Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/ed9397efda3f33da6426228e72938dd849133832

>---------------------------------------------------------------

commit ed9397efda3f33da6426228e72938dd849133832
Author: Thomas Tuegel <[email protected]>
Date:   Sat May 21 23:20:47 2011 +0000

    Stop cabal-install from duplicating test options.

>---------------------------------------------------------------

 cabal/Distribution/Simple/Setup.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cabal/Distribution/Simple/Setup.hs 
b/cabal/Distribution/Simple/Setup.hs
index ca9fa0a..62785c7 100644
--- a/cabal/Distribution/Simple/Setup.hs
+++ b/cabal/Distribution/Simple/Setup.hs
@@ -1326,7 +1326,7 @@ testCommand = makeCommand name shortDesc longDesc 
defaultTestFlags options
              ++ "$os, $arch, $test-suite)")
             testOptions (\v flags -> flags { testOptions = v })
             (reqArg' "TEMPLATES" (map toPathTemplate . splitArgs)
-                (map fromPathTemplate))
+                (const []))
       , option [] ["test-option"]
             ("give extra option to test executables "
              ++ "(no need to quote options containing spaces, "



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to