[commit: testsuite] master: Explain skipping compiler-perf tests when debugging is on (14958ae)

git at git.haskell.org git at git.haskell.org
Thu Nov 28 15:55:52 UTC 2013


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/14958ae02b99bafc06288493d186b9313ee8c4b9/testsuite

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

commit 14958ae02b99bafc06288493d186b9313ee8c4b9
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Thu Nov 28 15:56:16 2013 +0000

    Explain skipping compiler-perf tests when debugging is on


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

14958ae02b99bafc06288493d186b9313ee8c4b9
 driver/testlib.py |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/driver/testlib.py b/driver/testlib.py
index bdb91b8..8c8c60d 100644
--- a/driver/testlib.py
+++ b/driver/testlib.py
@@ -291,6 +291,8 @@ def _compiler_stats_num_field( name, opts, field, expecteds ):
     if field in opts.compiler_stats_range_fields:
         framework_fail(name, 'duplicate-numfield', 'Duplicate ' + field + ' num_field check')
 
+    # Compiler performance numbers change when debugging is on, making the results
+    # useless and confusing. Therefore, skip if debugging is on.
     if compiler_debugged():
         skip(name, opts)
 



More information about the ghc-commits mailing list