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/concurrent | |
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/concurrent')
-rw-r--r-- | testsuite/tests/concurrent/should_run/all.T | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/concurrent/should_run/all.T b/testsuite/tests/concurrent/should_run/all.T index d770b4d593..b548f57f5a 100644 --- a/testsuite/tests/concurrent/should_run/all.T +++ b/testsuite/tests/concurrent/should_run/all.T @@ -239,7 +239,7 @@ test('conc067', ignore_stdout, compile_and_run, ['']) # omit threaded2, the behaviour of this test is non-deterministic with more # than one CPU. -test('conc068', [ omit_ways(['threaded2']), exit_code(1) ], compile_and_run, ['']) +test('conc068', [ omit_ways(concurrent_ways), exit_code(1) ], compile_and_run, ['']) test('setnumcapabilities001', [ only_ways(['threaded1','threaded2']), |