summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-prod (mdb) <android-build-team-robot@google.com>2018-01-17 17:31:00 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-01-17 17:31:00 +0000
commita2a458a4b3c054cf911551d43b96ce4e0a00253e (patch)
tree5270a5fb8a445f4abc73e6b070ff5956307d17ab
parent7b6c0c3b1354c09ccdb4b21648a3ce6dea588301 (diff)
parentda87aab2c608048ec04336db03724eb9d12f91d7 (diff)
downloadextras-android-cts-8.1_r2.tar.gz
Merge "Snap for 4548834 from fa80d4d967670c8f52596d1cb52ca0709688ab04 to oreo-mr1-cts-release" into oreo-mr1-cts-releaseandroid-cts-8.1_r2
-rw-r--r--simpleperf/environment_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/simpleperf/environment_test.cpp b/simpleperf/environment_test.cpp
index 48914674..776f01fe 100644
--- a/simpleperf/environment_test.cpp
+++ b/simpleperf/environment_test.cpp
@@ -39,6 +39,5 @@ TEST(environment, PrepareVdsoFile) {
std::unique_ptr<Dso> dso = Dso::CreateDso(DSO_ELF_FILE, "[vdso]",
sizeof(size_t) == sizeof(uint64_t));
ASSERT_TRUE(dso != nullptr);
- const std::vector<Symbol>& symbols = dso->GetSymbols();
- ASSERT_FALSE(symbols.empty());
+ ASSERT_NE(dso->GetDebugFilePath(), "[vdso]");
}