summaryrefslogtreecommitdiff
path: root/dev-haskell/tasty-rerun
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-haskell/tasty-rerun
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-haskell/tasty-rerun')
-rw-r--r--dev-haskell/tasty-rerun/Manifest1
-rw-r--r--dev-haskell/tasty-rerun/metadata.xml62
-rw-r--r--dev-haskell/tasty-rerun/tasty-rerun-1.1.18.ebuild34
3 files changed, 97 insertions, 0 deletions
diff --git a/dev-haskell/tasty-rerun/Manifest b/dev-haskell/tasty-rerun/Manifest
new file mode 100644
index 000000000000..d9b0274482d1
--- /dev/null
+++ b/dev-haskell/tasty-rerun/Manifest
@@ -0,0 +1 @@
+DIST tasty-rerun-1.1.18.tar.gz 6388 BLAKE2B 795cfa825ae49e5a91e8b25ebb1910092f2927484b52500048740b95c2511981a16bc5202182cd18e8d85676d21a8f956183508be2c9eb1257427c6328fee550 SHA512 82672a8d2f37a56e9867bb6fa2b8c79dc40869262a1853b51067e9cf463aef78c4aa3d69cda32a06c3d226ef18c951789845e57a82cbad880f29d5415a659ced
diff --git a/dev-haskell/tasty-rerun/metadata.xml b/dev-haskell/tasty-rerun/metadata.xml
new file mode 100644
index 000000000000..f3d4f64ceb88
--- /dev/null
+++ b/dev-haskell/tasty-rerun/metadata.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/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>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-haskell/tasty-rerun/tasty-rerun-1.1.18.ebuild b/dev-haskell/tasty-rerun/tasty-rerun-1.1.18.ebuild
new file mode 100644
index 000000000000..52ced4a378e6
--- /dev/null
+++ b/dev-haskell/tasty-rerun/tasty-rerun-1.1.18.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.6.7.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Rerun only tests which failed in a previous test run"
+HOMEPAGE="https://github.com/ocharles/tasty-rerun"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/mtl-2.1.2:=[profile?]
+ >=dev-haskell/optparse-applicative-0.6:=[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-1.2:=[profile?] <dev-haskell/tasty-1.5:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.1.3
+"
+
+CABAL_CHDEPS=(
+ 'base >=4.6 && <4.15' 'base >=4.6'
+)