comparison mx/mx_graal.py @ 19160:d4f80cf249d0

Run unittest earlier during gate
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Thu, 05 Feb 2015 15:33:15 -0800
parents c9ef5e8bda3a
children 32c7a5a88523
comparison
equal deleted inserted replaced
19159:3baa63ad1392 19160:d4f80cf249d0
1482 1482
1483 def _basic_gate_body(args, tasks): 1483 def _basic_gate_body(args, tasks):
1484 with Task('BuildHotSpotGraal: fastdebug,product', tasks): 1484 with Task('BuildHotSpotGraal: fastdebug,product', tasks):
1485 buildvms(['--vms', 'graal,server', '--builds', 'fastdebug,product']) 1485 buildvms(['--vms', 'graal,server', '--builds', 'fastdebug,product'])
1486 1486
1487 with VM('server', 'product'): # hosted mode
1488 with Task('UnitTests:hosted-product', tasks):
1489 unittest(['--enable-timing', '--verbose', '--fail-fast'])
1490
1491 with VM('server', 'product'): # hosted mode
1492 with Task('UnitTests-BaselineCompiler:hosted-product', tasks):
1493 unittest(['--enable-timing', '--verbose', '--whitelist', 'test/whitelist_baseline.txt', '-G:+UseBaselineCompiler'])
1494
1487 with VM('graal', 'fastdebug'): 1495 with VM('graal', 'fastdebug'):
1488 with Task('BootstrapWithSystemAssertions:fastdebug', tasks): 1496 with Task('BootstrapWithSystemAssertions:fastdebug', tasks):
1489 vm(['-esa', '-XX:-TieredCompilation', '-version']) 1497 vm(['-esa', '-XX:-TieredCompilation', '-version'])
1490 1498
1491 with VM('graal', 'fastdebug'): 1499 with VM('graal', 'fastdebug'):
1507 vm(['-XX:-TieredCompilation', '-G:RegisterPressure=rbx,r11,r10,r14,xmm3,xmm11,xmm14', '-esa', '-version']) 1515 vm(['-XX:-TieredCompilation', '-G:RegisterPressure=rbx,r11,r10,r14,xmm3,xmm11,xmm14', '-esa', '-version'])
1508 1516
1509 with VM('graal', 'product'): 1517 with VM('graal', 'product'):
1510 with Task('BootstrapWithImmutableCode:product', tasks): 1518 with Task('BootstrapWithImmutableCode:product', tasks):
1511 vm(['-XX:-TieredCompilation', '-G:+ImmutableCode', '-G:+VerifyPhases', '-esa', '-version']) 1519 vm(['-XX:-TieredCompilation', '-G:+ImmutableCode', '-G:+VerifyPhases', '-esa', '-version'])
1512
1513 with VM('server', 'product'): # hosted mode
1514 with Task('UnitTests:hosted-product', tasks):
1515 unittest(['--enable-timing', '--verbose', '--fail-fast'])
1516
1517 with VM('server', 'product'): # hosted mode
1518 with Task('UnitTests-BaselineCompiler:hosted-product', tasks):
1519 unittest(['--enable-timing', '--verbose', '--whitelist', 'test/whitelist_baseline.txt', '-G:+UseBaselineCompiler'])
1520 1520
1521 for vmbuild in ['fastdebug', 'product']: 1521 for vmbuild in ['fastdebug', 'product']:
1522 for test in sanitycheck.getDacapos(level=sanitycheck.SanityCheckLevel.Gate, gateBuildLevel=vmbuild) + sanitycheck.getScalaDacapos(level=sanitycheck.SanityCheckLevel.Gate, gateBuildLevel=vmbuild): 1522 for test in sanitycheck.getDacapos(level=sanitycheck.SanityCheckLevel.Gate, gateBuildLevel=vmbuild) + sanitycheck.getScalaDacapos(level=sanitycheck.SanityCheckLevel.Gate, gateBuildLevel=vmbuild):
1523 with Task(str(test) + ':' + vmbuild, tasks) as t: 1523 with Task(str(test) + ':' + vmbuild, tasks) as t:
1524 if not test.test('graal'): 1524 if not test.test('graal'):