From 1c5bf0b96ed738f021b68f7b361cfdb14877d021 Mon Sep 17 00:00:00 2001 From: Giovanni LB Date: Mon, 18 Dec 2023 13:04:34 -0300 Subject: [PATCH] SWDEV-437442: Re-enable CTF plugin Change-Id: I290c6504c76b715c6d3bdfd2da6d7e5656cf8dfe --- plugin/CMakeLists.txt | 4 ++++ tests-v2/featuretests/profiler/profiler_gtest.cpp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/plugin/CMakeLists.txt b/plugin/CMakeLists.txt index 2d049daad7..8bb8155c1d 100644 --- a/plugin/CMakeLists.txt +++ b/plugin/CMakeLists.txt @@ -35,3 +35,7 @@ endif() if(ROCPROFILER_BUILD_PLUGIN_ATT) add_subdirectory(att) endif() + +if(ROCPROFILER_BUILD_PLUGIN_CTF) + add_subdirectory(ctf) +endif() diff --git a/tests-v2/featuretests/profiler/profiler_gtest.cpp b/tests-v2/featuretests/profiler/profiler_gtest.cpp index c8ff773a1b..9808b3875f 100644 --- a/tests-v2/featuretests/profiler/profiler_gtest.cpp +++ b/tests-v2/featuretests/profiler/profiler_gtest.cpp @@ -1347,7 +1347,7 @@ class VectorAddCTFTest : public CTFPluginTest { bool hasFile() { return hasMetadataInDir("/tmp/tests-v2/ctf/"); } }; -TEST_F(VectorAddCTFTest, DISABLED_WhenRunningProfilerWithCTFTest) { EXPECT_EQ(hasFile(), true); } +TEST_F(VectorAddCTFTest, WhenRunningProfilerWithCTFTest) { EXPECT_EQ(hasFile(), true); } class VectorAddCTFMPITest : public CTFPluginTest { protected: @@ -1362,7 +1362,7 @@ class VectorAddCTFMPITest : public CTFPluginTest { bool hasFile() { return hasMetadataInDir("/tmp/tests-v2/ctf_7/"); } }; -TEST_F(VectorAddCTFMPITest, DISABLED_WhenRunningProfilerWithCTFTest) { EXPECT_EQ(hasFile(), true); } +TEST_F(VectorAddCTFMPITest, WhenRunningProfilerWithCTFTest) { EXPECT_EQ(hasFile(), true); } /* * ###################################################