summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/tasty-rerun
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-haskell/tasty-rerun')
-rw-r--r--dev-haskell/tasty-rerun/Manifest4
-rw-r--r--dev-haskell/tasty-rerun/metadata.xml61
-rw-r--r--dev-haskell/tasty-rerun/tasty-rerun-1.1.1.ebuild34
-rw-r--r--dev-haskell/tasty-rerun/tasty-rerun-1.1.2.ebuild34
-rw-r--r--dev-haskell/tasty-rerun/tasty-rerun-1.1.3.ebuild40
-rw-r--r--dev-haskell/tasty-rerun/tasty-rerun-1.1.4.ebuild33
6 files changed, 206 insertions, 0 deletions
diff --git a/dev-haskell/tasty-rerun/Manifest b/dev-haskell/tasty-rerun/Manifest
new file mode 100644
index 000000000000..85d5b212c207
--- /dev/null
+++ b/dev-haskell/tasty-rerun/Manifest
@@ -0,0 +1,4 @@
+DIST tasty-rerun-1.1.1.tar.gz 5283 SHA256 e8b2fdfe991cc2b2c7c69d0a49da72b411d5982b140516fdb40aaabd0e71f2f5 SHA512 697a7c57a461cc278175488e49d31d6c106d06930864cb85e7a3d6628eea2e1280d978539c3110af37e302c7743a3a7b19633d2105122de416615558567f385f WHIRLPOOL 984abeb51ae79149f0d16ae83757def3b3754efbdcff7810d2db2449070a2e3686074422944f9d0e10068cc55c95dc3c3d9bd3971413bb0d037c11698f7e2ec4
+DIST tasty-rerun-1.1.2.tar.gz 5310 SHA256 2d929ac12039df136e4abd36ccb990c153f9f231f79bb6238f2a88e61335fd6d SHA512 558dea48e7dc4a56185db1d5a2f0e0238abbbb964eccffe5035e81d67d5ea84d409f3cbbdfebaa8a1f5de17eff305ecf7a65117bce39fa78c61d8bd211932937 WHIRLPOOL 33a88422839d2b74ad1607626b7ed6561a8a22509519eb7a52edfe0c02bd0fce32d1e27a8bf5ec926e99a7bb54421a97ece655f5f490765d10d6d88b22eb3d4a
+DIST tasty-rerun-1.1.3.tar.gz 5338 SHA256 4332e08b7fc4c1171d0b0f29f3d989864e568cd54962fc9a47f83c3f0f1cf5dd SHA512 778ccd83a8e827d483bc2abddb55423e3444f8358ddb80953698d296624ddd3aacb6726f68cc844816576ae0e965f9372dcbede5a4d463ae8d427e17abc1e50c WHIRLPOOL 3ecc436b754dd1d954b70b531c78428e18bc2f4694058c09e3245f4efb2a2acbe477054b2c5de4563af5cfe0a7a86a848f351f9e18ee697b936e6af974a1b710
+DIST tasty-rerun-1.1.4.tar.gz 5372 SHA256 1561eea5f795144b570859a65d602c931b56ab7da8795a59b84283f79c5c15b0 SHA512 c3c3f4104a84fb40dd33d332e4bdbdbed3cea31ba52743026f233f4ba29af5e5102683a2750bb7adcc568a7b78bf51d7b2f18518535fdf233fb62b7fdff38f61 WHIRLPOOL 3e62b22106f5268cf26044e20a731a1b3c182d204013125beca4e208324ab16f0f45a50e485c875a290ed42ebf3722bfbfd0cd8328ed2fe0298e21dbce34af16
diff --git a/dev-haskell/tasty-rerun/metadata.xml b/dev-haskell/tasty-rerun/metadata.xml
new file mode 100644
index 000000000000..537300adc406
--- /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>
+ <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.1.ebuild b/dev-haskell/tasty-rerun/tasty-rerun-1.1.1.ebuild
new file mode 100644
index 000000000000..545bfe43be1c
--- /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
+# $Id$
+
+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
+"
diff --git a/dev-haskell/tasty-rerun/tasty-rerun-1.1.2.ebuild b/dev-haskell/tasty-rerun/tasty-rerun-1.1.2.ebuild
new file mode 100644
index 000000000000..545bfe43be1c
--- /dev/null
+++ b/dev-haskell/tasty-rerun/tasty-rerun-1.1.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+"
diff --git a/dev-haskell/tasty-rerun/tasty-rerun-1.1.3.ebuild b/dev-haskell/tasty-rerun/tasty-rerun-1.1.3.ebuild
new file mode 100644
index 000000000000..e8488b12131f
--- /dev/null
+++ b/dev-haskell/tasty-rerun/tasty-rerun-1.1.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.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.10:=[profile?] <dev-haskell/tasty-0.11:=[profile?]
+ >=dev-haskell/transformers-0.3.0.0:=[profile?]
+ >=dev-lang/ghc-7.6.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.16.0
+"
+
+src_prepare() {
+ cabal_chdeps \
+ 'base >=4.6 && <4.8' 'base >=4.6'
+ sed -e 's@LANGUAGE @LANGUAGE FlexibleContexts, @' \
+ -i "${S}/src/Test/Tasty/Ingredients/Rerun.hs" || die
+}
diff --git a/dev-haskell/tasty-rerun/tasty-rerun-1.1.4.ebuild b/dev-haskell/tasty-rerun/tasty-rerun-1.1.4.ebuild
new file mode 100644
index 000000000000..f773b9fe4a9a
--- /dev/null
+++ b/dev-haskell/tasty-rerun/tasty-rerun-1.1.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.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.9:=[profile?]
+ >=dev-haskell/tasty-0.10:=[profile?] <dev-haskell/tasty-0.11:=[profile?]
+ >=dev-haskell/transformers-0.3.0.0:=[profile?]
+ >=dev-lang/ghc-7.6.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.16.0
+"