diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-04-06 21:50:24 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-06-12 08:20:25 -0400 |
commit | 55b5bb14b9a2487bab80411776ae34c143eddb1a (patch) | |
tree | 4e7c8aa223832e7f9004c4863094505b4c32c91e /testsuite/driver | |
parent | 329dcd7a59e7d46cb5110e1dfb9f8b7f50f0e3a2 (diff) | |
download | haskell-55b5bb14b9a2487bab80411776ae34c143eddb1a.tar.gz |
testsuite: Fix omit_ways usage
omit_ways expects a list but this was broken in several cases.
Diffstat (limited to 'testsuite/driver')
-rw-r--r-- | testsuite/driver/testlib.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index 7284b80380..442d90da8a 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -274,6 +274,7 @@ def omit_ways( ways ): return lambda name, opts, w=ways: _omit_ways( name, opts, w ) def _omit_ways( name, opts, ways ): + assert ways.__class__ is list opts.omit_ways += ways # ----- |