summaryrefslogtreecommitdiff
path: root/testsuite/README
diff options
context:
space:
mode:
authorsimonmar <unknown>2004-01-14 09:28:56 +0000
committersimonmar <unknown>2004-01-14 09:28:56 +0000
commit2514201af01c850b538271ff30875b557a5e4438 (patch)
treec3d5268b9ef09c9c10276edb6a647bbd9ffcf30a /testsuite/README
parent30515067083683f0c98a7ee926069b6e2ac4c6ca (diff)
downloadhaskell-2514201af01c850b538271ff30875b557a5e4438.tar.gz
[project @ 2004-01-14 09:28:56 by simonmar]
While I'm here, add docs for a couple of other pre-defined functions which were missing.
Diffstat (limited to 'testsuite/README')
-rw-r--r--testsuite/README19
1 files changed, 11 insertions, 8 deletions
diff --git a/testsuite/README b/testsuite/README
index 7ef0b73677..017a559cb2 100644
--- a/testsuite/README
+++ b/testsuite/README
@@ -166,14 +166,17 @@ these steps:
There are several pre-defined functions which can be
used in this field:
- normal don't change any options from the defaults
- expect_fail this test is an expected failure
- skip skip this test
- omit_ways(ways) skip this test for certain ways
- only_ways(ways) do this test certain ways only
- set_stdin(file) use a different file for stdin
- exit_code(n) expect an exit code of 'n' from the prog
- extra_run_opts(opts) pass some extra opts to the prog
+ normal don't change any options from the defaults
+ expect_fail this test is an expected failure
+ skip skip this test
+ expect_fail_for(ways) expect failure for certain ways
+ omit_ways(ways) skip this test for certain ways
+ only_ways(ways) do this test certain ways only
+ expect_fail_if_platform(plat)
+ expect failure on a certain platform
+ set_stdin(file) use a different file for stdin
+ exit_code(n) expect an exit code of 'n' from the prog
+ extra_run_opts(opts) pass some extra opts to the prog
you can compose two of these functions together by
saying compose(f,g). For example, to expect an exit