Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
5429:142237644367 | 5430:27536e9982fa |
---|---|
814 # Prevent Graal modifications from breaking the standard builds | 814 # Prevent Graal modifications from breaking the standard builds |
815 if args.buildNative and args.buildNonGraal: | 815 if args.buildNative and args.buildNonGraal: |
816 t = Task('BuildHotSpotVarieties') | 816 t = Task('BuildHotSpotVarieties') |
817 buildvms(['--vms', 'client,server', '--builds', 'fastdebug,product']) | 817 buildvms(['--vms', 'client,server', '--builds', 'fastdebug,product']) |
818 tasks.append(t.stop()) | 818 tasks.append(t.stop()) |
819 | |
820 for vmbuild in ['product', 'fastdebug']: | |
821 global _vmbuild | |
822 _vmbuild = vmbuild | |
823 for theVm in ['client', 'server']: | |
824 global _vm | |
825 _vm = theVm | |
826 # TODO: remove once regression in fastdebug-server has been fixed | |
827 if vmbuild == 'fastdebug' and theVm == 'server': | |
828 continue | |
829 | |
830 t = Task('DaCapo_pmd:' + theVm + ':' + vmbuild) | |
831 dacapo(['pmd']) | |
832 tasks.append(t.stop()) | |
819 | 833 |
820 except KeyboardInterrupt: | 834 except KeyboardInterrupt: |
821 total.abort(1) | 835 total.abort(1) |
822 | 836 |
823 except BaseException as e: | 837 except BaseException as e: |