[commit: ghc] wip/perf-testsuite: Change output of comparison tool to resemble nofib (1376834)

git at git.haskell.org git at git.haskell.org
Sat Sep 2 21:46:41 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/perf-testsuite
Link       : http://ghc.haskell.org/trac/ghc/changeset/1376834e7f86731bdffc27e4ba13a01b649f32f1/ghc

>---------------------------------------------------------------

commit 1376834e7f86731bdffc27e4ba13a01b649f32f1
Author: Jared Weakly <jweakly at pdx.edu>
Date:   Thu Aug 10 01:02:21 2017 -0700

    Change output of comparison tool to resemble nofib


>---------------------------------------------------------------

1376834e7f86731bdffc27e4ba13a01b649f32f1
 testsuite/driver/runtests.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py
index 68d86a0..f4fcf43 100644
--- a/testsuite/driver/runtests.py
+++ b/testsuite/driver/runtests.py
@@ -114,7 +114,9 @@ if args.verbose:
 config.skip_perf_tests = args.skip_perf_tests
 config.only_perf_tests = args.only_perf_tests
 config.use_git_notes = args.use_git_notes
-config.test_env = args.test_env
+
+if args.test_env:
+        config.test_env = args.test_env
 
 config.cygwin = False
 config.msys = False
@@ -328,8 +330,6 @@ else:
     # Write our accumulated metrics into the git notes for this commit.
     if config.use_git_notes:
             note = subprocess.check_output(["git","notes","--ref=perf","append","-m", "\n".join(config.accumulate_metrics)])
-            # v-- This is in a nonsensical area. It should be happening before all of the tests are even run.
-            # parse_git_notes('perf') # Should it even be happening in the test-driver logic anymore?
 
     # This here is loading up all of the git notes into memory.
     # It's most likely in the wrong spot and I haven't fully fleshed out



More information about the ghc-commits mailing list