OSDN Git Service

Make compiler-related gtests honor ART_USE_OPTIMIZING_COMPILER.
authorRoland Levillain <rpl@google.com>
Tue, 30 Jun 2015 13:16:48 +0000 (14:16 +0100)
committerRoland Levillain <rpl@google.com>
Tue, 30 Jun 2015 13:16:48 +0000 (14:16 +0100)
commitbbcc01a5a38d28c221c05788e56473a287f57589
treebc3f3ad22ee78ddf92fb3ff2344aa9197c2c1d6c
parent3b0667c1d68ba88c71b031757b757dca659afd69
Make compiler-related gtests honor ART_USE_OPTIMIZING_COMPILER.

Previously, gtests using the art::CommonCompilerTest
class were using Quick as compiler.  Now, setting the
environment variable ART_USE_OPTIMIZING_COMPILER to `true`
before building and running these tests will use Optimizing
instead.

Change-Id: I724a3215d2eb1841089745fbabb5cb58b0422ef3
compiler/common_compiler_test.cc
compiler/common_compiler_test.h
compiler/driver/compiler_driver.h
compiler/image_test.cc