mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-12 04:43:48 +00:00
![Rui Ueyama](/assets/img/avatar_default.png)
I don't understand why the previous code is pretty flaky and the new code is at least less flaky, but the original test occasionally failed on the second run of lib.exe. My guess was that lib.exe was failing because the output of the echo command executed immediately before lib.exe was not flushed to a file, but as far as I can say, the file descriptor is properly closed in TestRunner.py, so this's probably not correct. Other theory is that, on Windows, file output is not guaranteed to be visible to other processes even if a process flushes file descriptors, but I'd think that's unlikely. So honestly I don't know the cause yet. llvm-svn: 246621