From 76990bb2404f4b0b73b56f3096e67746c1a5ceb0 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 13 Oct 2022 08:08:28 +0000 Subject: ART: Speed up some gtests. Avoid creating `Runtime` or create the `Runtime` with a boot image to make the test setup faster. Test: m test-art-host-gtest Test: run-gtests.sh Change-Id: I3f09de81491402442f1704d25bb06de995d8a3ca --- runtime/entrypoints/math_entrypoints_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/entrypoints/math_entrypoints_test.cc') diff --git a/runtime/entrypoints/math_entrypoints_test.cc b/runtime/entrypoints/math_entrypoints_test.cc index f70a2da2f5..fe61f5dd11 100644 --- a/runtime/entrypoints/math_entrypoints_test.cc +++ b/runtime/entrypoints/math_entrypoints_test.cc @@ -18,11 +18,11 @@ #include -#include "common_runtime_test.h" +#include "base/common_art_test.h" namespace art { -class MathEntrypointsTest : public CommonRuntimeTest {}; +class MathEntrypointsTest : public CommonArtTest {}; TEST_F(MathEntrypointsTest, DoubleToLong) { EXPECT_EQ(std::numeric_limits::max(), art_d2l(1.85e19)); -- cgit v1.2.3-59-g8ed1b