Mercurial > hg > graal-jvmci-8
comparison mx/commands.py @ 5034:5733884ef819
Fix python warning
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 06 Mar 2012 19:17:52 +0100 |
parents | d7ecce178ad2 |
children | 6bc165b0fdcd |
comparison
equal
deleted
inserted
replaced
5033:d7ecce178ad2 | 5034:5733884ef819 |
---|---|
659 tasks.append(t.stop()) | 659 tasks.append(t.stop()) |
660 | 660 |
661 t = Task('BuildJava') | 661 t = Task('BuildJava') |
662 build(['--no-native']) | 662 build(['--no-native']) |
663 tasks.append(t.stop()) | 663 tasks.append(t.stop()) |
664 | 664 global _jacoco |
665 for vmbuild in ['fastdebug', 'product']: | 665 for vmbuild in ['fastdebug', 'product']: |
666 global _vmbuild | 666 global _vmbuild |
667 _vmbuild = vmbuild | 667 _vmbuild = vmbuild |
668 | 668 |
669 if args.buildNative: | 669 if args.buildNative: |
674 t = Task('BootstrapWithSystemAssertions:' + vmbuild) | 674 t = Task('BootstrapWithSystemAssertions:' + vmbuild) |
675 vm(['-esa', '-version']) | 675 vm(['-esa', '-version']) |
676 tasks.append(t.stop()) | 676 tasks.append(t.stop()) |
677 | 677 |
678 if vmbuild == 'product' and args.jacocout is not None: | 678 if vmbuild == 'product' and args.jacocout is not None: |
679 global _jacoco | |
680 _jacoco = 'on' | 679 _jacoco = 'on' |
681 | 680 |
682 t = Task('UnitTests:' + vmbuild) | 681 t = Task('UnitTests:' + vmbuild) |
683 unittest([]) | 682 unittest([]) |
684 tasks.append(t.stop()) | 683 tasks.append(t.stop()) |
685 | 684 |
686 if vmbuild == 'product' and args.jacocout is not None: | 685 if vmbuild == 'product' and args.jacocout is not None: |
687 global _jacoco | |
688 _jacoco = 'append' | 686 _jacoco = 'append' |
689 | 687 |
690 t = Task('JavaTesterTests:' + vmbuild) | 688 t = Task('JavaTesterTests:' + vmbuild) |
691 jtt([]) | 689 jtt([]) |
692 tasks.append(t.stop()) | 690 tasks.append(t.stop()) |
693 | 691 |
694 if vmbuild == 'product' and args.jacocout is not None: | 692 if vmbuild == 'product' and args.jacocout is not None: |
695 global _jacoco | |
696 _jacoco = 'off' | 693 _jacoco = 'off' |
697 | 694 |
698 for test in sanitycheck.getDacapos(level=sanitycheck.SanityCheckLevel.Gate, gateBuildLevel=vmbuild): | 695 for test in sanitycheck.getDacapos(level=sanitycheck.SanityCheckLevel.Gate, gateBuildLevel=vmbuild): |
699 t = Task(str(test) + ':' + vmbuild) | 696 t = Task(str(test) + ':' + vmbuild) |
700 if not test.test('graal'): | 697 if not test.test('graal'): |