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/metadata.xml
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/metadata.xml')
-rw-r--r--dev-haskell/tasty-rerun/metadata.xml61
1 files changed, 61 insertions, 0 deletions
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>