[commit: Cabal] master: Stop cabal-install from duplicating test options. (ed9397e)
Ian Lynagh
igloo at earth.li
Tue Jul 19 15:25:46 CEST 2011
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 <ttuegel at gmail.com>
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, "
More information about the Cvs-libraries
mailing list