From bbcc01a5a38d28c221c05788e56473a287f57589 Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Tue, 30 Jun 2015 14:16:48 +0100 Subject: 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/image_test.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/image_test.cc') 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"); -- cgit v1.2.3-59-g8ed1b