[commit: ghc] master: testsuite: Print which ways we are going to run (2500588)

git at git.haskell.org git at git.haskell.org
Thu Dec 13 04:27:30 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/250058891a52cb790bc53ab7cf947a8fb2837466/ghc

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

commit 250058891a52cb790bc53ab7cf947a8fb2837466
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Dec 12 16:41:49 2018 -0500

    testsuite: Print which ways we are going to run


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

250058891a52cb790bc53ab7cf947a8fb2837466
 testsuite/driver/runtests.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py
index 02d00f0..55b13df 100644
--- a/testsuite/driver/runtests.py
+++ b/testsuite/driver/runtests.py
@@ -245,6 +245,9 @@ if config.timeout == -1:
     config.timeout = int(read_no_crs(config.top + '/timeout/calibrate.out'))
 
 print('Timeout is ' + str(config.timeout))
+print('Known ways: ' + ', '.join(config.other_ways))
+print('Run ways: ' + ', '.join(config.run_ways))
+print('Compile ways: ' + ', '.join(config.compile_ways))
 
 # Try get allowed performance changes from the git commit.
 try:
@@ -252,7 +255,7 @@ try:
 except subprocess.CalledProcessError:
     print('Failed to get allowed metric changes from the HEAD git commit message.')
 
-print(len(config.allowed_perf_changes))
+print('Allowing performance changes in: ' + ', '.join(config.allowed_perf_changes.keys()))
 
 # -----------------------------------------------------------------------------
 # The main dude



More information about the ghc-commits mailing list