[tools 3/3] testbot/TestLauncher: Report missing side-by-side dll version errors.
Francois Gouget
fgouget at codeweavers.com
Wed Mar 31 06:14:55 CDT 2021
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/src/TestLauncher/TestLauncher.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/testbot/src/TestLauncher/TestLauncher.c b/testbot/src/TestLauncher/TestLauncher.c
index 9f4cdf9f4..5f05aeb77 100644
--- a/testbot/src/TestLauncher/TestLauncher.c
+++ b/testbot/src/TestLauncher/TestLauncher.c
@@ -241,6 +241,14 @@ DWORD RunTest(char *TestExeFileName, char* CommandLine, DWORD TimeOut, DWORD *Pi
*/
if (! CreateProcessA(NULL, CommandLine, NULL, NULL, TRUE, CREATE_DEFAULT_ERROR_MODE, NULL, NULL, &StartupInfo, &ProcessInformation))
{
+ if (GetLastError() == ERROR_SXS_CANT_GEN_ACTCTX)
+ {
+ Skips++;
+ printf("%s.c:0: Tests skipped: Side-by-side dll version not found\n",
+ (*Subtest ? Subtest : "testlauncher"));
+ *Pid = 0;
+ return 0;
+ }
Error("CreateProcess failed (error %lu)\n", GetLastError());
ExitProcess(1);
}
--
2.20.1
More information about the wine-devel
mailing list