diff options
| author | Roland Senn <rsx@bluewin.ch> | 2019-10-07 18:01:19 +0200 |
|---|---|---|
| committer | Roland Senn <rsx@bluewin.ch> | 2019-11-30 20:33:49 +0100 |
| commit | f8cfe81aed556d00eac58e3ad0f5e27c503b636a (patch) | |
| tree | 56d39877cc3dd063e116ec5ea3702b9c797d822e /compiler/utils/TrieMap.hs | |
| parent | 3a96a0b6db6a32457ae2f91bb711c2481c767656 (diff) | |
| download | haskell-f8cfe81aed556d00eac58e3ad0f5e27c503b636a.tar.gz | |
Improve tests for #17171
While backporting MR !1806 to 8.8.2 (!1885) I learnt the following:
* Tests with `expect_fail` do not compare `*.stderr` output files. So a test using `expect_fail` will not detect future regressions on the `stderr` output.
* To compare the `*.stderr` output files, I have to use the `exit_code(n)` function.
* When a release is made, tests with `makefile_test` are converted to use `run_command`.
* For the test `T17171a` the return code is `1` when running `makefile_test`, however it's `2` when running `run_command`.
Therefore I decided:
* To improve my tests for #17171
* To change test T17171a from `expect_fail` to `exit_code(2)`
* To change both tests from `makefile_test` to `run_command`
Diffstat (limited to 'compiler/utils/TrieMap.hs')
0 files changed, 0 insertions, 0 deletions
