Mercurial > hg > truffle
diff mx/mx_graal.py @ 19168: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 |
line wrap: on
line diff
--- a/mx/mx_graal.py Fri Feb 06 12:11:22 2015 +0100 +++ b/mx/mx_graal.py Fri Feb 06 12:17:20 2015 +0100 @@ -1481,17 +1481,24 @@ vm(vmargs) def _basic_gate_body(args, tasks): - with Task('BuildHotSpotGraal: fastdebug,product', tasks): - buildvms(['--vms', 'graal,server', '--builds', 'fastdebug,product']) + # Build server-hosted-graal now so we can run the unit tests + with Task('BuildHotSpotGraalHosted: product', tasks): + buildvms(['--vms', 'server', '--builds', 'product']) - with VM('server', 'product'): # hosted mode + # Run unit tests on server-hosted-graal + with VM('server', 'product'): with Task('UnitTests:hosted-product', tasks): unittest(['--enable-timing', '--verbose', '--fail-fast']) - with VM('server', 'product'): # hosted mode + # Run baseline unit tests on server-hosted-graal + with VM('server', 'product'): with Task('UnitTests-BaselineCompiler:hosted-product', tasks): unittest(['--enable-timing', '--verbose', '--whitelist', 'test/whitelist_baseline.txt', '-G:+UseBaselineCompiler']) + # Build the other VM flavors + with Task('BuildHotSpotGraalOthers: fastdebug,product', tasks): + buildvms(['--vms', 'graal,server', '--builds', 'fastdebug,product']) + with VM('graal', 'fastdebug'): with Task('BootstrapWithSystemAssertions:fastdebug', tasks): vm(['-esa', '-XX:-TieredCompilation', '-version'])