Mercurial > hg > truffle
comparison mx/mx_graal.py @ 14877:fdb912b1eb7b
gate: use no tiered to test bootstrap, add scaladacapo-kiama (fastdebug)
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Fri, 28 Mar 2014 15:44:10 +0100 |
parents | e6ce6d9f477f |
children | b7afc71535d3 |
comparison
equal
deleted
inserted
replaced
14876:626b02830dfc | 14877:fdb912b1eb7b |
---|---|
999 buildvms(['--vms', 'graal,server', '--builds', 'fastdebug,product']) | 999 buildvms(['--vms', 'graal,server', '--builds', 'fastdebug,product']) |
1000 tasks.append(t.stop()) | 1000 tasks.append(t.stop()) |
1001 | 1001 |
1002 with VM('graal', 'fastdebug'): | 1002 with VM('graal', 'fastdebug'): |
1003 t = Task('BootstrapWithSystemAssertions:fastdebug') | 1003 t = Task('BootstrapWithSystemAssertions:fastdebug') |
1004 vm(['-esa', '-version']) | 1004 vm(['-esa', '-XX:-TieredCompilation', '-version']) |
1005 tasks.append(t.stop()) | 1005 tasks.append(t.stop()) |
1006 | 1006 |
1007 with VM('graal', 'fastdebug'): | 1007 with VM('graal', 'fastdebug'): |
1008 t = Task('NoTieredBootstrapWithSystemAssertions:fastdebug') | 1008 t = Task('BootstrapWithSystemAssertionsNoCoop:fastdebug') |
1009 vm(['-esa', '-XX:-TieredCompilation', '-version']) | 1009 vm(['-esa', '-XX:-TieredCompilation', '-XX:-UseCompressedOops', '-version']) |
1010 tasks.append(t.stop()) | 1010 tasks.append(t.stop()) |
1011 | 1011 |
1012 with VM('graal', 'product'): | 1012 with VM('graal', 'product'): |
1013 t = Task('BootstrapWithGCVerification:product') | 1013 t = Task('BootstrapWithGCVerification:product') |
1014 out = mx.DuplicateSuppressingStream(['VerifyAfterGC:', 'VerifyBeforeGC:']).write | 1014 out = mx.DuplicateSuppressingStream(['VerifyAfterGC:', 'VerifyBeforeGC:']).write |
1015 vm(['-XX:+UnlockDiagnosticVMOptions', '-XX:+VerifyBeforeGC', '-XX:+VerifyAfterGC', '-version'], out=out) | 1015 vm(['-XX:-TieredCompilation', '-XX:+UnlockDiagnosticVMOptions', '-XX:+VerifyBeforeGC', '-XX:+VerifyAfterGC', '-version'], out=out) |
1016 tasks.append(t.stop()) | 1016 tasks.append(t.stop()) |
1017 | 1017 |
1018 with VM('graal', 'product'): | 1018 with VM('graal', 'product'): |
1019 t = Task('BootstrapWithG1GCVerification:product') | 1019 t = Task('BootstrapWithG1GCVerification:product') |
1020 out = mx.DuplicateSuppressingStream(['VerifyAfterGC:', 'VerifyBeforeGC:']).write | 1020 out = mx.DuplicateSuppressingStream(['VerifyAfterGC:', 'VerifyBeforeGC:']).write |
1021 vm(['-XX:+UnlockDiagnosticVMOptions', '-XX:-UseSerialGC', '-XX:+UseG1GC', '-XX:+VerifyBeforeGC', '-XX:+VerifyAfterGC', '-version'], out=out) | 1021 vm(['-XX:-TieredCompilation', '-XX:+UnlockDiagnosticVMOptions', '-XX:-UseSerialGC', '-XX:+UseG1GC', '-XX:+VerifyBeforeGC', '-XX:+VerifyAfterGC', '-version'], out=out) |
1022 tasks.append(t.stop()) | 1022 tasks.append(t.stop()) |
1023 | 1023 |
1024 with VM('graal', 'product'): | 1024 with VM('graal', 'product'): |
1025 t = Task('BootstrapWithRegisterPressure:product') | 1025 t = Task('BootstrapWithRegisterPressure:product') |
1026 vm(['-G:RegisterPressure=rbx,r11,r10,r14,xmm3,xmm11,xmm14', '-esa', '-version']) | 1026 vm(['-XX:-TieredCompilation', '-G:RegisterPressure=rbx,r11,r10,r14,xmm3,xmm11,xmm14', '-esa', '-version']) |
1027 tasks.append(t.stop()) | 1027 tasks.append(t.stop()) |
1028 | 1028 |
1029 with VM('graal', 'product'): | 1029 with VM('graal', 'product'): |
1030 t = Task('BootstrapWithImmutableCode:product') | 1030 t = Task('BootstrapWithImmutableCode:product') |
1031 vm(['-G:+ImmutableCode', '-G:+VerifyPhases', '-esa', '-version']) | 1031 vm(['-XX:-TieredCompilation', '-G:+ImmutableCode', '-G:+VerifyPhases', '-esa', '-version']) |
1032 tasks.append(t.stop()) | 1032 tasks.append(t.stop()) |
1033 | 1033 |
1034 with VM('server', 'product'): # hosted mode | 1034 with VM('server', 'product'): # hosted mode |
1035 t = Task('UnitTests:hosted-product') | 1035 t = Task('UnitTests:hosted-product') |
1036 unittest([]) | 1036 unittest([]) |
1037 tasks.append(t.stop()) | 1037 tasks.append(t.stop()) |
1038 | 1038 |
1039 for vmbuild in ['fastdebug', 'product']: | 1039 for vmbuild in ['fastdebug', 'product']: |
1040 for test in sanitycheck.getDacapos(level=sanitycheck.SanityCheckLevel.Gate, gateBuildLevel=vmbuild): | 1040 for test in sanitycheck.getDacapos(level=sanitycheck.SanityCheckLevel.Gate, gateBuildLevel=vmbuild) + sanitycheck.getScalaDacapos(level=sanitycheck.SanityCheckLevel.Gate, gateBuildLevel=vmbuild): |
1041 if 'eclipse' in str(test) and mx.java().version >= mx.VersionSpec('1.8'): | |
1042 # DaCapo eclipse doesn't run under JDK8 | |
1043 continue | |
1044 | |
1045 t = Task(str(test) + ':' + vmbuild) | 1041 t = Task(str(test) + ':' + vmbuild) |
1046 if not test.test('graal'): | 1042 if not test.test('graal'): |
1047 t.abort(test.name + ' Failed') | 1043 t.abort(test.name + ' Failed') |
1048 tasks.append(t.stop()) | 1044 tasks.append(t.stop()) |
1049 | 1045 |