diff options
author | 2022-10-13 08:08:28 +0000 | |
---|---|---|
committer | 2022-10-14 07:48:55 +0000 | |
commit | 76990bb2404f4b0b73b56f3096e67746c1a5ceb0 (patch) | |
tree | 48f58e9feae49055e3bc6bf5d69e695ce147e9b9 /runtime/base/mutex_test.cc | |
parent | 07c7d430d72cdb07b8b5f20b6335fd236aab6fc1 (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 'runtime/base/mutex_test.cc')
-rw-r--r-- | runtime/base/mutex_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/base/mutex_test.cc b/runtime/base/mutex_test.cc index 7eba50b49c..f524d14c67 100644 --- a/runtime/base/mutex_test.cc +++ b/runtime/base/mutex_test.cc @@ -16,12 +16,12 @@ #include "mutex-inl.h" -#include "common_runtime_test.h" +#include "base/common_art_test.h" #include "thread-current-inl.h" namespace art { -class MutexTest : public CommonRuntimeTest {}; +class MutexTest : public CommonArtTest {}; struct MutexTester { static void AssertDepth(Mutex& mu, uint32_t expected_depth) { |