comparison mx/mx_graal.py @ 19162:32c7a5a88523

Run unit tests even earlier during gate
author Doug Simon <doug.simon@oracle.com>
date Fri, 06 Feb 2015 12:17:20 +0100
parents d4f80cf249d0
children 8cd798884d60
comparison
equal deleted inserted replaced
19161:ce23018b970a 19162:32c7a5a88523
1479 else: 1479 else:
1480 vmargs += ['-Xbootclasspath/p:' + jar] 1480 vmargs += ['-Xbootclasspath/p:' + jar]
1481 vm(vmargs) 1481 vm(vmargs)
1482 1482
1483 def _basic_gate_body(args, tasks): 1483 def _basic_gate_body(args, tasks):
1484 with Task('BuildHotSpotGraal: fastdebug,product', tasks): 1484 # Build server-hosted-graal now so we can run the unit tests
1485 buildvms(['--vms', 'graal,server', '--builds', 'fastdebug,product']) 1485 with Task('BuildHotSpotGraalHosted: product', tasks):
1486 1486 buildvms(['--vms', 'server', '--builds', 'product'])
1487 with VM('server', 'product'): # hosted mode 1487
1488 # Run unit tests on server-hosted-graal
1489 with VM('server', 'product'):
1488 with Task('UnitTests:hosted-product', tasks): 1490 with Task('UnitTests:hosted-product', tasks):
1489 unittest(['--enable-timing', '--verbose', '--fail-fast']) 1491 unittest(['--enable-timing', '--verbose', '--fail-fast'])
1490 1492
1491 with VM('server', 'product'): # hosted mode 1493 # Run baseline unit tests on server-hosted-graal
1494 with VM('server', 'product'):
1492 with Task('UnitTests-BaselineCompiler:hosted-product', tasks): 1495 with Task('UnitTests-BaselineCompiler:hosted-product', tasks):
1493 unittest(['--enable-timing', '--verbose', '--whitelist', 'test/whitelist_baseline.txt', '-G:+UseBaselineCompiler']) 1496 unittest(['--enable-timing', '--verbose', '--whitelist', 'test/whitelist_baseline.txt', '-G:+UseBaselineCompiler'])
1497
1498 # Build the other VM flavors
1499 with Task('BuildHotSpotGraalOthers: fastdebug,product', tasks):
1500 buildvms(['--vms', 'graal,server', '--builds', 'fastdebug,product'])
1494 1501
1495 with VM('graal', 'fastdebug'): 1502 with VM('graal', 'fastdebug'):
1496 with Task('BootstrapWithSystemAssertions:fastdebug', tasks): 1503 with Task('BootstrapWithSystemAssertions:fastdebug', tasks):
1497 vm(['-esa', '-XX:-TieredCompilation', '-version']) 1504 vm(['-esa', '-XX:-TieredCompilation', '-version'])
1498 1505