-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run unit tests in AppVeyor #149
Comments
The unit tests are all running on AppVeyor now, the remaining issues are:
|
I just pulled in the latest zlib-ng, so that should be fixed. LZHAM's memory usage shouldn't be too bad… Does this only happen on AppVeyor, or do you see it locally as well? I'd really like to see a backtrace on one of those crashes, maybe it's possible to set up AppVeyor to print one out… We already only spawn n_processors threads, I don't think decreasing that is a good idea (actually, it should really be at least doubled). This is all in wip/msvc-unit-tests, right? We should merge the changes in to master (except for actually enabling the tests, until they all work). |
Locally as well. If I do Here are the lzham log numbers if you want to see where it fails:
Wouldn't it be possible to set the dictionary size to perhaps 512k through the codec options for the threads test? |
It should be; I didn't actually expose that functionality in the plugin, but I'll do so soon. That said… The current default for Squash is 258 MiB (which is what lzhamtest does on x86). Before we do anything here I'd like to wait to see what happens with richgel999/lzham_codec#14. If the "default" is lowered to something a bit more reasonable, we can avoid special-casing lzham in the unit test. |
I rebased and the tests are completing now, not sure what was causing the issue on AppVeyor then. It looks like the VM has only 2 cores, so it should be able to run the lzham test. It is still failing on my machine with 4 cores though. |
Okay, everything looks good, but I have questions about two commits:
|
|
I just pushed a commit which adds a unit test for strings over 512 bytes long. Should be helpful here. |
Merged all but those two commits, thanks! |
There is a nuget package for glib, so it shouldn't be too hard to get the unit tests running. Getting them to run successfully will, of course, be more work.
The text was updated successfully, but these errors were encountered: