Mercurial > hg > truffle
diff mx/commands.py @ 5430:27536e9982fa
added execution of DaCapo_pmd by [server|client]+[product|fastdebug] to the gate
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 23 May 2012 12:06:44 +0200 |
parents | 206df7b3e022 |
children | 0bd1ba69db2a |
line wrap: on
line diff
--- a/mx/commands.py Tue May 22 17:45:31 2012 +0200 +++ b/mx/commands.py Wed May 23 12:06:44 2012 +0200 @@ -816,6 +816,20 @@ t = Task('BuildHotSpotVarieties') buildvms(['--vms', 'client,server', '--builds', 'fastdebug,product']) tasks.append(t.stop()) + + for vmbuild in ['product', 'fastdebug']: + global _vmbuild + _vmbuild = vmbuild + for theVm in ['client', 'server']: + global _vm + _vm = theVm + # TODO: remove once regression in fastdebug-server has been fixed + if vmbuild == 'fastdebug' and theVm == 'server': + continue + + t = Task('DaCapo_pmd:' + theVm + ':' + vmbuild) + dacapo(['pmd']) + tasks.append(t.stop()) except KeyboardInterrupt: total.abort(1)