[commit: ghc] wip/perf-testsuite: Change stuff in testlib.py (563825e)
git at git.haskell.org
git at git.haskell.org
Tue Aug 29 15:12:19 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/perf-testsuite
Link : http://ghc.haskell.org/trac/ghc/changeset/563825e5151167f3e1c4350ad30bbb9773fb11d9/ghc
>---------------------------------------------------------------
commit 563825e5151167f3e1c4350ad30bbb9773fb11d9
Author: Jared Weakly <jweakly at pdx.edu>
Date: Mon Aug 28 17:26:30 2017 -0700
Change stuff in testlib.py
>---------------------------------------------------------------
563825e5151167f3e1c4350ad30bbb9773fb11d9
testsuite/driver/testlib.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index d57dbf9..042e330 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -1040,6 +1040,11 @@ def multimod_compile_and_run( name, way, top_mod, extra_hc_opts ):
def multi_compile_and_run( name, way, top_mod, extra_mods, extra_hc_opts ):
return compile_and_run__( name, way, top_mod, extra_mods, extra_hc_opts)
+def stats( name, way, stats_file ):
+ """This function is used by some performance tests"""
+ opts = getTestOpts()
+ return checkStats(name, way, stats_file, opts.stats_range_fields)
+
# -----------------------------------------------------------------------------
# Check -t stats info
More information about the ghc-commits
mailing list