summaryrefslogtreecommitdiff
path: root/hadrian/doc
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-02-24 17:22:10 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-02-26 15:10:09 -0500
commit25e2458ee9e8007687c165fe6b27adf91f405ed0 (patch)
tree745eab5be4713b0f2a803155fbffe5e6e2f51ae1 /hadrian/doc
parent7dc54873c0768ad3234c40300ae20e4f1e847bdd (diff)
downloadhaskell-25e2458ee9e8007687c165fe6b27adf91f405ed0.tar.gz
hadrian: Add --broken-test flag
This exposes the flag of the same name supported by the testsuite driver.
Diffstat (limited to 'hadrian/doc')
-rw-r--r--hadrian/doc/testsuite.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/hadrian/doc/testsuite.md b/hadrian/doc/testsuite.md
index 12ad4cb87c..65202dc038 100644
--- a/hadrian/doc/testsuite.md
+++ b/hadrian/doc/testsuite.md
@@ -131,6 +131,16 @@ build test --test-speed=normal
build test --test-speed=fast
```
+## Considering tests to be broken
+
+Sometimes it is necessary to mark tests as broken in a particular test
+environment (e.g. a particular Linux distribution). While usually one would
+want to declare this in the test definition using the `expect_broken` modifier,
+this is sometimes not possible.
+
+For these cases one can use Hadrian's `--broken-test` flag to tell the
+testsuite driver to consider a test to be broken during the testsuite run.
+
## Test ways
You can specify which test ways to use using `--test-way=<way>`,