... | ... | @@ -57,6 +57,10 @@ For adding any test case, follow these guide lines and then refer to the more sp |
|
|
(e.g. absolute pathnames are removed, whitespace
|
|
|
differences are ignored, etc.)
|
|
|
|
|
|
- **`T.ghc.stderr`**
|
|
|
|
|
|
The standard error output of the compiler with **warn_and_run** test function.
|
|
|
|
|
|
3. Edit all.T in the relevant directory and add a line for the test case. The line is always of the form
|
|
|
|
|
|
```
|
... | ... | @@ -411,6 +415,10 @@ file. The possible test functions are: |
|
|
|
|
|
*\<extra_hc_opts\>*: arguments to pass to GHC when it compiles your test case.
|
|
|
|
|
|
- **warn_and_run**
|
|
|
|
|
|
This is a variant of **compile(and_run)** test function, which checks both the compiler output (like **compile**) and runtime output (like **compile_and_run**).
|
|
|
|
|
|
- **multimod_compile**, **multimod_compile_fail**, **multimod_compile_and_run**:
|
|
|
|
|
|
Compile a multi-module program using the GHC `--make` build system.
|
... | ... | |