summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-06-23 13:09:47 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-06-23 13:09:47 +0200
commit310ff99a8c648773056d6fe250524885b7d5ea2f (patch)
treec3075096d9c27867c122c394c21b67ea543bc19d
parent57cc9a391c18977f229d7a5e15d0e9bcb861b684 (diff)
INSTALL: Improved instructions for tests with patterns.
-rw-r--r--INSTALL.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 902e98a9f..e0f7eb344 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -272,9 +272,17 @@ To run with cabal, `cabal test`; to run with stack, `stack
test`.
To run particular tests (pattern-matching on their names), use
-the `-t` option:
+the `-p` option:
- cabal test --test-options='-t markdown'
+ cabal test --test-options='-p markdown'
+
+Or with stack:
+
+ stack test --test-arguments='-p markdown'
+
+It is often helpful to add `-j4` (run tests in parallel)
+and `--hide-successes` (don't clutter output with successes)
+to the test arguments as well.
If you add a new feature to pandoc, please add tests as well, following
the pattern of the existing tests. The test suite code is in