[commit: testsuite] master: Summarily skip compiler_perf tests when DEBUG is on (715e313)
git at git.haskell.org
git at git.haskell.org
Thu Nov 28 14:19:14 UTC 2013
Repository : ssh://git@git.haskell.org/testsuite
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/715e313d84f4e919e12c6bba6cd646e488cffa74/testsuite
>---------------------------------------------------------------
commit 715e313d84f4e919e12c6bba6cd646e488cffa74
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Thu Nov 28 14:17:35 2013 +0000
Summarily skip compiler_perf tests when DEBUG is on
by ensuring this in the test runner.
>---------------------------------------------------------------
715e313d84f4e919e12c6bba6cd646e488cffa74
driver/testlib.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/driver/testlib.py b/driver/testlib.py
index ed7d02f..bdb91b8 100644
--- a/driver/testlib.py
+++ b/driver/testlib.py
@@ -291,6 +291,9 @@ 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')
+ if compiler_debugged():
+ skip(name, opts)
+
for (b, expected, dev) in expecteds:
if b:
opts.compiler_stats_range_fields[field] = (expected, dev)
More information about the ghc-commits
mailing list