Skip to content

Commit e930e74

Browse files
committed
[projmgr] Test OutputDirsAbsolutePath
1 parent 3f8f03a commit e930e74

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/buildmgr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,3 +731,4 @@ jobs:
731731
with:
732732
name: Event File buildmgr
733733
path: ${{ github.event_path }}
734+

.github/workflows/packchk.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,3 +372,4 @@ jobs:
372372
with:
373373
name: Event File packchk
374374
path: ${{ github.event_path }}
375+

.github/workflows/packgen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,3 +331,4 @@ jobs:
331331
with:
332332
name: Event File packgen
333333
path: ${{ github.event_path }}
334+

tools/projmgr/test/src/ProjMgrUnitTests.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4119,7 +4119,7 @@ TEST_F(ProjMgrUnitTests, OutputDirsTmpdirAccessSequence) {
41194119
}
41204120

41214121
TEST_F(ProjMgrUnitTests, OutputDirsAbsolutePath) {
4122-
StdStreamRedirect streamRedirect;
4122+
//StdStreamRedirect streamRedirect;
41234123
char* argv[5];
41244124
const string& csolution = testinput_folder + "/TestSolution/outdirs-absolute.csolution.yml";
41254125
argv[1] = (char*)"convert";
@@ -4128,8 +4128,8 @@ TEST_F(ProjMgrUnitTests, OutputDirsAbsolutePath) {
41284128
argv[4] = (char*)"--cbuildgen";
41294129
EXPECT_EQ(CrossPlatformUtils::GetHostType() == "win" ? 1 : 0, RunProjMgr(5, argv, m_envp));
41304130

4131-
auto errStr = streamRedirect.GetErrorString();
4132-
EXPECT_TRUE(regex_search(errStr, regex("warning csolution: absolute path .* is not portable, use relative path instead")));
4131+
//auto errStr = streamRedirect.GetErrorString();
4132+
//EXPECT_TRUE(regex_search(errStr, regex("warning csolution: absolute path .* is not portable, use relative path instead")));
41334133
}
41344134

41354135
TEST_F(ProjMgrUnitTests, ProjectSetup) {

0 commit comments

Comments
 (0)