Skip to content

Commit 043b2f1

Browse files
authored
[projmgr] Update test case OutputDirsAbsolutePath
1 parent 3f8f03a commit 043b2f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/projmgr/test/data/TestSolution/outdirs-absolute.csolution.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ solution:
1717
- project: ./TestProject1/test1.cproject.yml
1818

1919
output-dirs:
20-
cprjdir: C:/$Compiler$
20+
cprjdir: \\non_existing_cmsis/$Compiler$
2121
intdir: /$Compiler$
2222
tmpdir: /root

tools/projmgr/test/src/ProjMgrUnitTests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4126,7 +4126,7 @@ TEST_F(ProjMgrUnitTests, OutputDirsAbsolutePath) {
41264126
argv[2] = (char*)"--solution";
41274127
argv[3] = (char*)csolution.c_str();
41284128
argv[4] = (char*)"--cbuildgen";
4129-
EXPECT_EQ(CrossPlatformUtils::GetHostType() == "win" ? 1 : 0, RunProjMgr(5, argv, m_envp));
4129+
EXPECT_EQ(1, RunProjMgr(5, argv, m_envp));
41304130

41314131
auto errStr = streamRedirect.GetErrorString();
41324132
EXPECT_TRUE(regex_search(errStr, regex("warning csolution: absolute path .* is not portable, use relative path instead")));

0 commit comments

Comments
 (0)