https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6a9a7391851495a188e3d…
commit 6a9a7391851495a188e3d04ebe8c8aff64d9ffe2
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Tue Jun 29 09:36:46 2021 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sat Jul 3 12:54:50 2021 +0200
[ROSAUTOTEST] Run tests with current dir set to the test dir
---
modules/rostests/rosautotest/CWineTest.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/rostests/rosautotest/CWineTest.cpp
b/modules/rostests/rosautotest/CWineTest.cpp
index 42442ecb73b..7175f7ec023 100644
--- a/modules/rostests/rosautotest/CWineTest.cpp
+++ b/modules/rostests/rosautotest/CWineTest.cpp
@@ -298,6 +298,8 @@ CWineTest::RunTest(CTestInfo* TestInfo)
ss << "Running Wine Test, Module: " << TestInfo->Module
<< ", Test: " << TestInfo->Test << endl;
StringOut(ss.str());
+ SetCurrentDirectoryW(m_TestPath.c_str());
+
StartTime = GetTickCount();
try