[Github-comments] [geany/geany] "make check" unittests fail on Windows (#2677)

Jiří Techet notifications at xxxxx
Thu Dec 3 09:31:39 UTC 2020


@eht16 Oh and one more important thing - I think there's a difference when you run a unit test and when you simply open a file in Geany. When you open a file in Geany, ctags parses the buffer from Scintilla we pass to it using MIO_TYPE_MEMORY. But when you run a unit test, I think ctags parses the file using MIO_TYPE_FILE (I haven't actually checked it but I think this is the case). With MIO_TYPE_MEMORY you get completely platform-independent code because it just runs C code that simulates file operations. But when you use MIO_TYPE_FILE, the MIO library delegates the file operations to the corresponding OS calls and the result can differ based on what platform you use and I believe this could be our case.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2677#issuecomment-737780727
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201203/b7708e6d/attachment.htm>


More information about the Github-comments mailing list