summaryrefslogtreecommitdiff
path: root/testsuite/driver/testutil.py
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-04-26 12:10:34 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-05-05 05:43:49 -0400
commite9617fbace826b048208c51e47d1552449675d57 (patch)
treea66e5a46e214ccd6c7505f138122840d6b1491da /testsuite/driver/testutil.py
parent101d25fce311237b82580745c321f70e62755719 (diff)
downloadhaskell-e9617fbace826b048208c51e47d1552449675d57.tar.gz
test driver: Make sure RESIDENCY_OPTS is passed for 'all' perf tests
Fixes #19731 ------------------------- Metric Decrease: T11545 Metric Increase: T12545 T15304 -------------------------
Diffstat (limited to 'testsuite/driver/testutil.py')
-rw-r--r--testsuite/driver/testutil.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuite/driver/testutil.py b/testsuite/driver/testutil.py
index 064fd8086f..bcea98bd17 100644
--- a/testsuite/driver/testutil.py
+++ b/testsuite/driver/testutil.py
@@ -78,7 +78,11 @@ def lndir(srcdir: Path, dstdir: Path):
# All possible test metric strings.
def testing_metrics():
- return ['bytes allocated', 'peak_megabytes_allocated', 'max_bytes_used']
+ return { 'bytes allocated', 'peak_megabytes_allocated', 'max_bytes_used' }
+
+# Metrics which are testing residency information
+def residency_testing_metrics():
+ return { 'peak_megabytes_allocated', 'max_bytes_used' }
# On Windows, os.symlink is not defined with Python 2.7, but is in Python 3
# when using msys2, as GHC does. Unfortunately, only Administrative users have