diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-06-13 20:21:03 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-06-15 23:34:25 -0400 |
commit | 57b718481d5363ab33df4c7814f74897418f79d7 (patch) | |
tree | 331ed2714167b2ea5722b0387d51e957329f40e1 /testsuite/tests/roles/should_compile/all.T | |
parent | ca721193fc71c065036deecfb9d4274fbfc6850d (diff) | |
download | haskell-57b718481d5363ab33df4c7814f74897418f79d7.tar.gz |
testsuite: Add assertions that way lists are in fact lists
Previously there were a few cases where operations like `omit_ways`
were incorrectly passed a single way (e.g. `omit_ways('threaded2')`).
This won't work as the author expected.
Diffstat (limited to 'testsuite/tests/roles/should_compile/all.T')
-rw-r--r-- | testsuite/tests/roles/should_compile/all.T | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/tests/roles/should_compile/all.T b/testsuite/tests/roles/should_compile/all.T index 064202e73f..1e8599eaf3 100644 --- a/testsuite/tests/roles/should_compile/all.T +++ b/testsuite/tests/roles/should_compile/all.T @@ -1,12 +1,12 @@ setTestOpts(normalise_version('base','ghc-prim')) -test('Roles1', only_ways('normal'), compile, ['-ddump-tc -fprint-explicit-foralls -dsuppress-uniques']) -test('Roles2', only_ways('normal'), compile, ['-ddump-tc -fprint-explicit-foralls -dsuppress-uniques']) -test('Roles3', only_ways('normal'), compile, ['-ddump-tc -dsuppress-uniques']) -test('Roles4', only_ways('normal'), compile, ['-ddump-tc -dsuppress-uniques']) -test('Roles13', only_ways('normal'), compile, ['-ddump-simpl -dsuppress-uniques']) -test('Roles14', only_ways('normal'), compile, ['-ddump-tc -dsuppress-uniques']) -test('T8958', [normalise_fun(normalise_errmsg), only_ways('normal')], compile, ['-ddump-tc -dsuppress-uniques -fprint-typechecker-elaboration']) +test('Roles1', only_ways(['normal']), compile, ['-ddump-tc -fprint-explicit-foralls -dsuppress-uniques']) +test('Roles2', only_ways(['normal']), compile, ['-ddump-tc -fprint-explicit-foralls -dsuppress-uniques']) +test('Roles3', only_ways(['normal']), compile, ['-ddump-tc -dsuppress-uniques']) +test('Roles4', only_ways(['normal']), compile, ['-ddump-tc -dsuppress-uniques']) +test('Roles13', only_ways(['normal']), compile, ['-ddump-simpl -dsuppress-uniques']) +test('Roles14', only_ways(['normal']), compile, ['-ddump-tc -dsuppress-uniques']) +test('T8958', [normalise_fun(normalise_errmsg), only_ways(['normal'])], compile, ['-ddump-tc -dsuppress-uniques -fprint-typechecker-elaboration']) test('T10263', normal, compile, ['']) test('T9204b', [], multimod_compile, ['T9204b', '-v0']) test('T14101', normal, compile, ['']) |