OSDN Git Service

Fix profman path for the gtest.
authorCalin Juravle <calin@google.com>
Tue, 23 Feb 2016 16:53:30 +0000 (16:53 +0000)
committerCalin Juravle <calin@google.com>
Wed, 24 Feb 2016 10:12:08 +0000 (10:12 +0000)
(cherry picked from commit de4fb63be26cd561111cad4574cac5e0c2314d11)

Change-Id: If710aaf047b6f557abd0cebfe9169c58fcb248a6

profman/profile_assistant_test.cc

index 543be5d..3faa8eb 100644 (file)
@@ -59,11 +59,7 @@ class ProfileAssistantTest : public CommonRuntimeTest {
     // Runs test with given arguments.
   int ProcessProfiles(const std::vector<int>& profiles_fd, int reference_profile_fd) {
     std::string file_path = GetTestAndroidRoot();
-    if (IsHost()) {
-      file_path += "/bin/profman";
-    } else {
-      file_path += "/xbin/profman";
-    }
+    file_path += "/bin/profman";
     if (kIsDebugBuild) {
       file_path += "d";
     }