From 6e2e41a3f5c3187dd91d511a9df6cb605609d206 Mon Sep 17 00:00:00 2001 From: Sourabh Mehta <73165318+soumeh01@users.noreply.github.com> Date: Tue, 1 Oct 2024 16:34:41 +0200 Subject: [PATCH] Update ProjMgrUnitTests.cpp --- tools/projmgr/test/src/ProjMgrUnitTests.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/tools/projmgr/test/src/ProjMgrUnitTests.cpp b/tools/projmgr/test/src/ProjMgrUnitTests.cpp index ab9c86849..e14c39db2 100644 --- a/tools/projmgr/test/src/ProjMgrUnitTests.cpp +++ b/tools/projmgr/test/src/ProjMgrUnitTests.cpp @@ -6459,18 +6459,8 @@ TEST_F(ProjMgrUnitTests, RegionsFileGeneration) { testinput_folder + "/TestMemoryRegions/RTE/Device/RteTestDevice_Dual_cm0_core1/regions_RteTestDevice_Dual_cm0_core1.h"); } -TEST_F(ProjMgrUnitTests, MissingFile) { - StdStreamRedirect streamRedirect; - char* argv[3]; - const string& csolution = testinput_folder + "/TestSolution/missing.csolution.yml"; - argv[1] = (char*)"convert"; - argv[2] = (char*)csolution.c_str(); - EXPECT_EQ(1, RunProjMgr(3, argv, m_envp)); - const string expectedOutStr = ".*/missing.cproject.yml:7:11 - error csolution: file '.*/TestSolution/missing.c' was not found"; - EXPECT_TRUE(regex_search(streamRedirect.GetErrorString(), regex(expectedOutStr))); -} -TEST_F(ProjMgrUnitTests, MissingFile_test) { +TEST_F(ProjMgrUnitTests, MissingFile) { StdStreamRedirect streamRedirect; char* argv[3]; const string& csolution = testinput_folder + "/TestSolution/missing.csolution.yml"; @@ -6480,4 +6470,3 @@ TEST_F(ProjMgrUnitTests, MissingFile_test) { const string expectedOutStr = ".*/missing.cproject.yml:7:11 - error csolution: file '.*/TestSolution/missing.c' was not found"; EXPECT_TRUE(regex_search(streamRedirect.GetErrorString(), regex(expectedOutStr))); } -