summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-04-09 11:06:51 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-04-10 05:33:03 -0400
commitd39a2b243b53b5c10895f8b56f1d7e2749c99a4b (patch)
tree351e4de2e92cececd3e6f0e3fb48703d1a1a6d62
parent94d48ec9fe45672f1ade2722fef709d3eac93e66 (diff)
downloadhaskell-d39a2b243b53b5c10895f8b56f1d7e2749c99a4b.tar.gz
tests: Allow --skip-perf-tests/--only-perf-tests to be used with --ignore-perf-failures
-rw-r--r--testsuite/driver/runtests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py
index d4425b5da5..39256aee5f 100644
--- a/testsuite/driver/runtests.py
+++ b/testsuite/driver/runtests.py
@@ -76,7 +76,7 @@ parser.add_argument("--perf-baseline", type=GitRef, metavar='COMMIT', help="Base
parser.add_argument("--test-package-db", dest="test_package_db", action="append", help="Package db providing optional packages used by the testsuite.")
perf_group.add_argument("--skip-perf-tests", action="store_true", help="skip performance tests")
perf_group.add_argument("--only-perf-tests", action="store_true", help="Only do performance tests")
-perf_group.add_argument("--ignore-perf-failures", choices=['increases','decreases','all'],
+parser.add_argument("--ignore-perf-failures", choices=['increases','decreases','all'],
help="Do not fail due to out-of-tolerance perf tests")
args = parser.parse_args()