summaryrefslogtreecommitdiff
path: root/compiler/linker
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2022-10-13 08:08:28 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2022-10-14 07:48:55 +0000
commit76990bb2404f4b0b73b56f3096e67746c1a5ceb0 (patch)
tree48f58e9feae49055e3bc6bf5d69e695ce147e9b9 /compiler/linker
parent07c7d430d72cdb07b8b5f20b6335fd236aab6fc1 (diff)
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
Diffstat (limited to 'compiler/linker')
-rw-r--r--compiler/linker/output_stream_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/linker/output_stream_test.cc b/compiler/linker/output_stream_test.cc
index f1af4cb8b7..31a8516f9e 100644
--- a/compiler/linker/output_stream_test.cc
+++ b/compiler/linker/output_stream_test.cc
@@ -16,9 +16,9 @@
#include <android-base/logging.h>
+#include "base/common_art_test.h"
#include "base/macros.h"
#include "base/unix_file/fd_file.h"
-#include "common_runtime_test.h"
#include "stream/buffered_output_stream.h"
#include "stream/file_output_stream.h"
#include "stream/vector_output_stream.h"
@@ -26,7 +26,7 @@
namespace art {
namespace linker {
-class OutputStreamTest : public CommonRuntimeTest {
+class OutputStreamTest : public CommonArtTest {
protected:
void CheckOffset(off_t expected) {
off_t actual = output_stream_->Seek(0, kSeekCurrent);