Repository : ssh://[email protected]/Cabal On branch : ghc-head Link : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=de17d22ede00d9a24e5710c4de59fcc12fe9e2cf
>--------------------------------------------------------------- commit de17d22ede00d9a24e5710c4de59fcc12fe9e2cf Author: Thomas Tuegel <[email protected]> Date: Sat Aug 31 11:20:13 2013 -0500 Build selected test suites and benchmarks only Issue #1451. Passes the extra arguments to 'cabal test' or 'cabal bench' to the build phase so that only the requested test suites or benchmarks are built. >--------------------------------------------------------------- de17d22ede00d9a24e5710c4de59fcc12fe9e2cf cabal-install/Main.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cabal-install/Main.hs b/cabal-install/Main.hs index 713eb05..ab5c453 100644 --- a/cabal-install/Main.hs +++ b/cabal-install/Main.hs @@ -611,7 +611,7 @@ testAction (testFlags, buildExFlags) extraArgs globalFlags = do globalFlags noAddSource (buildNumJobs buildExFlags) checkFlags maybeWithSandboxDirOnSearchPath useSandbox $ - build verbosity distPref mempty [] + build verbosity distPref mempty extraArgs maybeWithSandboxDirOnSearchPath useSandbox $ setupWrapper verbosity setupOptions Nothing @@ -639,7 +639,7 @@ benchmarkAction (benchmarkFlags, buildExFlags) extraArgs globalFlags = do checkFlags maybeWithSandboxDirOnSearchPath useSandbox $ - build verbosity distPref mempty [] + build verbosity distPref mempty extraArgs maybeWithSandboxDirOnSearchPath useSandbox $ setupWrapper verbosity setupOptions Nothing _______________________________________________ ghc-commits mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-commits
