/var/lib/ghc/package.conf.d/tasty-rerun-1.1.5.conf is in libghc-tasty-rerun-dev 1.1.5-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | name: tasty-rerun
version: 1.1.5
id: tasty-rerun-1.1.5-ee3a708a346c0bdcb05500b20327bf6d
key: tasty_EGxIClJd6Ql0ebgHin7BQy
license: BSD3
copyright: Oliver Charles (c) 2014
maintainer: ollie@ocharles.org.uk
homepage: http://github.com/ocharles/tasty-rerun
synopsis: Run tests by filtering the test tree depending on the result of previous test
runs
description:
This ingredient adds the ability to run tests by first filtering the test tree
based on the result of a previous test run. For example, you can use this to
run only those tests that failed in the last run, or to run only tests that
have been added since tests were last ran.
.
This ingredient is specifically an ingredient *transformer* - given a list of
'Tasty.Ingredient's, 'rerunningTests' adds the ability for all of these
ingredients to run against a filtered test tree. This transformer can be
applied as follows:
.
> import Test.Tasty
> import Test.Tasty.Runners
>
> main :: IO ()
> main =
> defaultMainWithIngredients
> [ rerunningTests [ listingTests, consoleTestReporter ] ]
> tests
>
> tests :: TestTree
> tests = undefined
.
This ingredient adds three command line parameters:
.
[@--rerun-update@] If specified the results of this test run will be saved to
the log file at @--rerun-log-file@. If the ingredient does not execute tests
(for example, @--list-tests@ is used) then the log file will not be
updated. This option is not enabled by default. This option does not require
a value.
.
[@--rerun-log-file@] The path to the log file to read previous test
information from, and where to write new information to (if @--rerun-update@
is specified). This option defaults to @.tasty-rerun-log@.
.
[@--rerun-filter@] Which filters to apply to the 'Tasty.TestTree' based on
previous test runs. The value of this option is a comma separated list of the
following options:
.
* @failures@: Only run tests that failed on the previous run.
.
* @exceptions@: Only run tests that threw an exception on the previous run.
.
* @new@: Only run tests that are new since the previous test run.
.
* @successful@: Only run tests that were successful in the previous run.
.
Multiple options can be combined and will be taken under disjunction - so
@--rerun-filter=failures,exceptions@ will run only tests that failed *or*
threw an exception on the last run.
.
Defaults to all filters, which means all tests will be ran.
category: Testing
author: Oliver Charles
exposed: True
exposed-modules:
Test.Tasty.Ingredients.Rerun
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/tasty-rerun-1.1.5-EGxIClJd6Ql0ebgHin7BQy
library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/tasty-rerun-1.1.5-EGxIClJd6Ql0ebgHin7BQy
data-dir: /usr/share/tasty-rerun
hs-libraries: HStasty-rerun-1.1.5-EGxIClJd6Ql0ebgHin7BQy
depends:
base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d
containers-0.5.6.2-59326c33e30ec8f6afd574cbac625bbb
mtl-2.2.1-3af90341e75ee52dfc4e3143b4e5d219
optparse-applicative-0.12.0.0-502380ae94a714885bdc144e35cee8d2
reducers-3.12.1-acb9ad6ed1a28d86dcd830b6997f7588
split-0.2.2-10f39ee49f650eefddf38af51b65d10a
stm-2.4.4.1-7050c728ed5b2315e2c6b56d8bf9837f
tagged-0.8.2-16a51d8cfafeba080a9011b87265d84b
tasty-0.11.0.2-d0fc9105ad73609e53d856e97c3eac83
transformers-0.4.2.0-81450cd8f86b36eaa8fa0cbaf6efc3a3
haddock-interfaces: /usr/lib/ghc-doc/haddock/tasty-rerun-1.1.5/tasty-rerun.haddock
haddock-html: /usr/share/doc/libghc-tasty-rerun-doc/html/
|