diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-04-26 12:10:34 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-05-05 05:43:49 -0400 |
commit | e9617fbace826b048208c51e47d1552449675d57 (patch) | |
tree | a66e5a46e214ccd6c7505f138122840d6b1491da /testsuite/driver/testutil.py | |
parent | 101d25fce311237b82580745c321f70e62755719 (diff) | |
download | haskell-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.py | 6 |
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 |