diff mx/commands.py @ 5195:8125c1f6472b

Add DaCapo 1st run as a benchmark group
author Gilles Duboscq <duboscq@ssw.jku.at>
date Thu, 05 Apr 2012 17:11:41 +0200
parents 6fbf12b8e572
children e91f0761c56d
line wrap: on
line diff
--- a/mx/commands.py	Wed Apr 04 09:19:44 2012 +0200
+++ b/mx/commands.py	Thu Apr 05 17:11:41 2012 +0200
@@ -847,9 +847,10 @@
             benchmarks += [sanitycheck.getSPECjvm2008([specjvm], True, 120, 120)]
     
     for test in benchmarks:
-        if not results.has_key(test.group):
-            results[test.group] = {}
-        results[test.group].update(test.bench(vm))
+        for (group, res) in test.bench(vm).items():
+            if not results.has_key(group):
+                results[group] = {};
+            results[group].update(res)
     mx.log(json.dumps(results))
     if resultFile:
         with open(resultFile, 'w') as f: