From ee79034d0373d10caa6bc3fe8d64ccded4a34c36 Mon Sep 17 00:00:00 2001 From: gobhardw Date: Tue, 18 Jul 2023 23:39:11 +0530 Subject: [PATCH] Fixing plugin tests from build directory Change-Id: I853e37d21d43cea4de4dcbb8c4feabd88ae81db5 Removed unnecessary check that was causing plugin tests to fail from build directory. Change-Id: I853e37d21d43cea4de4dcbb8c4feabd88ae81db5 --- tests-v2/featuretests/profiler/profiler_gtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests-v2/featuretests/profiler/profiler_gtest.cpp b/tests-v2/featuretests/profiler/profiler_gtest.cpp index 3b9bf01eb7..dc128aef6d 100644 --- a/tests-v2/featuretests/profiler/profiler_gtest.cpp +++ b/tests-v2/featuretests/profiler/profiler_gtest.cpp @@ -1162,7 +1162,7 @@ void PluginTests::RunApplication(const char* app_name, const char* appParams) { unsetenv("LD_PRELOAD"); unsetenv("HWLOC_COMPONENTS"); - std::string app_path = is_installed_path() ? GetRunningPath(running_path) : ""; + std::string app_path = GetRunningPath(running_path); std::stringstream os; os << app_path << binary_path << appParams << " "; os << app_path << test_app_path << app_name;