summaryrefslogtreecommitdiff
path: root/dev-haskell/tasty-rerun
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/tasty-rerun
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/tasty-rerun')
-rw-r--r--dev-haskell/tasty-rerun/Manifest7
-rw-r--r--dev-haskell/tasty-rerun/metadata.xml64
-rw-r--r--dev-haskell/tasty-rerun/tasty-rerun-1.1.5.ebuild32
-rw-r--r--dev-haskell/tasty-rerun/tasty-rerun-1.1.6.ebuild32
4 files changed, 135 insertions, 0 deletions
diff --git a/dev-haskell/tasty-rerun/Manifest b/dev-haskell/tasty-rerun/Manifest
new file mode 100644
index 000000000000..e52b56c7cc65
--- /dev/null
+++ b/dev-haskell/tasty-rerun/Manifest
@@ -0,0 +1,7 @@
+DIST tasty-rerun-1.1.5.tar.gz 5376 SHA256 9877de7602a231fb9cf772c47f9a15ef6764e159ddd96a350a7c16b1a158403e SHA512 becee5c62b425e57666c3cc9b65a7342b1af46e44212ade1360f0cd255cb909cfd9b049d88ff8238940760534479ce077f0e24526359545fff0ab849a0c0d7b7 WHIRLPOOL b254fc3b05c05487e62f049f5ac96a43106a2a03058c5dfa0ba6f15ca8f78737ba51de63c1cb5c0ee1913c6a19d74d6459d0fc1f8611c885be2201edb57011eb
+DIST tasty-rerun-1.1.6.tar.gz 5399 SHA256 ed33270c8a1f1576985e9907087921fd4f8fba19253fe3bfefec2d05f9799d79 SHA512 dc4db9a4dba424d9d948a4e44d4402b17ab363554493a68035ec0d94bfb6e9e2965e8c9c4b519a071707c70eabd7ea70a4f265f32983e35bf0ee64cd67948808 WHIRLPOOL 5c5e2434791a78266a7e584141443f3fe50627447943072df6f74f20f07c76fe15b9563fc85825d48d7837a6b1de584c9d766df9306731a56d86627ba6eb47ab
+EBUILD tasty-rerun-1.1.5.ebuild 1024 SHA256 61a8a6f109c45e13b73a76af4a11c2f4c4cfb6e6c826ffbcbb09d37c1e9fc92c SHA512 f259946c2d3cfe403f34d52ef05a1323b67113cb517aee68ad0bafeef2403cdd42ffc8ebc4bbbe77e50fcf7406706f630c33092e77953a6210a55463cb4c93c1 WHIRLPOOL e449b8ee705ec0e1d5991f8a064a4f2068f06d3a6c1612a9f28fec89755abe6c162333c63e39144e71253f490b9de982598c290722fa4352b2df8f22e6223b3f
+EBUILD tasty-rerun-1.1.6.ebuild 1022 SHA256 e81e9c3324a3a8ff3db3c78fe7a6cbf692107a788f0567657b1bf82e67986af7 SHA512 c8c644925deb41bc6c786fd327cf999a3fbb8061fdc096da1dd29c3d706b4e337ab73f399200ab135306e08cbdeb73e9c9f938a6f31c293fb4f2234c2de1ae3f WHIRLPOOL 892473852cb51ac9a867c7ac5fcbdf5c83e3c76172cc6ca13919abf23aaf1bb8ffca22635c02a93a2478791343426619670405afe277ec69e2bae7ba0e2418c2
+MISC ChangeLog 3552 SHA256 2e1f4a2f2433aba47ebed55c59854f753a3d6ef7a3ecc1c3bc09df09bb65d388 SHA512 32efa58b1cef41cf0e3b5a0a7f902c8c224ee1b6b8ca46d21c1826f34182d7a4f27f3963033b78f0da6e5c4008d313ce3fab81c54b7320de260dad7fc70789a8 WHIRLPOOL dfe210401f2350316ef85b5b35ce5dae6e73b2073485d4225181fc125f68987283d8560189ac3e6de5adf7f5290e001ee7451f9bdf4094c1fa38fe85d112e724
+MISC ChangeLog-2015 1129 SHA256 09c92f75e39725bd74dc3862c962dac2ab17105aa7b6cc581ada1e8ba1569805 SHA512 917209cdd893726dcb15a759e41162737cb1bd1cae91858146f64c9223fa44751f08c2e687cdefb89252c7cb77bb6c0f99fd41fda9061dba05e1ec7c63a965c7 WHIRLPOOL 45e09b80c50a773963049bd215e658133cba4255f2297b5e746fda2e41d1f2c06b97d84a6314f21561d83ef785befd4c2e1967f5394b5c3f8a4caff77ac81f7a
+MISC metadata.xml 2520 SHA256 d3509458ea50b21ab5ce2d8a366ce77e7e161c850ab8f8b1635c32779accd547 SHA512 4cbced2264f235c58c1ebe60937a8ff0c846384be4d53add2c7d3d81927a55e1bf1be9795d94fe2e72ca510f3cfc2fc1b5e1e947eb4a17d2826acb8c275014b6 WHIRLPOOL 330963a12c0c4e4600f96672ae09a48833faabf7e9266c177ae8d46197cff12bc2c9657afa00c9fd42d45dca6b0597cd78412e618c24e669555429d98b110e4f
diff --git a/dev-haskell/tasty-rerun/metadata.xml b/dev-haskell/tasty-rerun/metadata.xml
new file mode 100644
index 000000000000..452f659c0580
--- /dev/null
+++ b/dev-haskell/tasty-rerun/metadata.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </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
+ '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:
+
+ &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 '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.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">ocharles/tasty-rerun</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-haskell/tasty-rerun/tasty-rerun-1.1.5.ebuild b/dev-haskell/tasty-rerun/tasty-rerun-1.1.5.ebuild
new file mode 100644
index 000000000000..3d67e2318b08
--- /dev/null
+++ b/dev-haskell/tasty-rerun/tasty-rerun-1.1.5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Run tests by filtering the tests depending on the result of previous runs"
+HOMEPAGE="https://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.9:=[profile?]
+ >=dev-haskell/tasty-0.10:=[profile?] <dev-haskell/tasty-0.12:=[profile?]
+ >=dev-haskell/transformers-0.3.0.0:=[profile?]
+ >=dev-lang/ghc-7.6.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.16.0
+"
diff --git a/dev-haskell/tasty-rerun/tasty-rerun-1.1.6.ebuild b/dev-haskell/tasty-rerun/tasty-rerun-1.1.6.ebuild
new file mode 100644
index 000000000000..f49889cbe2f4
--- /dev/null
+++ b/dev-haskell/tasty-rerun/tasty-rerun-1.1.6.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Run tests by filtering the tests depending on the result of previous runs"
+HOMEPAGE="https://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.9:=[profile?]
+ >=dev-haskell/tasty-0.10:=[profile?] <dev-haskell/tasty-0.12:=[profile?]
+ >=dev-haskell/transformers-0.3.0.0:=[profile?]
+ >=dev-lang/ghc-7.6.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.16.0
+"