From dbcf4ffd0934cf10ceb19d0a75245f00038c8648 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 [ROCm/rocprofiler commit: 1c5bf0b96ed738f021b68f7b361cfdb14877d021] --- projects/rocprofiler/plugin/CMakeLists.txt | 4 ++++ .../tests-v2/featuretests/profiler/profiler_gtest.cpp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/projects/rocprofiler/plugin/CMakeLists.txt b/projects/rocprofiler/plugin/CMakeLists.txt index 2d049daad7..8bb8155c1d 100644 --- a/projects/rocprofiler/plugin/CMakeLists.txt +++ b/projects/rocprofiler/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/projects/rocprofiler/tests-v2/featuretests/profiler/profiler_gtest.cpp b/projects/rocprofiler/tests-v2/featuretests/profiler/profiler_gtest.cpp index c8ff773a1b..9808b3875f 100644 --- a/projects/rocprofiler/tests-v2/featuretests/profiler/profiler_gtest.cpp +++ b/projects/rocprofiler/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); } /* * ###################################################