New patches in /srv/darcs/git-mirrors/Cabal
commit 5e54c7fcb1d0c86065dda814bd24426d9857568c
Author: Andres Loeh <[email protected]>
Date: Fri Feb 17 07:28:49 2012 +0000
added missing error message
Thanks to Thomas Tuegel for spotting this.
commit 86fa1223a96a3a054b1c02b6305f566440887f4e
Author: Thomas Tuegel <[email protected]>
Date: Thu Feb 16 18:46:17 2012 +0000
Don't try to run test suites where none exist.
commit b0777e2ddf449ea22f0d6630a098b799c5735441
Author: Thomas Tuegel <[email protected]>
Date: Thu Feb 16 18:16:22 2012 +0000
Fixed non-exhaustive pattern matches with new InstallOutcome.
commit 38d01256923ff674e1c1d1e2e7333fb36a7b718e
Author: Thomas Tuegel <[email protected]>
Date: Sat Feb 4 20:22:58 2012 +0000
Automatically run test suites when invoked with 'cabal install
--enable-tests'. Do not install if tests fail.
commit 7fada5a6ae8feaf208551351a23de8f29c2fa004
Author: Andres Loeh <[email protected]>
Date: Mon Feb 13 08:16:41 2012 +0000
make test and bench available as user constraints
Saying
cabal install foo --enable-tests
is now equivalent to saying
cabal install foo --constraint="foo test"
The constraint syntax in addition allows to enable tests and benchmarks
for packages that are further down in the dependency chain.
commit 9f61e74a357dfba6f5d29e3ffc8c5d9a08e91207
Author: Andres Loeh <[email protected]>
Date: Sun Feb 12 13:43:22 2012 +0000
let --reinstall imply --force-reinstalls for targets
commit d6fe87546991786e62578ce4a75e2f567f37ebd1
Author: Andres Loeh <[email protected]>
Date: Sun Feb 12 11:35:24 2012 +0000
stanza support in modular solver
commit 77fd55686417c25212b07c500477bf8ecbdff338
Author: Andres Loeh <[email protected]>
Date: Sat Feb 11 15:59:29 2012 +0000
show optional stanzas when printing install plans
commit a7347656f789aabc56a35fa2e7847a060f41e286
Author: Andres Loeh <[email protected]>
Date: Sat Feb 11 15:41:19 2012 +0000
Added a missing case.
commit c112b04a02e5a799991cab7d3b896c1c62bc8a47
Author: Thomas Tuegel <[email protected]>
Date: Wed Feb 8 06:57:01 2012 +0000
Enable tests and benchmarks in cabal-install without modifications to the
Cabal library.
commit 8e93f38d474e3871c7af243f2c08b9108e79f754
Author: Thomas Tuegel <[email protected]>
Date: Tue Feb 7 19:48:52 2012 +0000
Don't build benchmarks, even if installing benchmark dependencies.
commit 33af02d2369ab88f5847629f971e65fe5647f3e3
Author: Thomas Tuegel <[email protected]>
Date: Tue Feb 7 19:45:43 2012 +0000
Update types in modular dependency solver to compile with new
test/benchmark dependency constraints.
commit f2743a162e1ecbf5a485d0e13e2969f9896813e4
Author: Thomas Tuegel <[email protected]>
Date: Tue Feb 7 19:39:58 2012 +0000
Handle test and benchmark dependencies through the resolver properly.
Previously, test and benchmark dependencies were handled by editing the
package description to include or exclude those stanzas before running
the dependency resolver. Test and benchmark dependencies could only be
installed for source packages because no package description is available
for named packages before dependency resolution.
Now, test and benchmark stanzas are enabled or disabled through constraints
passed to the dependency resolver. This way, we can install dependencies for
the test suites of target packages without propagating '--enable-tests'
through the entire dependency tree; i.e., tests and benchmarks, when
enabled,
are built only for target packages. Later, this will allow us to
automatically run test suites and, e.g., install only upon their success.
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc