[Win Python] REGRESSION(r284398): run-api-tests: FileNotFoundError raised: [WinError 2] The system cannot find the file specified WinCairo-64-bit-WKL-Debug-Tests 243185@main https://build.webkit.org/#/builders/32/builds/1123 Collecting tests ... Looking at ['C:\\BW\\wincairo-wkl-debug-tests\\build\\WebKitBuild\\Debug\\bin64\\ToBeListed.exe', '--gtest_list_tests'] FileNotFoundError raised: [WinError 2] The system cannot find the file specified Traceback (most recent call last): File "C:\BW\wincairo-wkl-debug-tests\build\Tools\Scripts\run-api-tests", line 61, in main return run(port, options, args, stderr) File "C:\BW\wincairo-wkl-debug-tests\build\Tools\Scripts\run-api-tests", line 79, in run result = manager.run(args, json_output=options.json_output) File "C:\BW\wincairo-wkl-debug-tests\build\Tools\Scripts\webkitpy\api_tests\manager.py", line 188, in run test_names = self._collect_tests(args) File "C:\BW\wincairo-wkl-debug-tests\build\Tools\Scripts\webkitpy\api_tests\manager.py", line 113, in _collect_tests output = self.host.executive.run_command( File "C:\BW\wincairo-wkl-debug-tests\build\Tools\Scripts\webkitpy\common\system\executive.py", line 409, in run_command process = self.popen(args, File "C:\BW\wincairo-wkl-debug-tests\build\Tools\Scripts\webkitpy\common\system\executive.py", line 541, in popen result = subprocess.Popen(string_args, env=env, **kwargs) File "C:\tools\python3\lib\subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\tools\python3\lib\subprocess.py", line 1420, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified
On Windows, TestWTF.exe is just a wrapper program loading TestWTFLib.dll. If I just rename TestWTF.exe to ToBeListed.exe, ToBeListed.exe tries to load ToBeListedLib.dll. > .\WebKitBuild\Debug\bin64\ToBeListed.exe --gtest_list_tests ToBeListed can't open. ::LoadLibraryW failed: path=C:\home\webkit\gc\WebKitBuild\Debug\bin64\ToBeListedLib.dll The specified module could not be found.
Created attachment 441942 [details] Patch
Comment on attachment 441942 [details] Patch Clearing flags on attachment: 441942 Committed r284637 (243357@main): <https://commits.webkit.org/243357@main>
All reviewed patches have been landed. Closing bug.
<rdar://problem/84520709>