summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Vershilov <qnikst@gentoo.org>2014-03-12 21:00:05 +0000
committerAlexander Vershilov <qnikst@gentoo.org>2014-03-12 21:00:05 +0000
commit95c0e6cadd7833c81864ce396a2056c8898a0f56 (patch)
tree776155750a2b644025038f7dd7a04ea2826c544f /dev-haskell
parentarm stable, bug #503784 (diff)
downloadhistorical-95c0e6cadd7833c81864ce396a2056c8898a0f56.tar.gz
historical-95c0e6cadd7833c81864ce396a2056c8898a0f56.tar.bz2
historical-95c0e6cadd7833c81864ce396a2056c8898a0f56.zip
new package
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xEAD50D64D8D3571A!
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/tasty-rerun/ChangeLog9
-rw-r--r--dev-haskell/tasty-rerun/Manifest20
-rw-r--r--dev-haskell/tasty-rerun/metadata.xml61
-rw-r--r--dev-haskell/tasty-rerun/tasty-rerun-1.1.1.ebuild34
4 files changed, 124 insertions, 0 deletions
diff --git a/dev-haskell/tasty-rerun/ChangeLog b/dev-haskell/tasty-rerun/ChangeLog
new file mode 100644
index 000000000000..52965a03620c
--- /dev/null
+++ b/dev-haskell/tasty-rerun/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-haskell/tasty-rerun
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/tasty-rerun/ChangeLog,v 1.1 2014/03/12 21:00:04 qnikst Exp $
+
+*tasty-rerun-1.1.1 (12 Mar 2014)
+
+ 12 Mar 2014; Alexander Vershilov <qnikst@gentoo.org> +metadata.xml,
+ +tasty-rerun-1.1.1.ebuild:
+ new package
diff --git a/dev-haskell/tasty-rerun/Manifest b/dev-haskell/tasty-rerun/Manifest
new file mode 100644
index 000000000000..361ba54465b5
--- /dev/null
+++ b/dev-haskell/tasty-rerun/Manifest
@@ -0,0 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST tasty-rerun-1.1.1.tar.gz 5283 SHA256 e8b2fdfe991cc2b2c7c69d0a49da72b411d5982b140516fdb40aaabd0e71f2f5 SHA512 697a7c57a461cc278175488e49d31d6c106d06930864cb85e7a3d6628eea2e1280d978539c3110af37e302c7743a3a7b19633d2105122de416615558567f385f WHIRLPOOL 984abeb51ae79149f0d16ae83757def3b3754efbdcff7810d2db2449070a2e3686074422944f9d0e10068cc55c95dc3c3d9bd3971413bb0d037c11698f7e2ec4
+EBUILD tasty-rerun-1.1.1.ebuild 1153 SHA256 946674d41375c65ef40cd97b8557b88fb17498c7a8145053b429ff677cd31558 SHA512 773a9074589437b11fee42a5f7d1425a3c9e7aaa4f64d4cdc95e41cbd83a694383d69b601eeff96c12188fd9e452fae2d9b700ed52ebb698a16b77e499ea7a69 WHIRLPOOL 7b602d811ebbcd208f3e8e77803fc0f48c7bb96377610821ac7c114dfb970fe1ba6a3d517d0d531d301069900927ddd5c7a6903f22f2fd6431db65431f0aa512
+MISC ChangeLog 366 SHA256 88238fc28d9024dbe5b01b39315bb9a9271980f26303433bd6ae07635788bbd9 SHA512 e539894ef65d4b4389a6a15f529d0eb490cb970b0c540ce55c04bd2129432ba317e87ec2ee5a900188f359d7f6aee40e8b0cecaae15b6fbb5f3396117bd2c77e WHIRLPOOL 655b7d279e513c9bce22103a5082998c9f6d28bdedd7a4116c33a49e3703c684992e75cf195dce17b8e7318ff6b4709c9572f776f2f24eb4612cb8142528bcda
+MISC metadata.xml 2436 SHA256 7747e45e0b4ca96679dbe48b5a34120d88ebe17730f9003bec973caf565c6c05 SHA512 2442f106397891048f2c40691d79d591eae230bbb20805bc446a26bacf8659dc3d44f7c687da47977bff909a9a604fcdc1d6e0b79611d5673a2c14c70ca3554b WHIRLPOOL af364124860640364fb707c07708e707c251b1f79cf6dd53147d28e21a5635125ab9d98f98a0338587d722e70bf68a621e0f63592255bfc5b95f43b4b9ee8a66
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQF8BAEBCABmBQJTIMrVXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwMTlGQTEwRTVCMUJCNjdFRDM5Qzg3RjdF
+QUQ1MEQ2NEQ4RDM1NzFBAAoJEOrVDWTY01caCVkIAIpdLk/Tgw5cM48dDQBj6Fqs
+V2yS5m/ICM5dEM8L3FyWhWX4+oxb07LBh7J+dOHjBzn3h90a0S4thGP30bmQfpR+
+TJ/ZeTqrxBsFo90vV4wVeizOq6p3cBJ/0/y3d7jMLQqniaPccfPujAjgd+jmHX3q
+gSdbSpW6vTo9I3JRc6nz67ZXIGeaqVpoBuOvWjG8NNjc0HV5Ghwu7uuwmYPDAE2h
+bCQzeOwl+WmiPv/tabXoqS4kx6io8EAWMrWThU1z60bFOxp6D0kC66L/M2hfrAq2
+I4aYQR6S4k/2aQXw9igZmcVQxVlfdmM5gMwUL1nZs7wMUu8hX6lI4bmbt6N/Ut4=
+=bMi3
+-----END PGP SIGNATURE-----
diff --git a/dev-haskell/tasty-rerun/metadata.xml b/dev-haskell/tasty-rerun/metadata.xml
new file mode 100644
index 000000000000..dd9a8ef5a8e3
--- /dev/null
+++ b/dev-haskell/tasty-rerun/metadata.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>haskell@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ 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
+ &#39;Tasty.Ingredient&#39;s, &#39;rerunningTests&#39; adds the ability for all of these
+ ingredients to run against a filtered test tree. This transformer can be
+ applied as follows:
+
+ &gt; import Test.Tasty
+ &gt; import Test.Tasty.Runners
+ &gt;
+ &gt; main :: IO ()
+ &gt; main =
+ &gt; defaultMainWithIngredients
+ &gt; [ rerunningTests [ listingTests, consoleTestReporter ] ]
+ &gt; tests
+ &gt;
+ &gt; tests :: TestTree
+ &gt; 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 &#39;Tasty.TestTree&#39; 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.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/tasty-rerun/tasty-rerun-1.1.1.ebuild b/dev-haskell/tasty-rerun/tasty-rerun-1.1.1.ebuild
new file mode 100644
index 000000000000..1a65e1a00be8
--- /dev/null
+++ b/dev-haskell/tasty-rerun/tasty-rerun-1.1.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/tasty-rerun/tasty-rerun-1.1.1.ebuild,v 1.1 2014/03/12 21:00:04 qnikst Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.6.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Run tests by filtering the test tree depending on the result of previous test
+runs"
+HOMEPAGE="http://github.com/ocharles/tasty-rerun"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/mtl-2.1.2:=[profile?]
+ >=dev-haskell/optparse-applicative-0.6:=[profile?]
+ >=dev-haskell/reducers-3.10.1:=[profile?]
+ >=dev-haskell/split-0.1:=[profile?] <dev-haskell/split-0.3:=[profile?]
+ >=dev-haskell/stm-2.4.2:=[profile?]
+ >=dev-haskell/tagged-0.7:=[profile?] <dev-haskell/tagged-0.8:=[profile?]
+ >=dev-haskell/tasty-0.8:=[profile?] <dev-haskell/tasty-0.9:=[profile?]
+ >=dev-haskell/transformers-0.3.0.0:=[profile?]
+ >=dev-lang/ghc-7.6.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.16.0
+"