diff options
| author | 2015-06-30 14:16:48 +0100 | |
|---|---|---|
| committer | 2015-06-30 14:16:48 +0100 | |
| commit | bbcc01a5a38d28c221c05788e56473a287f57589 (patch) | |
| tree | bc3f3ad22ee78ddf92fb3ff2344aa9197c2c1d6c /compiler/image_test.cc | |
| parent | 3b0667c1d68ba88c71b031757b757dca659afd69 (diff) | |
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
Diffstat (limited to 'compiler/image_test.cc')
| -rw-r--r-- | compiler/image_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/image_test.cc b/compiler/image_test.cc index 772cc80146..7e31a7a08b 100644 --- a/compiler/image_test.cc +++ b/compiler/image_test.cc @@ -45,6 +45,7 @@ class ImageTest : public CommonCompilerTest { }; TEST_F(ImageTest, WriteRead) { + TEST_DISABLED_FOR_NON_PIC_COMPILING_WITH_OPTIMIZING(); // Create a generic location tmp file, to be the base of the .art and .oat temporary files. ScratchFile location; ScratchFile image_location(location, ".art"); |