diff options
author | Ben Gamari <ben@well-typed.com> | 2022-02-08 00:20:44 +0000 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2022-02-08 00:20:44 +0000 |
commit | c7f1f968479b150b188dbc2bacd9e39ce3c00b0e (patch) | |
tree | f7b80d3faf5558de4de727c46ea2ab1ab9f0dbd2 | |
parent | ff867c460db9cfc43f5697c8e582f8c1ea4bd572 (diff) | |
download | haskell-wip/runtests-dedup-only.tar.gz |
testsuite: Deduplicate --only flags
wip/runtests-dedup-only
Otherwise the testsuite driver will complain about
unknown tests if you pass a test to `--only` multiple
times.
-rw-r--r-- | testsuite/driver/runtests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py index d2e25eaa19..6983866d5f 100644 --- a/testsuite/driver/runtests.py +++ b/testsuite/driver/runtests.py @@ -121,7 +121,7 @@ if args.test_package_db: config.test_package_db = args.test_package_db if args.only: - config.only = args.only + config.only = set(args.only) config.run_only_some_tests = True if args.way: |